public class OTSReplication extends Replication<Time,Duration,SimTimeDoubleUnit>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Replication.CalendarDouble, Replication.CalendarFloat, Replication.CalendarLong, Replication.TimeDouble, Replication.TimeDoubleUnit, Replication.TimeFloat, Replication.TimeFloatUnit, Replication.TimeLong
Constructor and Description |
---|
OTSReplication(Experiment<Time,Duration,SimTimeDoubleUnit> experiment) |
OTSReplication(String id,
SimTimeDoubleUnit startTime,
Duration warmupPeriod,
Duration runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getContext, getDescription, getExperiment, getStream, getStreams, getTreatment, reset, setDescription, setStreams
public OTSReplication(Experiment<Time,Duration,SimTimeDoubleUnit> experiment) throws NamingException
experiment
- ExperimentNamingException
- when the context for the replication cannot be createdpublic OTSReplication(String id, SimTimeDoubleUnit startTime, Duration warmupPeriod, Duration runLength, OTSModelInterface model) throws NamingException
id
- String; id of the new OTSReplicationstartTime
- SimTimeDoubleUnit; the start time of the new OTSReplicationwarmupPeriod
- Duration; the warmup period of the new OTSReplicationrunLength
- DoubleScalarRel<TimeUnit>; the run length of the new OTSReplicationmodel
- OTSModelInterface; the modelNamingException
- when the context for the replication cannot be createdpublic final String toString()
toString
in class Replication<Time,Duration,SimTimeDoubleUnit>
Copyright © 2014–2018 Delft University of Technology. All rights reserved.