public class InfrastructureLaneChangeInfoToledo extends InfrastructureLaneChangeInfo implements Serializable
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
InfrastructureLaneChangeInfoToledo(int requiredNumberOfLaneChanges,
LaneStructureRecord record,
int splitNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
forSplit()
Returns whether this information regards a split in the road.
|
int |
getSplitNumber()
Returns the split number.
|
String |
toString() |
compareTo, fromInaccessibleLane, getLateralDirectionality, getRemainingDistance, getRequiredNumberOfLaneChanges, isDeadEnd, left, right, setDeadEndpublic InfrastructureLaneChangeInfoToledo(int requiredNumberOfLaneChanges,
LaneStructureRecord record,
int splitNumber)
throws GTUException
requiredNumberOfLaneChanges - number of lane changesrecord - recordsplitNumber - number of the split along the roadGTUException - if the split number is below 1public final boolean forSplit()
public final int getSplitNumber()
public final String toString()
toString in class InfrastructureLaneChangeInfoCopyright © 2014–2018 Delft University of Technology. All rights reserved.