raptor
    Preparing search index...

    Class SharedRAPTOR<TimeVal>

    A RAPTOR instance

    Type Parameters

    • TimeVal

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    k: number = 0

    Round k <=> at most k transfers

    marked: Set<SharedID> = ...
    multiLabel: Map<SharedID, JourneyStep<TimeVal, SharedID, SharedID, never, []>>[] = []

    A Label Ti(SI) represents the earliest known arrival time at stop SI with up to i trips.

    runParams:
        | null
        | {
            departureTime: TimeVal;
            ps: SharedID;
            pt: SharedID;
            rounds: number;
            settings: RAPTORRunSettings;
        } = null
    defaultRounds: number = 6

    Accessors

    Methods

    • Returns void

      The earliest Trip on the route (and its index) r at the stop p, or null if no one is catchable.

      Finds the earliest Trip on the route r at the stop p.

    • Parameters

      • length: number

        Length of the path, in m.

      Returns number

      Duration in ms