public class LaneMovementStep extends Object implements Serializable
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
LaneMovementStep(AccelerationStep gfmr,
org.opentrafficsim.core.network.LateralDirectionality laneChange)
Construct a new LaneChangeModelResult.
|
Modifier and Type | Method and Description |
---|---|
AccelerationStep |
getGfmr() |
org.opentrafficsim.core.network.LateralDirectionality |
getLaneChangeDirection() |
String |
toString() |
public LaneMovementStep(AccelerationStep gfmr, org.opentrafficsim.core.network.LateralDirectionality laneChange)
gfmr
- GTUFollowingModelResult; the acceleration and duration of validity of this result.laneChange
- LateralDirectionality; this has one of the values:
null: | Stay in the current lane |
LateralDirectionality.LEFT: | Move to the Left adjacent lane, as seen from the GTU in forward driving direction |
LateralDirectionality.RIGHT: | Move to the Right adjacent lane, as seen from the GTU in forward driving direction |
public final AccelerationStep getGfmr()
public final org.opentrafficsim.core.network.LateralDirectionality getLaneChangeDirection()
null: | Stay in the current lane |
LateralDirectionality.LEFT: | Move to the Left adjacent lane, as seen from the GTU in forward driving direction |
LateralDirectionality.RIGHT: | Move to the Right adjacent lane, as seen from the GTU in forward driving direction |
Copyright © 2014–2017 Delft University of Technology. All rights reserved.