Adding an implementation for IHeuristicFunction