I'm trying to use BasicPOMCP with the RockSample Environment. When adding a new obs node in BasicPOMCP.jl at row 180 the environment will return all available actions instead of only the legal action for the current state.
The problem comes from the fact that when calling the actions function POMCP is passing the pomdp and LeafNodeBelief but since the environment does not implement any function to handle LeafNodeBelief will return all available actions.
I'm not sure if this issue should be fixed here or in the RockSample environment, I thought to open the issue here since LeafNodeBelief is a structure specific to this package and the environment should be as generic as possible.
A quick fix might be to give only pomdp and the state to the actions function
I'm trying to use BasicPOMCP with the RockSample Environment. When adding a new obs node in
BasicPOMCP.jl
at row 180 the environment will return all available actions instead of only the legal action for the current state. The problem comes from the fact that when calling the actions function POMCP is passing the pomdp and LeafNodeBelief but since the environment does not implement any function to handle LeafNodeBelief will return all available actions.I'm not sure if this issue should be fixed here or in the RockSample environment, I thought to open the issue here since LeafNodeBelief is a structure specific to this package and the environment should be as generic as possible. A quick fix might be to give only pomdp and the state to the actions function