Class CurveTest
java.lang.Object
org.opentrafficsim.road.network.lane.CurveTest
Verify that GTUs register and unregister at the correct times and locations when following a curve.
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, Guus Tamminga
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidLet GTUs drive through a curve and check (de-)registration times at each node.final voidprintEventList(OtsSimulatorInterface simulator) Print all scheduled events of an OtsSimulatorInterface.
-
Constructor Details
-
CurveTest
public CurveTest()
-
-
Method Details
-
curveTest
public final void curveTest() throws OtsGeometryException, SimRuntimeException, NamingException, NetworkException, GtuExceptionLet 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
Print all scheduled events of an OtsSimulatorInterface.- Parameters:
simulator- OtsSimulatorInterface; the OtsSimulatorInterface
-