public class SelfPruningPlanner extends Planner
Constructor and Description |
---|
SelfPruningPlanner(int pruningFactor)
Creates a new instance of Planner
|
SelfPruningPlanner(WorldState start,
WorldState goal,
int pruningFactor)
Creates a new instance of Planner
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Implements the Runnable interface
|
addToAgenda, clearAgenda, getGoal, getPlan, getRunTime, goalAchievable, goalAchieved, isPlanReady, reset, reset, reset, setDie, setRunTime
public SelfPruningPlanner(int pruningFactor)
pruningFactor
- the number of iterations after which the agenda will be clearedpublic SelfPruningPlanner(WorldState start, WorldState goal, int pruningFactor)
start
- world state when planning commences (must completely define)goal
- desired world state following plan execution (not necessarily complete world description)pruningFactor
- the number of iterations after which the agenda will be cleared