All Implemented Interfaces:
Serializable, Comparable<Headway>, org.djutils.base.Identifiable, PerceivedObject, Headway, HeadwayLaneBasedObject

public class HeadwayBusStop extends AbstractHeadwayLaneBasedObject

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
  • Constructor Details

    • HeadwayBusStop

      public HeadwayBusStop(BusStop busStop, org.djunits.value.vdouble.scalar.Length distance, RelativeLane relativeLane, Set<String> conflictIds, Lane lane) throws GtuException
      Parameters:
      busStop - BusStop; bus stop
      distance - Length; distance
      relativeLane - RelativeLane; relative lane
      conflictIds - Set<String>; conflicts downstream of the bus stop
      lane - Lane; lane
      Throws:
      GtuException - when id is null, or parameters are inconsistent
  • Method Details

    • getRelativeLane

      public final RelativeLane getRelativeLane()
      Returns:
      relativeLane.
    • getLines

      public final org.djutils.immutablecollections.ImmutableSet<String> getLines()
      Returns:
      lines.
    • getConflictIds

      public final Set<String> getConflictIds()
      Returns:
      conflictIds.
    • toString

      public final String toString()
      Overrides:
      toString in class AbstractHeadway