diff options
Diffstat (limited to '')
-rw-r--r-- | python/MCTS.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/MCTS.py b/python/MCTS.py index 677d994..91cd41c 100644 --- a/python/MCTS.py +++ b/python/MCTS.py @@ -109,7 +109,7 @@ class MCTSGameController(GameController): move = choice(tuple(node.pending_moves)) return node.expand_move(move) - def simulate(self, state, max_iterations=1000): + def simulate(self, state, max_iterations=2000): state = deepcopy(state) move = state.get_random_move() @@ -129,7 +129,7 @@ class MCTSGameController(GameController): node.score += node.get_score(result) node = node.parent - def get_next_move(self, state, time_allowed=1.0): + def get_next_move(self, state, time_allowed=2.0): super(MCTSGameController, self).get_next_move(state) self.root_node = MCTSNode(state) |