public class AccelerationStep extends Object implements Serializable
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
AccelerationStep(Acceleration acceleration,
Time validUntil,
Duration duration)
Create a new GTUFollowingModelResult.
|
Modifier and Type | Method and Description |
---|---|
Acceleration |
getAcceleration() |
Duration |
getDuration() |
Time |
getValidUntil() |
String |
toString() |
public AccelerationStep(Acceleration acceleration, Time validUntil, Duration duration)
acceleration
- DoubleScalarAbs<AccelerationUnit>; computed accelerationvalidUntil
- Time; time when this result expiresduration
- Duration; duration of the time steppublic final Acceleration getAcceleration()
public final Time getValidUntil()
public final Duration getDuration()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.