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

    Interface CounterView

    A real-time deterministic one-counter automaton. A move depends on the state, the letter and whether the counter is zero. Moves into states that cannot reach an accepting state are left out, because no word continues to acceptance from them.

    interface CounterView {
        ids: readonly string[];
        alphabet: readonly string[];
        start: number;
        accepting: readonly boolean[];
        zero: readonly ReadonlyMap<string, CounterMove>[];
        positive: readonly ReadonlyMap<string, CounterMove>[];
    }
    Index
    ids: readonly string[]
    alphabet: readonly string[]
    start: number
    accepting: readonly boolean[]
    zero: readonly ReadonlyMap<string, CounterMove>[]

    The move on a letter when the counter is zero, by state.

    positive: readonly ReadonlyMap<string, CounterMove>[]

    The move on a letter when the counter is positive, by state.