|
||||||||||
| 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.CyclicBehaviour
public abstract class CyclicBehaviour
Atomic behaviour that must be executed forever. This abstract class can be extended by application programmers to create behaviours that keep executing continuously (e.g. simple reactive behaviours).
| Field Summary |
|---|
| Fields inherited from class jade.core.behaviours.Behaviour |
|---|
myAgent |
| Constructor Summary | |
|---|---|
CyclicBehaviour()
Default constructor. |
|
CyclicBehaviour(Agent a)
This constructor sets the owner agent for this CyclicBehaviour. |
|
| Method Summary | |
|---|---|
boolean |
done()
This is the method that makes CyclicBehaviour
cyclic, because it always returns false. |
| Methods inherited from class jade.core.behaviours.SimpleBehaviour |
|---|
reset |
| Methods inherited from class jade.core.behaviours.Behaviour |
|---|
action, 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 CyclicBehaviour()
public CyclicBehaviour(Agent a)
CyclicBehaviour.
a - The agent this behaviour must belong to.| Method Detail |
|---|
public final boolean done()
CyclicBehaviour
cyclic, because it always returns false.
done in class Behaviourfalse.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||