Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. anytime_value = AnytimeValue() # TA Note: Use this to store values.
  2. for depth in range(1, depth_limit + 1):
  3. value = minimax_search_alphabeta(state, heuristic_fn=heuristic_fn, depth_limit=depth, maximize=maximize)
  4. anytime_value.set_value(value)
  5. return anytime_value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement