public class HeadwayBusStop extends AbstractHeadwayCopy
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.
Headway.ObjectType
Constructor and Description |
---|
HeadwayBusStop(BusStop busStop,
Length distance,
RelativeLane relativeLane,
Set<String> conflictIds) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getConflictIds() |
ImmutableSet<String> |
getLines() |
RelativeLane |
getRelativeLane() |
String |
toString() |
equals, getAcceleration, getId, getLength, getObjectType, getSpeed, hashCode
getDistance, getOverlap, getOverlapFront, getOverlapRear, isAhead, isBehind, isParallel
public HeadwayBusStop(BusStop busStop, Length distance, RelativeLane relativeLane, Set<String> conflictIds) throws GTUException
busStop
- BusStop; bus stopdistance
- Length; distancerelativeLane
- RelativeLane; relative laneconflictIds
- Set<String>; conflicts downstream of the bus stopGTUException
- when id is null, or parameters are inconsistentpublic final RelativeLane getRelativeLane()
public final ImmutableSet<String> getLines()
public final String toString()
toString
in class AbstractHeadway
Copyright © 2014–2019 Delft University of Technology. All rights reserved.