update
This commit is contained in:
@@ -130,10 +130,14 @@ function runMCTS(
|
|||||||
push!(highValueStateList, take!(highValueState))
|
push!(highValueStateList, take!(highValueState))
|
||||||
end
|
end
|
||||||
|
|
||||||
return (root=root,
|
result = (
|
||||||
|
root=root,
|
||||||
bestNextState=bestNextState.state,
|
bestNextState=bestNextState.state,
|
||||||
bestTerminalState=bestTerminalState.state,
|
bestTerminalState=bestTerminalState.state,
|
||||||
highValueStateList=highValueStateList)
|
highValueStateList=highValueStateList
|
||||||
|
)
|
||||||
|
|
||||||
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
""" Search the best action to take for a given state and task
|
""" Search the best action to take for a given state and task
|
||||||
|
|||||||
Reference in New Issue
Block a user