public class OTSReplication extends Replication.TimeDoubleUnit<OTSSimulatorInterface>
 Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
Replication.CalendarDouble<S extends SimulatorInterface.CalendarDouble>, Replication.CalendarFloat<S extends SimulatorInterface.CalendarFloat>, Replication.CalendarLong<S extends SimulatorInterface.CalendarLong>, Replication.TimeDouble<S extends SimulatorInterface.TimeDouble>, Replication.TimeDoubleUnit<S extends SimulatorInterface.TimeDoubleUnit>, Replication.TimeFloat<S extends SimulatorInterface.TimeFloat>, Replication.TimeFloatUnit<S extends SimulatorInterface.TimeFloatUnit>, Replication.TimeLong<S extends SimulatorInterface.TimeLong>| Constructor and Description | 
|---|
| OTSReplication(String id,
              Experiment.TimeDoubleUnit<OTSSimulatorInterface> experiment) | 
| Modifier and Type | Method and Description | 
|---|---|
| static OTSReplication | create(String id,
      Time startTime,
      Duration warmupPeriod,
      Duration runLength,
      OTSModelInterface model)Create a new OTSReplication. | 
| HistoryManager | getHistoryManager(OTSSimulatorInterface simulator)Returns the history manager. | 
| void | setHistoryManager(HistoryManager historyManager)Set history manager. | 
| String | toString() | 
create, getExperiment, getTreatmentcreate, getContext, getDescription, getStream, getStreams, reset, setDescription, setStreamspublic OTSReplication(String id, Experiment.TimeDoubleUnit<OTSSimulatorInterface> experiment) throws NamingException
id - String; the id of the Replication.experiment - Experiment.TimeDoubleUnit<OTSSimulatorInterface>; ExperimentNamingException - when the context for the replication cannot be createdpublic static OTSReplication create(String id, Time startTime, Duration warmupPeriod, Duration runLength, OTSModelInterface model) throws NamingException
id - String; id of the new OTSReplicationstartTime - Time; the start time of the new OTSReplicationwarmupPeriod - Duration; the warmup period of the new OTSReplicationrunLength - Duration; the run length of the new OTSReplicationmodel - OTSModelInterface; the modelNamingException - when the context for the replication cannot be createdpublic HistoryManager getHistoryManager(OTSSimulatorInterface simulator)
simulator - OTSSimulatorInterface; simulatorpublic void setHistoryManager(HistoryManager historyManager)
historyManager - HistoryManager; history manager to setpublic final String toString()
toString in class Replication<Time,Duration,SimTimeDoubleUnit,OTSSimulatorInterface>Copyright © 2014–2019 Delft University of Technology. All rights reserved.