public interface Simulation extends Component
Modifier and Type | Method and Description |
---|---|
void |
configureSimulation(SimulationConfiguration config)
This method will be automatically called as soon as the simulation is
being configured.
|
String |
endSimulation()
This method will be automatically called once when the simulation has been started and it
is to end.
|
AgentManager |
getAgentManager()
Retrieve the AgentManager that will be used for agent creation by this simulation.
|
SimulationState |
getSimulationState()
This method will retrieve the whole simulation state.
|
boolean |
isFinished()
This method returns true iff the simulation is in a final state.
|
void |
setAgentManager(AgentManager agentmanager) |
void |
startSimulation()
This method will be automatically called when the simulation starts.
|
void |
stepSimulation()
This method will be automatically called when the simulation is supposed
to do a simulation step.
|
void startSimulation()
void stepSimulation()
String endSimulation()
boolean isFinished()
void configureSimulation(SimulationConfiguration config)
config
- configuration messageSimulationState getSimulationState()
AgentManager getAgentManager()
void setAgentManager(AgentManager agentmanager)
agentmanager
- The agentmanager to set.Copyright © 2013. All Rights Reserved.