Class AccelerationStep
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.following.AccelerationStep
- All Implemented Interfaces:
Serializable
Storage for the result of a GTU following model.
Currently the result is restricted to a constant acceleration during the period of validity (the time slot) of the result.
Currently the result is restricted to a constant acceleration during the period of validity (the time slot) of the result.
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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAccelerationStep
(Acceleration acceleration, Time validUntil, Duration duration) Create a new GtuFollowingModelResult. -
Method Summary
Modifier and TypeMethodDescriptionfinal Acceleration
final Duration
final Time
final String
toString()
-
Constructor Details
-
AccelerationStep
Create a new GtuFollowingModelResult.- Parameters:
acceleration
- Acceleration; computed accelerationvalidUntil
- Time; time when this result expiresduration
- Duration; duration of the time step
-
-
Method Details