public class BreadthFirstSearchPlan extends SearchPlan implements Cloneable
Modifier | Constructor and Description |
---|---|
|
BreadthFirstSearchPlan()
Creates a new instance of BreadthFirstSearchPlan
|
protected |
BreadthFirstSearchPlan(SearchWorldState state)
Creates a new instance of BreadthFirstSearchPlan that includes the ending world state
|
protected |
BreadthFirstSearchPlan(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 BreadthFirstSearchPlan()
protected BreadthFirstSearchPlan(SearchWorldState state)
state
- world state upon the completion of all steps in the planprotected BreadthFirstSearchPlan(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