Random Policy
A policy that returns a randomly selected action using rand(rng, actions(pomdp)).
POMDPPolicies.RandomPolicy — TypeRandomPolicy{RNG<:AbstractRNG, P<:Union{POMDP,MDP}, U<:Updater}a generic policy that uses the actions function to create a list of actions and then randomly samples an action from it.
Constructor:
`RandomPolicy(problem::Union{POMDP,MDP};
rng=Random.GLOBAL_RNG,
updater=NothingUpdater())`Fields
rng::RNGa random number generatorprobelm::Pthe POMDP or MDP problemupdater::Ua belief updater (default toNothingUpdaterin the above constructor)
POMDPPolicies.RandomSolver — Typesolver that produces a random policy