public class AntHillExample extends Amas<WorldExample>
Amas.ExecutionPolicyagents, cycle, environment, paramsDEFAULT_SLEEP| Constructor and Description |
|---|
AntHillExample(WorldExample env) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInitialAgentsCreation()
This method should be overridden, the agents should be created in this method
|
protected void |
onInitialConfiguration()
This method is called at the very beginning of the amas creation.
|
protected void |
onRenderingInitialization()
The method in which the rendering initialization should be made.
|
protected void |
onSystemCycleEnd()
This method is called when all agents have executed a cycle
|
_addAgent, _removeAgent, cycle, getAgents, getCycle, getDecisionAndActionPhasesSemaphore, getEnvironment, getExecutionPolicy, getPerceptionPhaseSemaphore, getScheduler, informThatAgentDecisionAndActionAreFinished, informThatAgentPerceptionIsFinished, onReady, onSchedulingStarts, onSchedulingStops, onSystemCycleBegin, onUpdateRender, start, stopConditionpublic AntHillExample(WorldExample env)
protected void onInitialConfiguration()
AmasonInitialConfiguration in class Amas<WorldExample>protected void onRenderingInitialization()
AmasVUIonRenderingInitialization in class Amas<WorldExample>protected void onInitialAgentsCreation()
AmasonInitialAgentsCreation in class Amas<WorldExample>protected void onSystemCycleEnd()
AmasonSystemCycleEnd in class Amas<WorldExample>