mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-06 17:29:31 +08:00
Add tests, remove main
in MonteCarloTreeSearch
(#5673)
This commit is contained in:
@ -39,12 +39,6 @@ public class MonteCarloTreeSearch {
|
||||
static final int WIN_SCORE = 10;
|
||||
static final int TIME_LIMIT = 500; // Time the algorithm will be running for (in milliseconds).
|
||||
|
||||
public static void main(String[] args) {
|
||||
MonteCarloTreeSearch mcts = new MonteCarloTreeSearch();
|
||||
|
||||
mcts.monteCarloTreeSearch(mcts.new Node(null, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Explores a game tree using Monte Carlo Tree Search (MCTS) and returns the
|
||||
* most promising node.
|
||||
|
Reference in New Issue
Block a user