Type alias LocalEstimator

LocalEstimator: ((board, color_to_move, trials, tolerance) => NumberMatrix)

The interface that local estimators should follow.

Type declaration

    • (board, color_to_move, trials, tolerance): NumberMatrix
    • Parameters

      • board: number[][]

        representation of the board with any dead stones already removed (black = 1, empty = 0, white = -1)

      • color_to_move: "black" | "white"

        the player whose turn it is

      • trials: number

        number of playouts. Not applicable to all estimators, but higher generally means higher accuracy and higher compute cost

      • tolerance: number

        (0.0-1.0) confidence required to mark an intersection not neutral.

      Returns NumberMatrix