[][src]Module filter::discrete_bayes

Provides implementations of and related to Discrete Bayes filtering.

Enums

EdgeHandling

Determines what happens at the boundaries of the probability distribution.

Functions

normalize

Normalize distribution pdf in-place so it sums to 1.0.

predict

Performs the discrete Bayes filter prediction step, generating the prior.

update

Computes the posterior of a discrete random variable given a discrete likelihood and prior. In a typical application the likelihood will be the likelihood of a measurement matching your current environment, and the prior comes from discrete_bayes.predict().