Class DefaultScheduleRunner

java.lang.Object
repast.simphony.engine.environment.AbstractRunner
repast.simphony.engine.environment.DefaultScheduleRunner
All Implemented Interfaces:
Runner, Executor<RunState>

public class DefaultScheduleRunner extends AbstractRunner
This class executes the model schedule found in the RunState's ScheduleRegistry.
Author:
Jerry Vos
  • Constructor Details

    • DefaultScheduleRunner

      public DefaultScheduleRunner()
  • Method Details

    • 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
    • getSchedule

      protected ISchedule getSchedule(RunState toExecuteOn)