Class ReplicationStudyStep


public class ReplicationStudyStep extends ScenarioStudyStep
  • Field Details

    • ZERO_ID

      public static final ShortId ZERO_ID
  • Constructor Details

    • ReplicationStudyStep

      public ReplicationStudyStep(ScenarioStudyStep parent, int seed)
      Called for a new step added at runtime, and also for a step loaded from a study file which had not been launched before the study was saved to a file.
    • ReplicationStudyStep

      public ReplicationStudyStep(ScenarioStudyStep parent, int seed, ShortId id)
      Called for a ReplicationStudyStep loaded from a study file.
      The run id is known, because this step had been launched before its study was saved to a file.
      The study step has no result yet.

      The 'run' field will be initialized later in the tryReattachToServerRun(BiFunction, Supplier, Runnable) method.

    • ReplicationStudyStep

      public ReplicationStudyStep(ScenarioStudyStep parent, int seed, ShortId id, SimulationRunResult result)
      Called for a ReplicationStudyStep loaded from a study file.
      The run id is known, because this step had been launched before its study was saved to a file.
      The study step also has simulation results.
      The 'run' field is initialized with a LoadedRun instance.
  • Method Details