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.
#include <mrpt/bayes/CProbabilityParticle.h>
Public Member Functions | |
| CProbabilityParticle () | |
| Default constructor: | |
| CProbabilityParticle (const CProbabilityParticle &o) | |
| Copy constructor: | |
| CProbabilityParticle< T > & | operator= (const CProbabilityParticle &o) |
| Copy operator. | |
Public Attributes | |
| T * | d |
| The data associated with this particle. | |
| double | log_w |
| The (logarithmic) weight value for this particle. | |
| mrpt::bayes::CProbabilityParticle::CProbabilityParticle | ( | ) | [inline] |
Default constructor:
Definition at line 60 of file CProbabilityParticle.h.
| mrpt::bayes::CProbabilityParticle::CProbabilityParticle | ( | const CProbabilityParticle & | o | ) | [inline] |
| CProbabilityParticle<T>& mrpt::bayes::CProbabilityParticle::operator= | ( | const CProbabilityParticle & | o | ) | [inline] |
The data associated with this particle.
Definition at line 52 of file CProbabilityParticle.h.
Referenced by CProbabilityParticle(), and operator=().
The (logarithmic) weight value for this particle.
Definition at line 56 of file CProbabilityParticle.h.
Referenced by operator=().
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |