public class LaneMovementStep extends Object implements Serializable
Copyright (c) 2013-2019 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,
LateralDirectionality laneChange)
Construct a new LaneChangeModelResult.
|
Modifier and Type | Method and Description |
---|---|
AccelerationStep |
getGfmr() |
LateralDirectionality |
getLaneChangeDirection() |
String |
toString() |
public LaneMovementStep(AccelerationStep gfmr, LateralDirectionality laneChange)
gfmr
- AccelerationStep; 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 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–2019 Delft University of Technology. All rights reserved.