aima.search.framework
Class Problem
java.lang.Object
aima.search.framework.Problem
- Direct Known Subclasses:
- BidirectionalMapProblem
public class Problem
- extends java.lang.Object
Artificial Intelligence A Modern Approach (2nd Edition): page 62.
A problem can be defined formally by four components: 1) Initial State. 2)
Successor Function. 3) Goal Test. 4) Path Cost.
Constructor Summary |
protected |
Problem()
|
|
Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest)
|
|
Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest,
HeuristicFunction heuristicFunction)
|
|
Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest,
StepCostFunction stepCostFunction)
|
|
Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest,
StepCostFunction stepCostFunction,
HeuristicFunction heuristicFunction)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialState
protected java.lang.Object initialState
successorFunction
protected SuccessorFunction successorFunction
goalTest
protected GoalTest goalTest
stepCostFunction
protected StepCostFunction stepCostFunction
heuristicFunction
protected HeuristicFunction heuristicFunction
Problem
protected Problem()
Problem
public Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest)
Problem
public Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest,
StepCostFunction stepCostFunction)
Problem
public Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest,
HeuristicFunction heuristicFunction)
Problem
public Problem(java.lang.Object initialState,
SuccessorFunction successorFunction,
GoalTest goalTest,
StepCostFunction stepCostFunction,
HeuristicFunction heuristicFunction)
getInitialState
public java.lang.Object getInitialState()
isGoalState
public boolean isGoalState(java.lang.Object state)
getStepCostFunction
public StepCostFunction getStepCostFunction()
getSuccessorFunction
public SuccessorFunction getSuccessorFunction()
getHeuristicFunction
public HeuristicFunction getHeuristicFunction()