From 8cc5606ae807016a7f9d1c56689c9866e79784df Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Mon, 6 May 2024 21:27:50 +0700 Subject: [PATCH] update --- src/mcts.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mcts.jl b/src/mcts.jl index c4d8d47..3648ce9 100644 --- a/src/mcts.jl +++ b/src/mcts.jl @@ -126,7 +126,7 @@ julia> # TODO [] update docstring [] try loop should limit to 3 times. if not succeed, skip - + [] newNodeKey ∉ keys(node.children). New state may have semantic vector close enought to one of existing child state. Which can be assume that they are the same state semantically-wise. # Signature """ function expand(a::T1, node::MCTSNode, decisionMaker::Function, @@ -190,7 +190,7 @@ function simulate(a, node::MCTSNode, decisionMaker::Function, progressValueEstim node = selectChildNode(node) end end - + #BUG new expanded state has reward but it is not included because it is over maxdept by 1 state return simTrajectoryReward end