public class SequentialGoalPlanBody extends jade.core.behaviours.Behaviour implements PlanBody, OutputPlanBody
| Constructor and Description |
|---|
SequentialGoalPlanBody()
Created a new SequentialGoalPlan.
|
| Modifier and Type | Method and Description |
|---|---|
void |
action() |
boolean |
done() |
PlanInstance.EndState |
getEndState()
Returns the end state of the execution of this plan.
|
void |
init(PlanInstance planInstance)
Initializes this plan.
|
void |
setGoalOutput(Goal goal)
Sets the output parameters in the goal.
|
public SequentialGoalPlanBody()
public void action()
action in class jade.core.behaviours.BehaviourBehaviour.action()public boolean done()
done in class jade.core.behaviours.BehaviourBehaviour.done()public PlanInstance.EndState getEndState()
PlanBodygetEndState in interface PlanBodyPlanBody.getEndState()public void init(PlanInstance planInstance)
public void setGoalOutput(Goal goal)
OutputPlanBodysetGoalOutput in interface OutputPlanBodygoal - the goal whose output parameters are to be set.OutputPlanBody.setGoalOutput(bdi4jade.goal.Goal)