Bayes Filters Library
|
#include <Resampling.h>
Public Member Functions | |
Resampling (unsigned int seed) noexcept | |
Resampling () noexcept | |
Resampling (const Resampling &resampling) noexcept | |
Resampling (Resampling &&resampling) noexcept | |
virtual | ~Resampling () noexcept=default |
Resampling & | operator= (const Resampling &resampling) |
Resampling & | operator= (Resampling &&resampling) noexcept |
Resampling & | operator= (const Resampling &&resampling) noexcept |
virtual void | resample (const bfl::ParticleSet &cor_particles, bfl::ParticleSet &res_particles, Eigen::Ref< Eigen::VectorXi > res_parents) |
virtual double | neff (const Eigen::Ref< const Eigen::VectorXd > &cor_weights) |
Private Attributes | |
std::mt19937_64 | generator_ |
Definition at line 22 of file Resampling.h.
|
noexcept |
Definition at line 16 of file Resampling.cpp.
|
noexcept |
Definition at line 21 of file Resampling.cpp.
|
noexcept |
Definition at line 26 of file Resampling.cpp.
|
noexcept |
Definition at line 31 of file Resampling.cpp.
|
virtualdefaultnoexcept |
|
virtual |
Definition at line 97 of file Resampling.cpp.
|
noexcept |
Definition at line 56 of file Resampling.cpp.
Resampling & Resampling::operator= | ( | const Resampling & | resampling | ) |
Definition at line 36 of file Resampling.cpp.
Referenced by bfl::ResamplingWithPrior::operator=().
|
noexcept |
Definition at line 45 of file Resampling.cpp.
|
virtual |
Reimplemented in bfl::ResamplingWithPrior.
Definition at line 67 of file Resampling.cpp.
References bfl::GaussianMixture::covariance(), bfl::GaussianMixture::mean(), bfl::ParticleSet::state(), and bfl::GaussianMixture::weight().
Referenced by bfl::ResamplingWithPrior::resample().
|
private |
Definition at line 47 of file Resampling.h.