This commit is contained in:
narawat lamaiin
2024-04-27 19:22:19 +07:00
parent db42a55e00
commit 56935a6aae
3 changed files with 28 additions and 5 deletions

View File

@@ -345,7 +345,8 @@ function runMCTS(
isterminal::Function,
n::Integer,
maxDepth::Integer,
maxIterations::Integer, w::Float64) where {T1<:agent}
maxIterations::Integer,
w::Float64) where {T1<:agent}
statetype = typeof(initialState)
root = MCTSNode(initialState, 0, 0.0, Dict{statetype, MCTSNode}())