|
|||||||||
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
An atomic behaviour. This abstract class models behaviours that are made by a single, monolithic task and cannot be interrupted.
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,
STATE_BLOCKED,
STATE_READY,
STATE_RUNNING |
Constructor Summary | |
SimpleBehaviour()
Default constructor. |
|
SimpleBehaviour(Agent a)
This constructor sets the owner agent for this behaviour. |
Method Summary | |
void |
reset()
Resets a SimpleBehaviour . |
Methods inherited from class jade.core.behaviours.Behaviour |
action,
actionWrapper,
block,
block,
done,
getBehaviourName,
getDataStore,
handle,
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 SimpleBehaviour()
public SimpleBehaviour(Agent a)
a
- The agent this behaviour belongs to.Method Detail |
public void reset()
SimpleBehaviour
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |