Hi Dr. Sunberg,
Thanks so much for the help!
To answer your questions:
1. Yes, I am using the POMCP solver from BasicPOMCP
2. When I call rand(d) I get the error "
ArgumentError: Sampler for this object is not defined "
3. My gen function is returning (sp=sp, o=o, r=r)
I based my implementation on the minimal example Light-Dark 1D to get the solver running. I was also wondering if you could briefly outline how to implement a hand-designed policy? I'm not quite sure how a policy is formatted in JuliaPOMDP, or where I would write one myself.
I have tried looking at belief states, but when I show the particle collection I get something like this:
"ParticleCollection{Array{Int64,1}}([[89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0], [89, 11, 0, 0] ..." where every particle seems to be the same. I'm was wondering if this is the right way to look at the belief states, or how I can see the weights of the particles that are making up the belief.
Thanks again!
-Leo