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

    Interface MachineDraft<S>

    A machine draft. The draft may be invalid, and start may be absent.

    interface MachineDraft<S extends readonly StoreSpec[] = readonly StoreSpec[]> {
        kind: MachineKind;
        inputAlphabet: readonly AlphabetSymbol[];
        visibleAlphabet?: VisibleAlphabet;
        states: readonly MachineState[];
        start?: `state:${string}`;
        accepting: readonly `state:${string}`[];
        rejecting: readonly `state:${string}`[];
        acceptBy: ControlAcceptance;
        stores: S;
        transitions: readonly Transition<S>[];
    }

    Type Parameters

    Index
    inputAlphabet: readonly AlphabetSymbol[]
    visibleAlphabet?: VisibleAlphabet
    states: readonly MachineState[]
    start?: `state:${string}`
    accepting: readonly `state:${string}`[]
    rejecting: readonly `state:${string}`[]
    stores: S
    transitions: readonly Transition<S>[]