Package search.mcts_lib
Class MCTS_lib
java.lang.Object
search.mcts_lib.MCTS_lib
Implementation of Monte Carlo Tree Search (MCTS) for creating an opening library document.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintrunMCTS(MoveGenerator moveGenerator, Color color) Runs the Monte Carlo Tree Search (MCTS) algorithm to determine the best move.
-
Field Details
-
timeLimit
public double timeLimit
-
-
Constructor Details
-
MCTS_lib
public MCTS_lib()
-
-
Method Details
-
runMCTS
Runs the Monte Carlo Tree Search (MCTS) algorithm to determine the best move.- Parameters:
moveGenerator- The MoveGenerator object used to play the move lines on.color- The color of the player to move.- Returns:
- The best move integer determined by MCTS.
-