public class NextSplitInfo 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 |
---|
NextSplitInfo(Node nextSplitNode,
Set<Lane> correctCurrentLanes) |
NextSplitInfo(Node nextSplitNode,
Set<Lane> correctCurrentLanes,
LateralDirectionality requiredDirection) |
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
getCorrectCurrentLanes() |
Node |
getNextSplitNode() |
LateralDirectionality |
getRequiredDirection() |
boolean |
isSplit() |
String |
toString() |
public NextSplitInfo(Node nextSplitNode, Set<Lane> correctCurrentLanes)
nextSplitNode
- Node; the first subsequent node at which the route splits.correctCurrentLanes
- Set<Lane>; 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(Node nextSplitNode, Set<Lane> correctCurrentLanes, LateralDirectionality requiredDirection)
nextSplitNode
- Node; the first subsequent node at which the route splits.correctCurrentLanes
- Set<Lane>; 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
- LateralDirectionality; required direction for lane changes for this split, beyond lane on
current linkpublic final boolean isSplit()
public final Node getNextSplitNode()
public final Set<Lane> getCorrectCurrentLanes()
public final LateralDirectionality getRequiredDirection()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.