#include <resamplers.h>
|
| using | ssv = Eigen::Matrix< float_t, dimx, 1 > |
| |
| using | arrayVec = std::array< ssv, nparts > |
| |
| using | arrayFloat = std::array< float_t, nparts > |
| |
| using | arrayInt = std::array< unsigned int, nparts > |
| |
| using | usvr = Eigen::Matrix< float_t, 1, 1 > |
| |
|
| using | ssv = Eigen::Matrix< float_t, dimx, 1 > |
| |
| using | arrayVec = std::array< ssv, nparts > |
| |
| using | arrayFloat = std::array< float_t, nparts > |
| |
| using | usvr = Eigen::Matrix< float_t, dimur, 1 > |
| |
|
| rbase_hcs ()=default |
| | The default constructor. There is no seed-setting.
|
| |
| virtual void | resampLogWts (arrayVec &oldParts, arrayFloat &oldLogUnNormWts, const usvr &ur)=0 |
| | Function to resample from log unnormalized weights. More...
|
| |
| std::array< unsigned, nparts > | get_permutation (const arrayVec &unsortedParts) |
| | get a permutation based on unsorted particle samples (not their weights) More...
|
| |
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t>
class pf::resamplers::sys_hilb_resampler< nparts, dimx, num_hilb_bits, float_t >
- Author
- taylor
- Date
- 08/06/21
◆ arrayFloat
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t >
type alias for array of float_ts
◆ arrayInt
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t >
type alias for array of integers
◆ arrayVec
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t >
type alias for array of Eigen Matrices
◆ ssv
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t >
type alias for linear algebra stuff
◆ usvr
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t >
type alias for resampling normal random variable
◆ resampLogWts()
template<size_t nparts, size_t dimx, size_t num_hilb_bits, typename float_t >
resamples particles.
- Parameters
-
| oldParts | the old particles that get changed in place |
| oldLogUnNormWts | the old log unnormalized weights that get changed in place |
| ur | standard normal random variable used to resample indexes |
The documentation for this class was generated from the following file: