public class MyAMAS extends Amas<TableEnvironment>
agents, cycle, environment| Constructor and Description |
|---|
MyAMAS(TableEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
getCurrentSnapshot() |
protected void |
onInitialAgentsCreation()
This method should be overridden, the agents should be created in this
method
|
protected void |
onSystemCycleBegin()
This method is called before all agents have executed a cycle
|
protected void |
onSystemCycleEnd()
This method is called when all agents have executed a cycle
|
_addAgent, _removeAgent, cycle, getAgents, getCycle, getEnvironment, getRandom, getScheduler, stopConditionpublic MyAMAS(TableEnvironment env)
protected void onInitialAgentsCreation()
AmasonInitialAgentsCreation in class Amas<TableEnvironment>protected void onSystemCycleBegin()
AmasonSystemCycleBegin in class Amas<TableEnvironment>public Snapshot getCurrentSnapshot()
protected void onSystemCycleEnd()
AmasonSystemCycleEnd in class Amas<TableEnvironment>