Class CurveTest
- java.lang.Object
-
- org.opentrafficsim.road.network.lane.CurveTest
-
public class CurveTest extends Object
Verify that GTUs register and unregister at the correct times and locations when following a curve.Copyright (c) 2013-2022 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
curveTest()
Let GTUs drive through a curve and check (de-)registration times at each node.void
printEventList(OTSSimulatorInterface simulator)
Print all scheduled events of an OTSSimulatorInterface.
-
-
-
Method Detail
-
curveTest
public final void curveTest() throws OTSGeometryException, SimRuntimeException, NamingException, NetworkException, GTUException
Let GTUs drive through a curve and check (de-)registration times at each node.- Throws:
OTSGeometryException
- on errorNamingException
- on errorSimRuntimeException
- on errorNetworkException
- on errorGTUException
- on error
-
printEventList
public final void printEventList(OTSSimulatorInterface simulator)
Print all scheduled events of an OTSSimulatorInterface.- Parameters:
simulator
- OTSSimulatorInterface; the OTSSimulatorInterface
-
-