Created
February 4, 2019 14:49
-
-
Save mohsenheydari/f1ec24ed5085d28ea08974a1fbed205f to your computer and use it in GitHub Desktop.
MCTS - Select promising child function in TreeSearch class
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
selectPromisingChild(node) { | |
while(!node.state.isTerminal && node.isFullyExpanded) { | |
node = this.uct.findBestChild(node); | |
} | |
return node; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment