Discrete

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.

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 problem
  • state_list : a vector of ordered states
  • b : the probability vector
source
DiscreteUpdater

An updater type to update discrete belief using the discrete Bayesian filter.

Constructor

DiscreteUpdater(pomdp::POMDP)

Fields

  • pomdp <: POMDP
source
 uniform_belief(pomdp)

Return a DiscreteBelief with equal probability for each state.

source