public class PhilosophersAMASExample extends Amas<TableExample>
Amas.ExecutionPolicyagents, cycle, environment, paramsDEFAULT_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, stopConditionpublic PhilosophersAMASExample(TableExample env)
protected void onInitialConfiguration()
AmasonInitialConfiguration in class Amas<TableExample>protected void onInitialAgentsCreation()
AmasonInitialAgentsCreation in class Amas<TableExample>protected void onSystemCycleBegin()
AmasonSystemCycleBegin in class Amas<TableExample>