public class TopLevelPlanBody extends BeliefGoalPlanBody
| Constructor and Description |
|---|
TopLevelPlanBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
This method is a placeholder for subclasses that should implement the set
of steps needed to achieve this plan body goal.
|
void |
init()
This method is a placeholder for subclasses.
|
int |
onEnd()
This method is invoked just once after this behaviour has ended.
|
void |
setValue(java.util.Set<On> target)
This method sets the target block configuration to be achieved.
|
action, getOutputBelief, isGoalAchieved, onStartdispatchGoal, dispatchSubgoal, dispatchSubgoalAndListen, done, getBeliefBase, getCapability, getEndState, getGoal, getGoalEvent, getGoalEvent, getGoalEvent, getPlan, goalPerformed, init, setEndState, start, stopactionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, reset, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionStatepublic void execute()
BeliefGoalPlanBodyexecute in class BeliefGoalPlanBodypublic int onEnd()
PlanBodypublic void init()
BeliefGoalPlanBodyBeliefGoalPlanBody.onStart() method, after it performs some pre-processing.init in class BeliefGoalPlanBody@Parameter(direction=IN, mandatory=true) public void setValue(java.util.Set<On> target)
On values, and the method organize
these values in the order in which they should be stacked, from table to
top. This organized configuration is set in the target array of this plan
body.target - the target to set.