|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsema.Agent.Action
modelling.CommunicatingAgent.Discussion
Action of discuting. The action is paused when the agent waits an answer.
The fonction hear resumes then the discussion.
| Field Summary | |
protected Element |
partenar
|
| Constructor Summary | |
CommunicatingAgent.Discussion(Element partenar)
Corresponds to a discussion with one unique element. |
|
| Method Summary | |
float |
resumeStep()
Delates the action of the time to answer. |
float |
step()
Body of the action. |
| Methods inherited from class sema.Agent.Action |
close, firstStep, hasBegun, isDisabled, isPaused, pause, pause, resume, resumedStep, start, start, stop, whenEnd, whenPaused, whenRefused, whenStartInPause, whenStopped |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Element partenar
| Constructor Detail |
public CommunicatingAgent.Discussion(Element partenar)
| Method Detail |
public float step()
Agent.ActionTypically, a moving agent that is walking would make a step towards a direction then another, and theses steps would be differents calls to step(). Internal variables should be stocked in the action to allow a good step by step execution.
step in class Agent.Actionpublic float resumeStep()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||