raptor
    Preparing search index...

    Class McSharedRAPTOR<TimeVal, V, CA>

    Type Parameters

    • TimeVal
    • V extends Ordered<V>
    • CA extends [V, string][]

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bags: Map<SharedID, Bag<JourneyStep<TimeVal, SharedID, SharedID, V, CA>>>[] = []

    A Label Bags_i(SI) stores earliest known arrival times and best values for criteria at stop SI with up to i trips.

    Bpt: null | Bag<JourneyStep<TimeVal, SharedID, SharedID, V, CA>> = null
    criteria: {
        [K in string | number | symbol]: Criterion<
            TimeVal,
            SharedID,
            SharedID,
            CA[K<K>][0],
            CA[K<K>][1],
        >
    }
    k: number = 0

    Round k <=> at most k transfers

    marked: Set<SharedID> = ...
    runParams:
        | null
        | {
            departureTime: TimeVal;
            ps: SharedID;
            pt: SharedID;
            rounds: number;
            settings: RAPTORRunSettings;
        } = null
    defaultRounds: number = 6

    Accessors

    Methods

    • Parameters

      • length: number

        Length of the path, in m.

      Returns number

      Duration in ms