public class NextSplitInfo extends Object implements Serializable
Copyright (c) 2013-2016 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.OTSNode nextSplitNode,
Set<Lane> correctCurrentLanes) |
Modifier and Type | Method and Description |
---|---|
Set<Lane> |
getCorrectCurrentLanes() |
org.opentrafficsim.core.network.OTSNode |
getNextSplitNode() |
boolean |
isSplit() |
String |
toString() |
public NextSplitInfo(org.opentrafficsim.core.network.OTSNode 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 final boolean isSplit()
public final org.opentrafficsim.core.network.OTSNode getNextSplitNode()
public final Set<Lane> getCorrectCurrentLanes()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.