|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jabm.AbstractSimulation
net.sourceforge.jabm.SimpleSimulation
public class SimpleSimulation
Field Summary |
---|
Fields inherited from class net.sourceforge.jabm.AbstractSimulation |
---|
agentInitialiser, agentMixer, isPaused, isRunning, PAUSE_SLEEP_INTERVAL_MS, population, simulationController, slowSleepInterval |
Constructor Summary | |
---|---|
SimpleSimulation()
|
|
SimpleSimulation(SimulationController simulationController)
|
Method Summary | |
---|---|
void |
begin()
|
void |
end()
|
SimulationTime |
getSimulationTime()
Query the current simulation time. |
void |
run()
|
void |
step()
|
Methods inherited from class net.sourceforge.jabm.AbstractSimulation |
---|
addListener, fireEvent, getAgentInitialiser, getAgentMixer, getPopulation, getSimulationController, getSlowSleepInterval, initialiseAgents, invokeAgentInteractions, pause, resume, setAgentInitialiser, setAgentMixer, setPopulation, setSimulationController, setSlowSleepInterval, slow, terminate, waitIfPaused, waitIfSlowed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSimulation(SimulationController simulationController)
public SimpleSimulation()
Method Detail |
---|
public void begin()
public void end()
public void run()
run
in interface java.lang.Runnable
public void step()
step
in class AbstractSimulation
public SimulationTime getSimulationTime()
Simulation
getSimulationTime
in interface Simulation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |