public class OTSReplication extends Replication<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble>
Copyright (c) 2013-2014 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, Replication.TimeLongUnit| Constructor and Description |
|---|
OTSReplication(Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) |
OTSReplication(String id,
OTSSimTimeDouble startTime,
DoubleScalar.Rel<TimeUnit> warmupPeriod,
DoubleScalar.Rel<TimeUnit> runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
getContext, getDescription, getExperiment, getStream, getStreams, getTreatment, reset, setDescription, setStreams, toStringpublic OTSReplication(Experiment<DoubleScalar.Abs<TimeUnit>,DoubleScalar.Rel<TimeUnit>,OTSSimTimeDouble> experiment) throws NamingException
experiment - ExperimentNamingException - when the context for the replication cannot be createdpublic OTSReplication(String id, OTSSimTimeDouble startTime, DoubleScalar.Rel<TimeUnit> warmupPeriod, DoubleScalar.Rel<TimeUnit> runLength, OTSModelInterface model) throws NamingException
id - String; id of the new OTSReplicationstartTime - OTSSimTimeDouble; the start time of the new OTSReplicationwarmupPeriod - DoubleScalar.Rel<TimeUnit>; 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 createdCopyright © 2014–2015 Delft University of Technology. All rights reserved.