algorithms/mcts_basic.py
def _simulate(self, node):
        "Returns the reward for a random simulation (to completion) of `node`"
        while True:
            if node.is_terminal():
                rewards = node.rewards()
                return rewards

            node = node.find_random_child()
Returns the reward for a random simulation (to completion) of `node`
Returns the reward for a random simulation (to completion) of `node`
Returns the reward for a random simulation ( to completion ) of ` node `
def _simulate(self, node):
        while True:
            if node.is_terminal():
                rewards = node.rewards()
                return rewards
            node = node.find_random_child()
def _simulate ( self , node ) : while True : if node . is_terminal ( ) : rewards = node . rewards ( ) return rewards node = node . find_random_child ( )
Returns the reward for a random simulation (to completion) of `node`
Returns the reward for a random simulation ( to completion ) of ` node `
"Returns the reward for a random simulation (to completion) of `node`"
self
node