Skip to content

Instantly share code, notes, and snippets.

@DanielSlater
Created October 21, 2017 20:49
Show Gist options
  • Save DanielSlater/2890a5d2c647ee39c5df90981b36c765 to your computer and use it in GitHub Desktop.
Save DanielSlater/2890a5d2c647ee39c5df90981b36c765 to your computer and use it in GitHub Desktop.
current_board_state = move_states[move]
if first_unvisited_node:
rollout_path.append((current_board_state, current_side))
if current_board_state not in state_samples:
first_unvisited_node = False
state_values[current_board_state] = value_func(current_board_state)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment