Class HeadwayBusStop

    • Constructor Detail

      • HeadwayBusStop

        public HeadwayBusStop​(BusStop busStop,
                              Length distance,
                              RelativeLane relativeLane,
                              java.util.Set<java.lang.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 Detail

      • getRelativeLane

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

        public final ImmutableSet<java.lang.String> getLines()
        Returns:
        lines.
      • getConflictIds

        public final java.util.Set<java.lang.String> getConflictIds()
        Returns:
        conflictIds.