public class AntHillExample extends Amas<WorldExample>
Amas.ExecutionPolicy
agents, cycle, environment, params
DEFAULT_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, stopCondition
public AntHillExample(WorldExample env)
protected void onInitialConfiguration()
Amas
onInitialConfiguration
in class Amas<WorldExample>
protected void onRenderingInitialization()
Amas
VUI
onRenderingInitialization
in class Amas<WorldExample>
protected void onInitialAgentsCreation()
Amas
onInitialAgentsCreation
in class Amas<WorldExample>
protected void onSystemCycleEnd()
Amas
onSystemCycleEnd
in class Amas<WorldExample>