massim.framework
Class SimulationRun
java.lang.Object
massim.framework.SimulationRun
- Direct Known Subclasses:
- ServerSimulationRun2
public class SimulationRun
- extends java.lang.Object
This class provides a very simple method to configure a simulation and to run it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulationRun
public SimulationRun()
runSimulation
public java.lang.String runSimulation()
getAgentmanager
public AgentManager getAgentmanager()
- Returns:
- Returns the agentmanager.
setAgentmanager
public void setAgentmanager(AgentManager agentmanager)
- Parameters:
agentmanager
- The agentmanager to set.
getController
public Controller getController()
- Returns:
- Returns the controller.
setController
public void setController(Controller controller)
- Parameters:
controller
- The controller to set.
getObserver
public Observer getObserver()
- Returns:
- Returns the observer.
setObserver
public void setObserver(Observer observer)
- Parameters:
observer
- The observer to set.
getSimulation
public Simulation getSimulation()
- Returns:
- Returns the simulation.
setSimulation
public void setSimulation(Simulation simulation)
- Parameters:
simulation
- The simulation to set.
Copyright © 2011. All Rights Reserved.