public SearchProblem(IGoalTest <S> goalTest, IStepCostFunction <A, S, C> stepCost, ISuccessorFunction <A, S> successor, IHeuristicFunction <S, C> heuristicFn) { this.goalTest = goalTest; this.stepCost = stepCost; this.successorFn = successor; this.heuristicFn = heuristicFn; }
public SearchProblem(IGoalTest <S> goalTest, IStepCostFunction <A, S, C> stepCost, ISuccessorFunction <A, S> successor) : this(goalTest, stepCost, successor, null) { }