public class DualAccelerationStep 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.
Constructor and Description |
---|
DualAccelerationStep(AccelerationStep leaderAccelerationStep,
AccelerationStep followerAccelerationStep)
Create a new DualAccelerationStep.
|
Modifier and Type | Method and Description |
---|---|
org.djunits.value.vdouble.scalar.Acceleration |
getFollowerAcceleration()
Return the acceleration of the follower.
|
AccelerationStep |
getFollowerAccelerationStep()
Retrieve the AccelerationStep for the (new) follower GTU.
|
org.djunits.value.vdouble.scalar.Time |
getFollowerValidUntil()
Return the time up to which the result of the follower is valid.
|
org.djunits.value.vdouble.scalar.Acceleration |
getLeaderAcceleration()
Return the acceleration of the leader.
|
AccelerationStep |
getLeaderAccelerationStep()
Retrieve the AccelerationStep for the leader GTU.
|
org.djunits.value.vdouble.scalar.Time |
getLeaderValidUntil()
Return the time up to which the result of the leader is valid.
|
String |
toString() |
public DualAccelerationStep(AccelerationStep leaderAccelerationStep, AccelerationStep followerAccelerationStep)
leaderAccelerationStep
- AccelerationStep; the acceleration and time step size for the leaderfollowerAccelerationStep
- AccelerationStep; the acceleration and time step size for the (new) followerpublic final AccelerationStep getLeaderAccelerationStep()
public final AccelerationStep getFollowerAccelerationStep()
public final org.djunits.value.vdouble.scalar.Acceleration getLeaderAcceleration()
public final org.djunits.value.vdouble.scalar.Acceleration getFollowerAcceleration()
public final org.djunits.value.vdouble.scalar.Time getLeaderValidUntil()
public final org.djunits.value.vdouble.scalar.Time getFollowerValidUntil()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.