raptor
    Preparing search index...

    Class Label<TimeVal, SI, RI, V, CA>

    A tuple of size N+1 (time + other criteria)

    Type Parameters

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

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    criteria: {
        [K in string | number | symbol]: Criterion<
            TimeVal,
            SI,
            RI,
            CA[K<K>][0],
            CA[K<K>][1],
        >
    }
    timeType: Time<TimeVal>
    values: Record<CA[number][1], CA[number][0]> & { time: TimeVal }

    Accessors

    Methods

    • Compares this label with another by checking criteria domination.

      Parameters

      Returns null | 0 | 1 | -1

      -1 if this label is dominated by l, 0 if they are equal, 1 otherwise

    • Parameters

      • time: TimeVal
      • data: [
            prefixJourney: Journey<
                TimeVal,
                SI,
                RI,
                CA[number][0],
                [[CA[number][0], CA[number][1]]],
            >,
            newJourneyStep: Omit<
                JourneyStep<
                    TimeVal,
                    SI,
                    RI,
                    CA[number][0],
                    [[CA[number][0], CA[number][1]]],
                    LabelType,
                    false,
                >,
                "label" | "compare",
            >,
            time: TimeVal,
            stop: SI,
        ]

      Returns Label<TimeVal, SI, RI, V, CA>

    • Type Parameters

      • C extends [V, string]

      Parameters

      • criterionName: C[1]

      Returns C[0]