From 59a2b009c6c9710c46126b4462491e1db29b0949 Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Thu, 20 Jun 2024 16:55:55 +0700 Subject: [PATCH] update --- src/mcts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcts.jl b/src/mcts.jl index 1896444..c37d9f2 100644 --- a/src/mcts.jl +++ b/src/mcts.jl @@ -286,7 +286,7 @@ julia> # Signature """ -function simulate(node::MCTSNode, transition::Function, args...; +function simulate(node::MCTSNode, transition::Function, args::NamedTuple; maxdepth::Integer=3, totalsample::Integer=3 )::Union{Tuple{Number, Dict{Symbol, <:Any}}, Tuple{Number, Nothing}}