raptor
    Preparing search index...

    Class Route<TimeVal, SI, RI, TI>

    A Route, i.e. a succession of geographical specific points (stops) alongside with their corresponding operated trips.

    Type Parameters

    • TimeVal
    • SI extends Id
    • RI extends Id
    • TI extends Id = Id
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: RI
    stops: ArrayRead<SI>

    Methods

    • Parameters

      • t: number

        Trip index in route.

      • p: number

        Stop index in route (trip).

      Returns TimeVal

      Computes the departure time on a trip at stop p.