public class HeadwayBusStop extends AbstractHeadwayCopy
Copyright (c) 2013-2017 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,
org.djunits.value.vdouble.scalar.Length distance,
RelativeLane relativeLane,
Set<String> conflictIds) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getConflictIds() |
nl.tudelft.simulation.immutablecollections.ImmutableSet<String> |
getLines() |
RelativeLane |
getRelativeLane() |
equals, getAcceleration, getId, getLength, getObjectType, getSpeed, hashCode
getDistance, getOverlap, getOverlapFront, getOverlapRear, isAhead, isBehind, isParallel, toString
public HeadwayBusStop(BusStop busStop, org.djunits.value.vdouble.scalar.Length distance, RelativeLane relativeLane, Set<String> conflictIds) throws org.opentrafficsim.core.gtu.GTUException
busStop
- bus stopdistance
- distancerelativeLane
- relative laneconflictIds
- conflicts downstream of the bus stoporg.opentrafficsim.core.gtu.GTUException
- when id is null, or parameters are inconsistentpublic RelativeLane getRelativeLane()
public nl.tudelft.simulation.immutablecollections.ImmutableSet<String> getLines()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.