Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- helper2 t@(Tree state action noVisits score children) gen = (helper2 (children !! (mod (fst (next gen)) (length children))) (snd (next gen))) : t : [];
- rolloutTree t@(Tree state action noVisits score children) gen = (helper2 t gen , (outcome state), gen)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement