Created
December 28, 2020 03:02
-
-
Save mlzxy/cbf373669c4b1737cb7f9ea0a8cf8087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in real-world scenaria, computational resource is usually fixed | |
# therefore, we only use time budget here | |
game_tree = Node(current_state) | |
while time_budget > 0: | |
start_time = time() | |
build(game_tree) | |
time_budget -= time() - start_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment