Bayes++ Bayesian Filtering Classes  Release 2014.5 - Copyright (c) 2003,2004,2005,2006,2011,2012,2014 Michael Stevens
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
Bayesian_filter::SIR_scheme Class Reference

#include <SIRFlt.hpp>

Inheritance diagram for Bayesian_filter::SIR_scheme:
Bayesian_filter::Sample_filter Bayesian_filter::Likelihood_filter Bayesian_filter::Functional_filter Bayesian_filter::Sample_state_filter Bayesian_filter::Bayes_filter_base Bayesian_filter::Bayes_filter_base Bayesian_filter::Bayes_filter_base Bayesian_filter::Bayes_base Bayesian_filter::Bayes_base Bayesian_filter::Bayes_base Bayesian_filter::Filter_scheme< SIR_scheme > Bayesian_filter::SIR_kalman_scheme Bayesian_filter::Filter_scheme< SIR_kalman_scheme >

Public Member Functions

 SIR_scheme (std::size_t x_size, std::size_t s_size, SIR_random &random_helper)
 
SIR_schemeoperator= (const SIR_scheme &)
 
void init_S ()
 
Float update_resample ()
 
virtual Float update_resample (const Importance_resampler &resampler)
 
void predict (Functional_predict_model &f)
 
void predict (Sampled_predict_model &f)
 
void observe (Likelihood_observe_model &h, const FM::Vec &z)
 
void observe_likelihood (const FM::Vec &lw)
 
virtual void roughen ()
 
- Public Member Functions inherited from Bayesian_filter::Sample_filter
 Sample_filter (std::size_t x_size, std::size_t s_size)
 
- Public Member Functions inherited from Bayesian_filter::Bayes_base
virtual ~Bayes_base ()=0
 
- Public Member Functions inherited from Bayesian_filter::Sample_state_filter
 Sample_state_filter (std::size_t x_size, std::size_t s_size)
 
 ~Sample_state_filter ()=0
 
void init_sample (const FM::ColMatrix &initS)
 
std::size_t unique_samples () const
 

Static Public Member Functions

static void copy_resamples (FM::ColMatrix &P, const Importance_resampler::Resamples_t &presamples)
 
- Static Public Member Functions inherited from Bayesian_filter::Bayes_base
static void error (const Numeric_exception &a)
 
static void error (const Logic_exception &a)
 

Public Attributes

std::size_t stochastic_samples
 
Float rougheningK
 
SIR_randomrandom
 
- Public Attributes inherited from Bayesian_filter::Sample_state_filter
FM::ColMatrix S
 

Protected Member Functions

void roughen_minmax (FM::ColMatrix &P, Float K) const
 

Protected Attributes

Importance_resampler::Resamples_t resamples
 
FM::DenseVec wir
 
bool wir_update
 

Friends

class SIR_kalman_scheme
 

Additional Inherited Members

- Public Types inherited from Bayesian_filter::Bayes_base
typedef Bayesian_filter_matrix::Float Float
 

Constructor & Destructor Documentation

Bayesian_filter::SIR_scheme::SIR_scheme ( std::size_t  x_size,
std::size_t  s_size,
SIR_random random_helper 
)

References rougheningK.

Member Function Documentation

void Bayesian_filter::SIR_scheme::copy_resamples ( FM::ColMatrix P,
const Importance_resampler::Resamples_t presamples 
)
static
void Bayesian_filter::SIR_scheme::init_S ( )
virtual
void Bayesian_filter::SIR_scheme::observe ( Likelihood_observe_model h,
const FM::Vec z 
)
virtual
void Bayesian_filter::SIR_scheme::observe_likelihood ( const FM::Vec lw)
virtual

Implements Bayesian_filter::Sample_filter.

References wir, and wir_update.

SIR_scheme & Bayesian_filter::SIR_scheme::operator= ( const SIR_scheme a)

References stochastic_samples, and wir_update.

void Bayesian_filter::SIR_scheme::predict ( Functional_predict_model f)
inlinevirtual
void Bayesian_filter::SIR_scheme::predict ( Sampled_predict_model f)
virtual
virtual void Bayesian_filter::SIR_scheme::roughen ( )
inlinevirtual

Reimplemented in Bayesian_filter::SIR_kalman_scheme.

Referenced by update_resample().

void Bayesian_filter::SIR_scheme::roughen_minmax ( FM::ColMatrix P,
Float  K 
) const
protected
Float Bayesian_filter::SIR_scheme::update_resample ( )
inlinevirtual
SIR_scheme::Float Bayesian_filter::SIR_scheme::update_resample ( const Importance_resampler resampler)
virtual

Friends And Related Function Documentation

friend class SIR_kalman_scheme
friend

Member Data Documentation

SIR_random& Bayesian_filter::SIR_scheme::random

Referenced by roughen_minmax(), and update_resample().

Importance_resampler::Resamples_t Bayesian_filter::SIR_scheme::resamples
protected

Referenced by update_resample().

Float Bayesian_filter::SIR_scheme::rougheningK

Referenced by SIR_scheme().

std::size_t Bayesian_filter::SIR_scheme::stochastic_samples
FM::DenseVec Bayesian_filter::SIR_scheme::wir
protected
bool Bayesian_filter::SIR_scheme::wir_update
protected

The documentation for this class was generated from the following files: