Interface RunEnvironmentBuilder

All Known Implementing Classes:
DefaultRunEnvironmentBuilder

public interface RunEnvironmentBuilder
Builder for creating a RunEnvironment object. The user can customize the RunEnv used for each run using this object.
Author:
Nick Collier
  • Method Details

    • getScheduleRunner

      Runner getScheduleRunner()
      Gets the schedule runner used to run each run of the simulation.
      Returns:
      the schedule runner used to run each run of the simulation.
    • getScheduleFactory

      IScheduleFactory getScheduleFactory()
      Gets the schedule factory used to create the schedule for simulation runs.
      Returns:
      the schedule factory used to create the schedule for simulation runs.
    • setScheduleFactory

      void setScheduleFactory(IScheduleFactory scheduleFactory)
      Sets the schedule factory used to create the schedule for simulation runs.
      Parameters:
      scheduleFactory - the new schedule factory
    • getParameters

      Parameters getParameters()
      Gets the parameters to be used in the next simulation run.
      Returns:
      the parameters to be used in the next simulation run.
    • setParameters

      void setParameters(Parameters parameters)
      Sets the parameters to be used in the next simulation run.
      Parameters:
      parameters - the parameters to be used in the next simulation run.
    • createRunEnvironment

      RunEnvironment createRunEnvironment()
      Creates the Runtime to be used for the next simulation run. Each simulation run gets a new runtime.
      Returns:
      the Runtime to be used for the next simulation run.