Closed maxmouchet closed 7 years ago
Hi Maxime,
You need to write a new method for states
in the POMDPs
namespace. You need to either need to
1) explicitly import the function from POMDPs, i.e. use importall POMDPs
instead of using POMDPs
, or
2) use the fully-qualified method name, i.e.
using POMDPs
type MyMDP <: MDP{Int64, Bool} end
POMDPs.states(::MyMDP) = [0, 1, 2, 3]
Hope that helps!
Ok, I understand, it's working now. Thanks for your time!
Cool, good to hear you got it working
Hi,
When I run
@requirements_info
on this minimal example, it saysstates
andn_states
are not defined. But they are. Or have I missed something ?This is on Julia v0.5 and POMDPs v0.4.1.