Skip to content

MctsResult

Defined in: src/modules/game-search/mcts.ts:38

What mctsSearch found.

M

iterations: number

Defined in: src/modules/game-search/mcts.ts:40

Iterations run; 0 when the state had no move or a single move.


move: M | undefined

Defined in: src/modules/game-search/mcts.ts:42

The most visited move, or undefined when the state has no legal move.


value: number

Defined in: src/modules/game-search/mcts.ts:44

The mean result of move for the player to move at the root, from -1 to 1.


visits: number

Defined in: src/modules/game-search/mcts.ts:46

How many iterations went through move.