public class ThreadTest.MyAgent extends Agent<ThreadTest.MyAMAS,ThreadTest.MyEnvironment>
Agent.Phaseamas, criticalities, currentPhase, neighborhood, params| Constructor and Description |
|---|
MyAgent(ThreadTest.MyAMAS amas,
java.lang.Object... params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onAct()
This method corresponds to the action phase of the agents and must be
overridden
|
protected void |
onPerceive()
This method corresponds to the perception phase of the agents and must be
overridden
|
_computeExecutionOrder, _onBeforeReady, addNeighbor, computeCriticality, computeExecutionOrderLayer, destroy, getAmas, getCurrentPhase, getEnvironment, getExecutionOrder, getId, getMostCriticalNeighbor, isSynchronous, onAgentCycleBegin, onAgentCycleEnd, onDecide, onDecideAndAct, onDraw, onePhaseCycle, onExpose, onInitialization, onInitialize, onReady, onRenderingInitialization, onSystemCycleBegin, onSystemCycleEnd, onUpdateRender, phase1, phase2, run, setAsynchronous, toStringpublic MyAgent(ThreadTest.MyAMAS amas, java.lang.Object... params)
protected void onPerceive()
AgentonPerceive in class Agent<ThreadTest.MyAMAS,ThreadTest.MyEnvironment>protected void onAct()
AgentonAct in class Agent<ThreadTest.MyAMAS,ThreadTest.MyEnvironment>