19 #ifndef __HISTOGRAM_FILTER__ 20 #define __HISTOGRAM_FILTER__ 23 #include "../pdf/discretepdf.h" 24 #include "../model/measurementmodel.h" 25 #include "../model/discretesystemmodel.h" 102 #endif // __HISTOGRAM_FILTER__ Abstract class representing an interface for Bayesian Filters.
bool UpdateInternal(SystemModel< int > *const sysmodel, const int &u, MeasurementModel< MeasVar, int > *const measmodel, const MeasVar &z, const int &s)
Actual implementation of Update, varies along filters.
Class representing a PDF on a discrete variable.
Class representing the histogram filter.
virtual ~HistogramFilter()
Destructor.
void MeasUpdate(MeasurementModel< MeasVar, int > *const measmodel, const MeasVar &z, const int &s)
Measurement Update.
virtual DiscretePdf * PostGet()
Get Posterior density.
void SysUpdate(SystemModel< int > *const sysmodel, const int &u)
HistogramFilter(DiscretePdf *prior)
Constructor.
vector< Probability > _old_prob
While updating store list of old probabilities.
vector< Probability > _new_prob
While updating store list of new probabilities.