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::RNG
a random number generatorprobelm::P
the POMDP or MDP problemupdater::U
a belief updater (default toNothingUpdater
in the above constructor)
POMDPPolicies.RandomSolver
— Typesolver that produces a random policy