1 package org.opentrafficsim.core.dsol;
2
3 import javax.naming.Context;
4
5 import nl.tudelft.simulation.dsol.experiment.Experiment;
6 import nl.tudelft.simulation.dsol.experiment.Replication;
7
8 import org.opentrafficsim.core.unit.TimeUnit;
9 import org.opentrafficsim.core.value.vdouble.scalar.DoubleScalar;
10
11 /**
12 * <p>
13 * Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
14 * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
15 * <p>
16 * @version Aug 15, 2014 <br>
17 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
18 */
19 public class OTSReplication extends Replication<DoubleScalar.Abs<TimeUnit>, DoubleScalar.Rel<TimeUnit>, OTSSimTimeDouble>
20 {
21 /**
22 * @param context Context
23 * @param experiment Experiment
24 */
25 public OTSReplication(final Context context,
26 final Experiment<DoubleScalar.Abs<TimeUnit>, DoubleScalar.Rel<TimeUnit>, OTSSimTimeDouble> experiment)
27 {
28 super(context, experiment);
29 }
30
31 /**
32 * Create a new OTSReplication.
33 * @param id String; id of the new OTSReplication
34 * @param startTime OTSSimTimeDouble; the start time of the new OTSReplication
35 * @param warmupPeriod DoubleScalar.Rel<TimeUnit>; the warmup period of the new OTSReplication
36 * @param runLength DoubleScalarRel<TimeUnit>; the run length of the new OTSReplication
37 * @param model OTSModelInterface; the model
38 */
39 public OTSReplication(final String id, final OTSSimTimeDouble startTime, final DoubleScalar.Rel<TimeUnit> warmupPeriod,
40 final DoubleScalar.Rel<TimeUnit> runLength, final OTSModelInterface model)
41 {
42 super(id, startTime, warmupPeriod, runLength, model);
43 }
44
45 /** */
46 private static final long serialVersionUID = 20140815L;
47 }