public class PhilosophersAMASExample extends Amas<TableExample>
Amas.ExecutionPolicy
agents, cycle, environment, params
DEFAULT_SLEEP
Constructor and Description |
---|
PhilosophersAMASExample(TableExample 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 |
onSystemCycleBegin()
This method is called before all agents have executed a cycle
|
_addAgent, _removeAgent, cycle, getAgents, getCycle, getDecisionAndActionPhasesSemaphore, getEnvironment, getExecutionPolicy, getPerceptionPhaseSemaphore, getScheduler, informThatAgentDecisionAndActionAreFinished, informThatAgentPerceptionIsFinished, onReady, onRenderingInitialization, onSchedulingStarts, onSchedulingStops, onSystemCycleEnd, onUpdateRender, start, stopCondition
public PhilosophersAMASExample(TableExample env)
protected void onInitialConfiguration()
Amas
onInitialConfiguration
in class Amas<TableExample>
protected void onInitialAgentsCreation()
Amas
onInitialAgentsCreation
in class Amas<TableExample>
protected void onSystemCycleBegin()
Amas
onSystemCycleBegin
in class Amas<TableExample>