public class HeadwayBusStop extends AbstractHeadwayLaneBasedObject
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,
Lane lane) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getConflictIds() |
ImmutableSet<String> |
getLines() |
RelativeLane |
getRelativeLane() |
String |
toString() |
getLane
equals, getAcceleration, getId, getLength, getObjectType, getSpeed, hashCode
getDistance, getOverlap, getOverlapFront, getOverlapRear, isAhead, isBehind, isParallel
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getAcceleration, getDistance, getId, getLength, getObjectType, getOverlap, getOverlapFront, getOverlapRear, getSpeed, isAhead, isBehind, isParallel
public HeadwayBusStop(BusStop busStop, Length distance, RelativeLane relativeLane, Set<String> conflictIds, Lane lane) throws GTUException
busStop
- BusStop; bus stopdistance
- Length; distancerelativeLane
- RelativeLane; relative laneconflictIds
- Set<String>; conflicts downstream of the bus stoplane
- Lane; laneGTUException
- 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.