Class OdApplierTest
java.lang.Object
org.opentrafficsim.road.gtu.strategical.od.OdApplierTest
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final SingleReplication<Duration>Returns the replication.(package private) final OtsSimulatorInterfaceReturns the simulator.(package private) final StreamInterfaceReturns the set random number stream.(package private) final TimegetTime()Returns the set simulation time.voidvoidTest whether correct headways and frequencies are calculated.
-
Constructor Details
-
OdApplierTest
Constructor.- Throws:
OtsGeometryException- on exceptionNetworkException- on exceptionNamingException- on ...
-
-
Method Details
-
getTime
Returns the set simulation time.- Returns:
- set simulation time
-
getStream
Returns the set random number stream.- Returns:
- set random number stream
-
getReplication
Returns the replication.- Returns:
- replication
-
getSimulator
Returns the simulator.- Returns:
- simulator
-
headwayGeneratorTest
public void headwayGeneratorTest() throws ValueRuntimeException, NetworkException, org.opentrafficsim.base.parameters.ParameterException, SimRuntimeException, ProbabilityException, IllegalArgumentException, IllegalAccessException, OtsGeometryExceptionTest whether correct headways and frequencies are calculated.- Throws:
NetworkException- on exceptionValueRuntimeException- on exceptionSimRuntimeException- on exceptionorg.opentrafficsim.base.parameters.ParameterException- on exceptionProbabilityException- on exceptionIllegalAccessException- on exceptionIllegalArgumentException- on exceptionOtsGeometryException- on exception
-
gtuFractionTest
public void gtuFractionTest() throws ValueRuntimeException, NetworkException, org.opentrafficsim.base.parameters.ParameterException, SimRuntimeException, ProbabilityException, GtuException- Throws:
ValueRuntimeException- on exceptionNetworkException- on exceptionSimRuntimeException- on exceptionorg.opentrafficsim.base.parameters.ParameterException- on exceptionGtuException- on exceptionProbabilityException- on exception
-