Discrete
BeliefUpdaters contains a default implementation of a discrete bayesian filter. The updater is defined with the DiscreteUpdater
type. The DiscreteBelief
type is provided to represent discrete beliefs for discrete state POMDPs.
A convenience function uniform_belief
is provided to create a DiscreteBelief
with equal probability for each state.
BeliefUpdaters.DiscreteBelief
— Type.DiscreteBelief
A belief specified by a probability vector.
Normalization of b
is assumed in some calculations (e.g. pdf), but it is only automatically enforced in update(...)
, and a warning is given if normalized incorrectly in DiscreteBelief(pomdp, b)
.
Constructor
DiscreteBelief(pomdp, b::Vector{Float64}; check::Bool=true)
Fields
pomdp
: the POMDP problemstate_list
: a vector of ordered statesb
: the probability vector
BeliefUpdaters.DiscreteUpdater
— Type.DiscreteUpdater
An updater type to update discrete belief using the discrete Bayesian filter.
Constructor
DiscreteUpdater(pomdp::POMDP)
Fields
pomdp <: POMDP
BeliefUpdaters.uniform_belief
— Method. uniform_belief(pomdp)
Return a DiscreteBelief with equal probability for each state.