public abstract class AbstractGridSimulation extends ParallelizedRandomOrderSimulation
Constructor and Description |
---|
AbstractGridSimulation() |
Modifier and Type | Method and Description |
---|---|
String |
finalizeSimpleSimulation()
This method is supposed to make final actions before the simulation is shut down.
|
void |
preSimulationStep()
This method is supposed to make necessary changes to the world that must occur before
agents act in that step.
|
void |
runAgents()
This method is supposed to let agents act.
|
void |
simulationStep() |
protected Document |
updateAgentPosition(Document doc) |
runFinalAgents, runInitAgents
configureSimulation, endSimulation, getAgents, getSimpleSimulationState, getSimulationState, getSteps, initializeSimpleSimulation, postSimulationStep, setSteps, startSimulation, stepSimulation
concurrentCreateAgent, concurrentGetAction, createAgent, getAction, getAgentManager, getController, removeAgent, removeAllAgents, setAgentManager, setController, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFinished
public void preSimulationStep()
AbstractSimulation
preSimulationStep
in class AbstractSimulation
public void runAgents()
AbstractSimulation
runAgents
in class ParallelizedRandomOrderSimulation
public void simulationStep()
simulationStep
in class AbstractSimulation
public String finalizeSimpleSimulation()
AbstractSimulation
finalizeSimpleSimulation
in class AbstractSimulation
Copyright © 2013. All Rights Reserved.