This commit is contained in:
narawat lamaiin
2024-05-06 14:01:51 +07:00
parent dc584e5381
commit 097a51b956
2 changed files with 4 additions and 1 deletions

View File

@@ -415,6 +415,7 @@ julia>
# TODO
[] update docstring
[PENDING] return best plan
# Signature
"""
@@ -441,7 +442,6 @@ function runMCTS(
expand(a, node, decisionMaker, progressValueEstimator, isterminal, n=n)
leaf_node = selectChildNode(node)
# BUG i didn't assign parent node for this leaf node yet
simTrajectoryReward = simulate(a, leaf_node, decisionMaker, progressValueEstimator,
isterminal, maxDepth, n=n)
backpropagate(leaf_node, simTrajectoryReward)