Skip to content

Commit dd7ef2b

Browse files
committed
Include the exploration variable and the maximum simulation actions
in the extras returned by get_action.
1 parent 2511a52 commit dd7ef2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcts/uct.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_action(self):
4646
# current game state and return it.
4747

4848
self.max_depth = 0
49-
self.data = {}
49+
self.data = {'C': self.C, 'max_actions': self.max_actions}
5050
self.stats.clear()
5151

5252
state = self.history[-1]

0 commit comments

Comments
 (0)