Class DefaultScheduleRunner
- java.lang.Object
-
- repast.simphony.engine.environment.AbstractRunner
-
- repast.simphony.engine.environment.DefaultScheduleRunner
-
public class DefaultScheduleRunner extends AbstractRunner
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
Constructors Constructor Description DefaultScheduleRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(RunState toExecuteOn)
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
-
-
-
-
Method Detail
-
execute
public void execute(RunState toExecuteOn)
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
-
-