raptor
    Preparing search index...

    Class RAPTORData<TimeVal, SI, RI, TI>

    Type Parameters

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

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    _routes: Map<RI, Route<TimeVal, SI, RI, TI>>
    _stops: Map<SI, Stop<SI, RI>>
    baseStops: Map<SI, Stop<SI, RI>>
    timeType: Time<TimeVal>

    Accessors

    Methods

    • Parameters

      • stops: [id: SI, connectedRoutes: readonly RI[], transfers: FootPath<SI>[]][]

      Returns void

      Attach additional data that can be edited at any time. O(whole data, base + attached) Does not handle duplicate data.