|
|||||||||
| 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 |
| 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,
block,
block,
done,
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 SimpleBehaviour()
public SimpleBehaviour(Agent a)
a - The agent this behaviour belongs to.| Method Detail |
public void reset()
SimpleBehaviour. This method does nothing,
but concrete subclasses can override it with specific code to put
an object back into its starting state.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||