Package jadex.bdi.examples.blocksworld
Class StackBlocksPlan
- java.lang.Object
-
- jadex.bdiv3x.runtime.Plan
-
- jadex.bdi.examples.blocksworld.StackBlocksPlan
-
public class StackBlocksPlan extends Plan
Stack a block on top of another.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.Plan
Plan.PlanWaitAbstraction
-
-
Field Summary
Fields Modifier and Type Field Description protected Block
block
The block to be moved.protected java.lang.String
mode
The execution mode.static java.lang.String
MODE_NORMAL
The normal execution mode.static java.lang.String
MODE_SLOW
The slow execution mode.static java.lang.String
MODE_STEP
The step execution mode.protected boolean
quiet
The quiet flag (do not printout messages).protected Block
target
The block on to which to put the other block.
-
Constructor Summary
Constructors Constructor Description StackBlocksPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
The plan body.-
Methods inherited from class jadex.bdiv3x.runtime.Plan
aborted, checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, failed, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
-
-
-
-
Field Detail
-
MODE_NORMAL
public static final java.lang.String MODE_NORMAL
The normal execution mode.- See Also:
- Constant Field Values
-
MODE_SLOW
public static final java.lang.String MODE_SLOW
The slow execution mode.- See Also:
- Constant Field Values
-
MODE_STEP
public static final java.lang.String MODE_STEP
The step execution mode.- See Also:
- Constant Field Values
-
block
protected Block block
The block to be moved.
-
target
protected Block target
The block on to which to put the other block.
-
mode
protected java.lang.String mode
The execution mode.
-
quiet
protected boolean quiet
The quiet flag (do not printout messages).
-
-