|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jade.core.behaviours.Behaviour
|
+--jade.core.behaviours.SimpleBehaviour
|
+--jade.core.behaviours.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).
| Inner classes inherited from class jade.core.behaviours.Behaviour |
Behaviour.RunnableChangedEvent |
| Fields inherited from class jade.core.behaviours.Behaviour |
myAgent,
myEvent,
NOTIFY_DOWN,
NOTIFY_UP,
parent |
| 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,
handle,
isRunnable,
restart,
root |
| 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.false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||