public Problem(Object initialState, SuccessorFunction successorFunction, GoalTest goalTest, StepCostFunction stepCostFunction, HeuristicFunction heuristicFunction) : this(initialState, successorFunction, goalTest, stepCostFunction) { this.heuristicFunction = heuristicFunction; }
public Problem(Object initialState, SuccessorFunction successorFunction, GoalTest goalTest) { this.initialState = initialState; this.successorFunction = successorFunction; this.goalTest = goalTest; this.stepCostFunction = new DefaultStepCostFunction(); this.heuristicFunction = new DefaultHeuristicFunction(); }
public Problem(Object initialState, SuccessorFunction successorFunction, GoalTest goalTest, StepCostFunction stepCostFunction) : this(initialState, successorFunction, goalTest) { this.stepCostFunction = stepCostFunction; }