public class NextSplitInfo 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 |
---|
NextSplitInfo(org.opentrafficsim.core.network.Node nextSplitNode,
Set<Lane> correctCurrentLanes) |
NextSplitInfo(org.opentrafficsim.core.network.Node nextSplitNode,
Set<Lane> correctCurrentLanes,
org.opentrafficsim.core.network.LateralDirectionality requiredDirection) |
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
getCorrectCurrentLanes() |
org.opentrafficsim.core.network.Node |
getNextSplitNode() |
org.opentrafficsim.core.network.LateralDirectionality |
getRequiredDirection() |
boolean |
isSplit() |
String |
toString() |
public NextSplitInfo(org.opentrafficsim.core.network.Node nextSplitNode, Set<Lane> correctCurrentLanes)
nextSplitNode
- the first subsequent node at which the route splits.correctCurrentLanes
- the lane(s) and/or adjacent lane(s) on which the reference point of the GTU is registered that
lead us in the direction of the route provided by the strategical planner.public NextSplitInfo(org.opentrafficsim.core.network.Node nextSplitNode, Set<Lane> correctCurrentLanes, org.opentrafficsim.core.network.LateralDirectionality requiredDirection)
nextSplitNode
- the first subsequent node at which the route splits.correctCurrentLanes
- the lane(s) and/or adjacent lane(s) on which the reference point of the GTU is registered that
lead us in the direction of the route provided by the strategical planner.requiredDirection
- required direction for lane changes for this split, beyond lane on current linkpublic final boolean isSplit()
public final org.opentrafficsim.core.network.Node getNextSplitNode()
public final Set<Lane> getCorrectCurrentLanes()
public final org.opentrafficsim.core.network.LateralDirectionality getRequiredDirection()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.