public class ThreadTest.MyAgent extends Agent<ThreadTest.MyAMAS,ThreadTest.MyEnvironment>
Agent.Phase
amas, 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, toString
public MyAgent(ThreadTest.MyAMAS amas, java.lang.Object... params)
protected void onPerceive()
Agent
onPerceive
in class Agent<ThreadTest.MyAMAS,ThreadTest.MyEnvironment>
protected void onAct()
Agent
onAct
in class Agent<ThreadTest.MyAMAS,ThreadTest.MyEnvironment>