TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface QueueInput<Q, A, G>

    Input and queue references are inferred only from their separate declarations.

    interface QueueInput<
        Q extends NonEmptyNames,
        A extends readonly string[],
        G extends readonly string[],
    > {
        states: Q;
        alphabet: A;
        queueAlphabet: G;
        start: NoInfer<Q[number]>;
        accept: readonly NoInfer<Q[number]>[];
        initialQueue: readonly NoInfer<G[number]>[];
        transitions: readonly QueueTransition<
            NoInfer<Q[number]>,
            NoInfer<A[number]>,
            NoInfer<G[number]>,
        >[];
    }

    Type Parameters

    • Q extends NonEmptyNames
    • A extends readonly string[]
    • G extends readonly string[]
    Index
    states: Q
    alphabet: A
    queueAlphabet: G
    start: NoInfer<Q[number]>
    accept: readonly NoInfer<Q[number]>[]
    initialQueue: readonly NoInfer<G[number]>[]
    transitions: readonly QueueTransition<
        NoInfer<Q[number]>,
        NoInfer<A[number]>,
        NoInfer<G[number]>,
    >[]