public class BestFirstSearchPlan extends SearchPlan implements Cloneable
Modifier | Constructor and Description |
---|---|
|
BestFirstSearchPlan()
Creates a new instance of BestFirstSearchPlan
|
protected |
BestFirstSearchPlan(SearchWorldState state)
Creates a new instance of BestFirstSearchPlan that includes the ending world state
|
protected |
BestFirstSearchPlan(SearchWorldState state,
WorldState goal)
Creates a new instance of Plan that includes the ending world state
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a deep copy of the route, implements Cloneable
|
generateAvclScript, getTravelDistance, getTravelDistance
addStep, addStep, clearSteps, compareTo, cost, distanceEstimate, evaluate, getEvaluation, getStep, increment, match, numSteps, possibleSteps, removeStep, setEndState, toString
public BestFirstSearchPlan()
protected BestFirstSearchPlan(SearchWorldState state)
state
- world state upon the completion of all steps in the planprotected BestFirstSearchPlan(SearchWorldState state, WorldState goal)
state
- world state upon the completion of all steps in the plangoal
- desired world state upon completion of the planpublic Object clone()
clone
in class SearchPlan