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, stopCondition
public MyAMAS(TableEnvironment env)
protected void onInitialAgentsCreation()
Amas
onInitialAgentsCreation
in class Amas<TableEnvironment>
protected void onSystemCycleBegin()
Amas
onSystemCycleBegin
in class Amas<TableEnvironment>
public Snapshot getCurrentSnapshot()
protected void onSystemCycleEnd()
Amas
onSystemCycleEnd
in class Amas<TableEnvironment>