|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.OneShotBehaviour
jade.proto.states.StateResetter
public class StateResetter
This behaviour is used as a state of a FSMbehavior in order to reset some of the FSM's states or the whole FSM
| Field Summary |
|---|
| Fields inherited from class jade.core.behaviours.Behaviour |
|---|
myAgent |
| Constructor Summary | |
|---|---|
StateResetter()
Constructor. |
|
StateResetter(java.lang.String[] states)
Constructor. |
|
| Method Summary | |
|---|---|
void |
action()
Runs the behaviour. |
| Methods inherited from class jade.core.behaviours.OneShotBehaviour |
|---|
done |
| Methods inherited from class jade.core.behaviours.SimpleBehaviour |
|---|
reset |
| Methods inherited from class jade.core.behaviours.Behaviour |
|---|
block, block, getBehaviourName, getDataStore, getParent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateResetter(java.lang.String[] states)
states - Represent the names of FSM's to reset.
If null the parent Behaviour is resettedpublic StateResetter()
| Method Detail |
|---|
public void action()
BehaviourBehavioursubclasses to perform ordinary behaviour
duty. An agent schedules its behaviours calling their
action() method; since all the behaviours belonging
to the same agent are scheduled cooperatively, this method
must not enter in an endless loop and should return as
soon as possible to preserve agent responsiveness. To split a
long and slow task into smaller section, recursive behaviour
aggregation may be used.
action in class BehaviourCompositeBehaviour
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||