Public Member Functions | Private Types | Private Attributes | List of all members
ParticleFilter< ParticleT > Class Template Reference

#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
 

Detailed Description

template<typename ParticleT>
class ParticleFilter< ParticleT >

Definition at line 70 of file particle_filter.h.

Member Typedef Documentation

template<typename ParticleT>
using ParticleFilter< ParticleT >::ParticlePtr = std::shared_ptr<ParticleT>
private

Definition at line 72 of file particle_filter.h.

Constructor & Destructor Documentation

template<typename ParticleT>
ParticleFilter< ParticleT >::ParticleFilter ( std::shared_ptr< ParticleFactory< ParticleT >>  p_ftry,
unsigned  n = 1 
)
inline

Definition at line 74 of file particle_filter.h.

Member Function Documentation

template<typename ParticleT>
const ParticleT& ParticleFilter< ParticleT >::heaviest_particle ( ) const
inline

Definition at line 114 of file particle_filter.h.

template<typename ParticleT>
ParticleT& ParticleFilter< ParticleT >::heaviest_particle ( )
inline

Definition at line 123 of file particle_filter.h.

template<typename ParticleT>
void ParticleFilter< ParticleT >::normalize_weights ( )
inline

Definition at line 108 of file particle_filter.h.

template<typename ParticleT>
std::vector<ParticlePtr>& ParticleFilter< ParticleT >::particles ( )
inline

Definition at line 128 of file particle_filter.h.

template<typename ParticleT>
const std::vector<ParticlePtr>& ParticleFilter< ParticleT >::particles ( ) const
inline

Definition at line 129 of file particle_filter.h.

template<typename ParticleT>
bool ParticleFilter< ParticleT >::try_resample ( )
inline

Definition at line 83 of file particle_filter.h.

Member Data Documentation

template<typename ParticleT>
std::shared_ptr<ParticleFactory<ParticleT> > ParticleFilter< ParticleT >::_particle_supplier
private

Definition at line 134 of file particle_filter.h.

template<typename ParticleT>
std::vector<ParticlePtr> ParticleFilter< ParticleT >::_particles
private

Definition at line 135 of file particle_filter.h.

template<typename ParticleT>
UniformResamling<ParticlePtr> ParticleFilter< ParticleT >::_resampler
private

Definition at line 137 of file particle_filter.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26