⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 deterministicparticleresampler.hpp

📁 dysii是一款非常出色的滤波函数库
💻 HPP
字号:
#ifndef INDII_ML_FILTER_DETERMINISTICPARTICLERESAMPLER_HPP#define INDII_ML_FILTER_DETERMINISTICPARTICLERESAMPLER_HPP#include "ParticleResampler.hpp"namespace indii {  namespace ml {    namespace filter {/** * Deterministic particle resampler. * * @author Lawrence Murray <lawrence@indii.org> * @version $Rev: 404 $ * @date $Date: 2008-03-05 14:52:55 +0000 (Wed, 05 Mar 2008) $ * * Produces a new approximation of a weighted sample set using a set * of equally weighted samples, possibly with duplication @ref * Kitagawa1996 "(Kitagawa 1996)". * * @section DeterministicParticleResampler_references References * * @anchor Kitagawa1996 * Kitagawa, G. Monte Carlo %Filter and %Smoother for Non-Gaussian * Nonlinear State Space Models. <i>Journal of Computational and * Graphical Statistics</i>, <b>1996</b>, 5, 1-25. */class DeterministicParticleResampler : public ParticleResampler {public:  /**   * Constructor.   *   * @param P Number of particles to resample from each distribution   * supplied to resample(). If zero, will resample the same number of   * particles as the distribution supplied.   */  DeterministicParticleResampler(const unsigned int P = 0);  /**   * Destructor.   */  virtual ~DeterministicParticleResampler();  /**   * Set the number of particles to resample.   *   * @param P Number of particles to resample from each distribution   * supplied to resample(). If zero, will resample the same number of   * particles as the distribution supplied.   */  void setNumParticles(const unsigned int P = 0);  /**   * Resample the distribution. This produces a new approximation of   * the same distribution using a set of equally weighted sample   * points. Sample points are selected using the deterministic   * resampling method given in the appendix of @ref Kitagawa1996   * "Kitagawa (1996)".   *   * @return The resampled distribution.   */  virtual indii::ml::aux::DiracMixturePdf resample(      indii::ml::aux::DiracMixturePdf& p);private:  /**   * Number of particles to resample from each distribution.   */  unsigned int P;};    }  }}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -