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

    Interface StartedDfaBuilder

    A DFA builder that fills missing cells with one new sink when consumed.

    interface StartedDfaBuilder {
        addState(): StateIndex;
        markAccepting(state: StateIndex): void;
        setTransition(
            from: StateIndex,
            symbol: AlphabetSymbol,
            to: StateIndex,
        ): void;
        build(): Dfa;
    }
    Index
    • Parameters

      Returns void

    • Returns Dfa