public class ThreadTest.MyAMAS extends Amas<ThreadTest.MyEnvironment>
Amas.ExecutionPolicyagents, cycle, environment, paramsDEFAULT_SLEEP| Constructor and Description |
|---|
MyAMAS(ThreadTest.MyEnvironment environment,
Scheduling scheduling,
java.lang.Object... params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInitialAgentsCreation()
This method should be overridden, the agents should be created in this method
|
boolean |
stopCondition()
This method allows the system to stop the scheduler on certain conditions
|
_addAgent, _removeAgent, cycle, getAgents, getCycle, getDecisionAndActionPhasesSemaphore, getEnvironment, getExecutionPolicy, getPerceptionPhaseSemaphore, getScheduler, informThatAgentDecisionAndActionAreFinished, informThatAgentPerceptionIsFinished, onInitialConfiguration, onReady, onRenderingInitialization, onSchedulingStarts, onSchedulingStops, onSystemCycleBegin, onSystemCycleEnd, onUpdateRender, startpublic MyAMAS(ThreadTest.MyEnvironment environment, Scheduling scheduling, java.lang.Object... params)
protected void onInitialAgentsCreation()
AmasonInitialAgentsCreation in class Amas<ThreadTest.MyEnvironment>public boolean stopCondition()
AmasstopCondition in interface SchedulablestopCondition in class Amas<ThreadTest.MyEnvironment>