update
This commit is contained in:
@@ -332,6 +332,9 @@ end
|
||||
julia>
|
||||
```
|
||||
|
||||
# TODO
|
||||
[PENDING] add Reflect()
|
||||
|
||||
# Signature
|
||||
"""
|
||||
function isterminal(state::T)::Tuple{Bool, <:Number} where {T<:AbstractDict}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user