mwg API
    Preparing search index...

    Interface RootSplit<State, Move>

    One root move paired with the position it reaches: the unit of work a root-split search hands out. The split itself is synchronous and cheap (legal moves plus one apply each); the expensive part is scoring each child, which is what leaves the caller's thread.

    interface RootSplit<State, Move> {
        child: State;
        move: Move;
    }

    Type Parameters

    • State
    • Move
    Index
    child: State
    move: Move