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 29 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. More... | |
| double | log_w |
| The (logarithmic) weight value for this particle. More... | |
|
inline |
Default constructor.
Definition at line 39 of file CProbabilityParticle.h.
| mrpt::utils::copy_ptr<T> mrpt::bayes::CProbabilityParticle< T >::d |
The data associated with this particle.
The use of copy_ptr<> allows relying on compiler-generated copy ctor, etc.
Definition at line 34 of file CProbabilityParticle.h.
Referenced by mrpt::poses::CPosePDFParticles::append(), mrpt::hmtslam::CHMTSLAM::generateLogFiles(), mrpt::hmtslam::CHMTSLAM::LSLAM_process_message_from_AA(), and mrpt::hmtslam::CLocalMetricHypothesis::prediction_and_update().
| double mrpt::bayes::CProbabilityParticle< T >::log_w |
The (logarithmic) weight value for this particle.
Definition at line 36 of file CProbabilityParticle.h.
Referenced by mrpt::poses::CPosePDFParticles::append(), and mrpt::hmtslam::CLocalMetricHypothesis::prediction_and_update().
| Page generated by Doxygen 1.9.1 for MRPT 1.9.9 Git: 63ea9d1f1 Thu Nov 23 00:06:53 2017 +0100 at mar 26 may 2026 12:19:29 CEST |