public class OTSReplication extends nl.tudelft.simulation.dsol.experiment.Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
nl.tudelft.simulation.dsol.experiment.Replication.CalendarDouble, nl.tudelft.simulation.dsol.experiment.Replication.CalendarFloat, nl.tudelft.simulation.dsol.experiment.Replication.CalendarLong, nl.tudelft.simulation.dsol.experiment.Replication.TimeDouble, nl.tudelft.simulation.dsol.experiment.Replication.TimeDoubleUnit, nl.tudelft.simulation.dsol.experiment.Replication.TimeFloat, nl.tudelft.simulation.dsol.experiment.Replication.TimeFloatUnit, nl.tudelft.simulation.dsol.experiment.Replication.TimeLong, nl.tudelft.simulation.dsol.experiment.Replication.TimeLongUnit
Constructor and Description |
---|
OTSReplication(nl.tudelft.simulation.dsol.experiment.Experiment<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> experiment) |
OTSReplication(String id,
OTSSimTimeDouble startTime,
org.djunits.value.vdouble.scalar.Duration warmupPeriod,
org.djunits.value.vdouble.scalar.Duration runLength,
OTSModelInterface model)
Create a new OTSReplication.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
public OTSReplication(nl.tudelft.simulation.dsol.experiment.Experiment<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble> experiment) throws NamingException
experiment
- ExperimentNamingException
- when the context for the replication cannot be createdpublic OTSReplication(String id, OTSSimTimeDouble startTime, org.djunits.value.vdouble.scalar.Duration warmupPeriod, org.djunits.value.vdouble.scalar.Duration runLength, OTSModelInterface model) throws NamingException
id
- String; id of the new OTSReplicationstartTime
- OTSSimTimeDouble; 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 nl.tudelft.simulation.dsol.experiment.Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,OTSSimTimeDouble>
Copyright © 2014–2016 Delft University of Technology. All rights reserved.