Closed larkz closed 3 years ago
Despite implementing the initialState()
method in the MDP interface the root node keeps changing.
I identified the location where this is happening, https://github.com/JunTaoLuo/KotlinMCTS/blob/405cefe36366a7a2499955b8e04b687906ee4f87/app/src/main/kotlin/Mcts/MCTSSolver.kt#L153
This code mutates the root stateNode in the solver for some reason. It no longer goes back to the original grid of all zeroes, but always continues from the last grid configuration. @JunTaoLuo
Originally posted by @larkz in https://github.com/JunTaoLuo/KotlinMCTS/pull/5#r546702106