Main MRPT website > C++ reference for MRPT 1.5.9
List of all members | Public Member Functions | Public Attributes
mrpt::bayes::CProbabilityParticle< T > Struct Template Reference

Detailed Description

template<class T>
struct mrpt::bayes::CProbabilityParticle< T >

A template class for holding a the data and the weight of a particle.

Particles are composed of two parts:

This structure is used within CParticleFilterData, see that class for more information.

Definition at line 27 of file CProbabilityParticle.h.

#include <mrpt/bayes/CProbabilityParticle.h>

Public Member Functions

 CProbabilityParticle ()
 Default constructor. More...
 

Public Attributes

mrpt::utils::copy_ptr< T > d
 The data associated with this particle. The use of copy_ptr<> allows relying on compiler-generated copy ctor, etc. More...
 
double log_w
 The (logarithmic) weight value for this particle. More...
 

Constructor & Destructor Documentation

◆ CProbabilityParticle()

template<class T >
mrpt::bayes::CProbabilityParticle< T >::CProbabilityParticle ( )
inline

Default constructor.

Definition at line 34 of file CProbabilityParticle.h.

Member Data Documentation

◆ d

The data associated with this particle. The use of copy_ptr<> allows relying on compiler-generated copy ctor, etc.

Definition at line 30 of file CProbabilityParticle.h.

Referenced by mrpt::poses::CPosePDFParticles::append(), mrpt::hmtslam::CHMTSLAM::generateLogFiles(), and mrpt::hmtslam::CLSLAM_RBPF_2DLASER::prediction_and_update_pfOptimalProposal().

◆ log_w

template<class T >
double mrpt::bayes::CProbabilityParticle< T >::log_w

The (logarithmic) weight value for this particle.

Definition at line 31 of file CProbabilityParticle.h.

Referenced by mrpt::poses::CPosePDFParticles::append(), and mrpt::hmtslam::CLSLAM_RBPF_2DLASER::prediction_and_update_pfOptimalProposal().




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020