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