#include <particle_filter.h>
Public Member Functions | |
const ParticleT & | heaviest_particle () const |
ParticleT & | heaviest_particle () |
void | normalize_weights () |
ParticleFilter (std::shared_ptr< ParticleFactory< ParticleT >> p_ftry, unsigned n=1) | |
std::vector< ParticlePtr > & | particles () |
const std::vector< ParticlePtr > & | particles () const |
bool | try_resample () |
Private Types | |
using | ParticlePtr = std::shared_ptr< ParticleT > |
Private Attributes | |
std::shared_ptr< ParticleFactory< ParticleT > > | _particle_supplier |
std::vector< ParticlePtr > | _particles |
UniformResamling< ParticlePtr > | _resampler |
Definition at line 70 of file particle_filter.h.
|
private |
Definition at line 72 of file particle_filter.h.
|
inline |
Definition at line 74 of file particle_filter.h.
|
inline |
Definition at line 114 of file particle_filter.h.
|
inline |
Definition at line 123 of file particle_filter.h.
|
inline |
Definition at line 108 of file particle_filter.h.
|
inline |
Definition at line 128 of file particle_filter.h.
|
inline |
Definition at line 129 of file particle_filter.h.
|
inline |
Definition at line 83 of file particle_filter.h.
|
private |
Definition at line 134 of file particle_filter.h.
|
private |
Definition at line 135 of file particle_filter.h.
|
private |
Definition at line 137 of file particle_filter.h.