Class DefaultScheduleRunner
java.lang.Object
repast.simphony.engine.environment.AbstractRunner
repast.simphony.engine.environment.DefaultScheduleRunner
This class executes the model schedule found in the RunState's ScheduleRegistry.
- Author:
- Jerry Vos
-
Field Summary
Fields inherited from class repast.simphony.engine.environment.AbstractRunner
controller, environmentBuilder, pause, runListeners, step, stop, thread
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This executes the given RunState object's schedule.protected ISchedule
getSchedule
(RunState toExecuteOn) Methods inherited from class repast.simphony.engine.environment.AbstractRunner
addRunListener, firePausedMessage, fireRestartedMessage, fireStartedMessage, fireStoppedMessage, go, init, removeRunListener, setController, setEnvironmentBuilder, setPause, step, stop
-
Constructor Details
-
DefaultScheduleRunner
public DefaultScheduleRunner()
-
-
Method Details
-
execute
This executes the given RunState object's schedule. It will continue executing the schedule until there are no more actions schedule or the run manager tells it to stop.- Parameters:
toExecuteOn
- the RunState to execute on
-
getSchedule
-