Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def select_leaf(self):
- current = self
- while current.is_expanded:
- best_move = current.best_child()
- current = current.maybe_add_child(best_move)
- return current
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement