Class CurveTest
java.lang.Object
org.opentrafficsim.road.network.lane.CurveTest
public class CurveTest
extends java.lang.Object
Verify that GTUs register and unregister at the correct times and locations when following a curve.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Jan 15, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Guus Tamminga
-
Constructor Summary
Constructors Constructor Description CurveTest()
-
Method Summary
Modifier and Type Method Description void
curveTest()
Let GTUs drive through a curve and check (de-)registration times at each node.void
printEventList(DEVSSimulatorInterface.TimeDoubleUnit simulator)
Print all scheduled events of an DEVSSimulatorInterface.TimeDoubleUnit.
-
Constructor Details
-
CurveTest
public CurveTest()
-
-
Method Details
-
curveTest
public final void curveTest() throws OTSGeometryException, SimRuntimeException, javax.naming.NamingException, NetworkException, GTUExceptionLet GTUs drive through a curve and check (de-)registration times at each node.- Throws:
OTSGeometryException
- on errorjavax.naming.NamingException
- on errorSimRuntimeException
- on errorNetworkException
- on errorGTUException
- on error
-
printEventList
Print all scheduled events of an DEVSSimulatorInterface.TimeDoubleUnit.- Parameters:
simulator
- DEVSSimulatorInterface.TimeDoubleUnit; the DEVSSimulatorInterface.TimeDoubleUnit
-