update
This commit is contained in:
@@ -32,7 +32,7 @@ using ..type, ..mcts, ..util
|
||||
aggressively explore new state.
|
||||
|
||||
# Return
|
||||
- `(bestNextState, BestFinalState)::@NamedTuple{bestNextState::T, bestFinalState::T}`
|
||||
- `NamedTuple{(:bestNextState, :bestFinalState), Tuple{T, T}}`
|
||||
the best next state and the best final state
|
||||
|
||||
# Example
|
||||
@@ -49,7 +49,7 @@ function runMCTS(
|
||||
maxdepth::Integer=3,
|
||||
maxiterations::Integer=10,
|
||||
explorationweight::Number=1.0,
|
||||
)::@NamedTuple{bestNextState::T, bestFinalState::T} where {T<:Any}
|
||||
)::NamedTuple{(:bestNextState, :bestFinalState), Tuple{T, T}} where {T<:Any}
|
||||
|
||||
root = MCTSNode("root", initialstate, 0, 0, 0, 0, false, nothing, Dict{String, MCTSNode}())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user