|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectOneShotBehaviour
teamSpace.agent.CheckForActionsBehaviour
This behaviour is a behaviour (state) in the FSMBehaviour
(final-state-machine) described by
the class TeamSpacePSBehaviour
. In this state one finds out if there are any actions or PSMs
that are ready to execute. If there are one or more actions and/or one or more PSMs the state transits to
the behaviour (state) HandleActionsBehaviour
, else the problem solving process is over and the state
transits to the behaviour (state) EndProblemSolvingBehaviour
.
Constructor Summary | |
CheckForActionsBehaviour(Agent a,
java.lang.String teamID)
The constructor calls the super-constructor |
Method Summary | |
void |
action()
The method checks if there are any actions or PSMs that are ready to be executed or composed. |
int |
onEnd()
The method resets this behaviour and returns the transition (for the FSM) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CheckForActionsBehaviour(Agent a, java.lang.String teamID)
a
- The agent which is the owner of this behaviourMethod Detail |
public void action()
public int onEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |