public class LaneMovementStep extends Object
Copyright (c) 2013-2015 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 |
getLaneChange() |
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 |
| LateralDirectionality.RIGHT: | Move to the Right adjacent lane |
public final AccelerationStep getGfmr()
public final org.opentrafficsim.core.network.LateralDirectionality getLaneChange()
| null: | Stay in the current lane |
| LateralDirectionality.LEFT: | Move to the Left adjacent lane |
| LateralDirectionality.RIGHT: | Move to the Right adjacent lane |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.