@PrepareForTest(value={nl.tudelft.simulation.dsol.experiment.Replication.class,nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.class})
public class ODApplierTest
extends Object
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.
| Modifier and Type | Field and Description |
|---|---|
(package private) org.djunits.value.vdouble.scalar.Time |
time
Local time object used in simulator MockUp.
|
| Constructor and Description |
|---|
ODApplierTest()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) nl.tudelft.simulation.dsol.experiment.Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit> |
getReplication()
Returns the replication.
|
(package private) nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit |
getSimulator()
Returns the simulator.
|
(package private) nl.tudelft.simulation.jstats.streams.StreamInterface |
getStream()
Returns the set random number stream.
|
(package private) org.djunits.value.vdouble.scalar.Time |
getTime()
Returns the set simulation time.
|
void |
gtuFractionTest() |
void |
headwayGeneratorTest()
Test whether correct headways and frequencies are calculated.
|
org.djunits.value.vdouble.scalar.Time time
public ODApplierTest()
throws org.opentrafficsim.core.network.NetworkException,
org.opentrafficsim.core.geometry.OTSGeometryException
org.opentrafficsim.core.geometry.OTSGeometryException - on exceptionorg.opentrafficsim.core.network.NetworkException - on exceptionfinal org.djunits.value.vdouble.scalar.Time getTime()
final nl.tudelft.simulation.jstats.streams.StreamInterface getStream()
final nl.tudelft.simulation.dsol.experiment.Replication<org.djunits.value.vdouble.scalar.Time,org.djunits.value.vdouble.scalar.Duration,nl.tudelft.simulation.dsol.simtime.SimTimeDoubleUnit> getReplication()
final nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit getSimulator()
public void headwayGeneratorTest()
throws org.djunits.value.ValueException,
org.opentrafficsim.core.network.NetworkException,
org.opentrafficsim.base.parameters.ParameterException,
nl.tudelft.simulation.dsol.SimRuntimeException,
org.opentrafficsim.core.distributions.ProbabilityException,
IllegalArgumentException,
IllegalAccessException
org.opentrafficsim.core.network.NetworkException - on exceptionorg.djunits.value.ValueException - on exceptionnl.tudelft.simulation.dsol.SimRuntimeException - on exceptionorg.opentrafficsim.base.parameters.ParameterException - on exceptionorg.opentrafficsim.core.distributions.ProbabilityException - on exceptionIllegalAccessExceptionIllegalArgumentExceptionpublic void gtuFractionTest()
throws org.djunits.value.ValueException,
org.opentrafficsim.core.network.NetworkException,
org.opentrafficsim.base.parameters.ParameterException,
nl.tudelft.simulation.dsol.SimRuntimeException,
org.opentrafficsim.core.distributions.ProbabilityException,
org.opentrafficsim.core.gtu.GTUException
org.djunits.value.ValueException - on exceptionorg.opentrafficsim.core.network.NetworkException - on exceptionnl.tudelft.simulation.dsol.SimRuntimeException - on exceptionorg.opentrafficsim.base.parameters.ParameterException - on exceptionorg.opentrafficsim.core.gtu.GTUException - on exceptionorg.opentrafficsim.core.distributions.ProbabilityException - on exceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.