public class DualAccelerationStep extends Object
Copyright (c) 2013-2014 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 |
|---|---|
DoubleScalar.Abs<AccelerationUnit> |
getFollowerAcceleration()
Return the acceleration of the follower.
|
AccelerationStep |
getFollowerAccelerationStep()
Retrieve the AccelerationStep for the (new) follower GTU.
|
DoubleScalar.Abs<TimeUnit> |
getFollowerValidUntil()
Return the time up to which the result of the follower is valid.
|
DoubleScalar.Abs<AccelerationUnit> |
getLeaderAcceleration()
Return the acceleration of the leader.
|
AccelerationStep |
getLeaderAccelerationStep()
Retrieve the AccelerationStep for the leader GTU.
|
DoubleScalar.Abs<TimeUnit> |
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 DoubleScalar.Abs<AccelerationUnit> getLeaderAcceleration()
public final DoubleScalar.Abs<AccelerationUnit> getFollowerAcceleration()
public final DoubleScalar.Abs<TimeUnit> getLeaderValidUntil()
public final DoubleScalar.Abs<TimeUnit> getFollowerValidUntil()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.