|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uchicago.src.sim.engine.BaseController | +--org.mrd.repast.control.ThinController
Field Summary | |
protected org.apache.commons.logging.Log |
log
|
Fields inherited from class uchicago.src.sim.engine.BaseController |
done, doStep, executeBegin, go, isGui, listenerList, model, monitor, params, pauseActionsExecuted, pauseAt, pauseAtAction, pauseSim, persistentObj, runFinished, runThread, schedule, simRun, sleepValue, time |
Constructor Summary | |
ThinController()
|
|
ThinController(boolean gUI)
Creates a ThinController, specifying whether this is a graphical controller or not. |
Method Summary | |
void |
exitSim()
Exits a simulation. |
long |
getRunCount()
|
void |
initSim()
|
boolean |
isBatch()
Getter for property batch. |
boolean |
isGUI()
Getter for property gUI. |
protected void |
onTickCountUpdate()
|
void |
setBatch(boolean batch)
Setter for property batch. |
void |
setGUI(boolean gUI)
Setter for property gUI. |
void |
simEventPerformed(uchicago.src.sim.engine.SimEvent evt)
Listens for SimEvents and responds accordingly. |
void |
startSim()
|
Methods inherited from class uchicago.src.sim.engine.BaseController |
addSimEventListener, beginModel, fireSimEvent, getCellDepth, getCellHeight, getCellWidth, getCurrentTime, getDefaultModelParameters, getModel, getModelParameters, getPauseAt, getPersistentObj, getRandomSeed, getSchedule, notifyMonitor, pauseSim, putPersistentObj, removeSimEventListener, setCellDepth, setCellHeight, setCellWidth, setModel, setPauseAt, setRandomSeed, setSchedule, setupSchedule, stopSim |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.commons.logging.Log log
Constructor Detail |
public ThinController()
public ThinController(boolean gUI)
Method Detail |
public void initSim()
public void startSim()
startSim
in interface uchicago.src.sim.engine.IController
startSim
in class uchicago.src.sim.engine.BaseController
public void exitSim()
protected void onTickCountUpdate()
onTickCountUpdate
in class uchicago.src.sim.engine.BaseController
public void simEventPerformed(uchicago.src.sim.engine.SimEvent evt)
evt
- public boolean isBatch()
isBatch
in interface uchicago.src.sim.engine.IController
isBatch
in class uchicago.src.sim.engine.BaseController
public void setBatch(boolean batch)
batch
- New value of property batch.public long getRunCount()
public boolean isGUI()
public void setGUI(boolean gUI)
gUI
- New value of property gUI.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |