Public Member Functions | List of all members
uniform_resampler< Particle, Numeric > Struct Template Reference

#include <particlefilter.h>

Public Member Functions

Numeric neff (const std::vector< Particle > &particles) const
 
std::vector< Particleresample (const std::vector< Particle > &particles, int nparticles=0) const
 
std::vector< unsigned int > resampleIndexes (const std::vector< Particle > &particles, int nparticles=0) const
 

Detailed Description

template<class Particle, class Numeric>
struct uniform_resampler< Particle, Numeric >

Definition at line 148 of file particlefilter.h.

Member Function Documentation

◆ neff()

template<class Particle , class Numeric >
Numeric uniform_resampler< Particle, Numeric >::neff ( const std::vector< Particle > &  particles) const

Definition at line 231 of file particlefilter.h.

◆ resample()

template<class Particle, class Numeric>
std::vector< Particle > uniform_resampler< Particle, Numeric >::resample ( const std::vector< Particle > &  particles,
int  nparticles = 0 
) const

Definition at line 192 of file particlefilter.h.

◆ resampleIndexes()

template<class Particle , class Numeric >
std::vector< unsigned int > uniform_resampler< Particle, Numeric >::resampleIndexes ( const std::vector< Particle > &  particles,
int  nparticles = 0 
) const

Definition at line 156 of file particlefilter.h.


The documentation for this struct was generated from the following file:


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Mon Feb 28 2022 22:59:20