aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2021-04-28 16:21:44 -0500
committerMatt Strapp <strap012@umn.edu>2021-04-28 16:21:44 -0500
commit0002595c67d63a85f30038f6723cc6ce2986b65b (patch)
treec83bec20f0d9bb403c942e196caa649b3bc97cb4
parentUncomment thing essential for choosing legal moves (diff)
downloadcsci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.tar
csci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.tar.gz
csci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.tar.bz2
csci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.tar.lz
csci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.tar.xz
csci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.tar.zst
csci4511w-0002595c67d63a85f30038f6723cc6ce2986b65b.zip
Double time
(to test)
-rw-r--r--python/MCTS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/MCTS.py b/python/MCTS.py
index 677d994..89f65a4 100644
--- a/python/MCTS.py
+++ b/python/MCTS.py
@@ -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)