Main MRPT website > C++ reference for MRPT 1.9.9
mrpt::bayes::CProbabilityParticle< T, STORAGE > Struct Template Reference

Detailed Description

template<class T, particle_storage_mode STORAGE>
struct mrpt::bayes::CProbabilityParticle< T, STORAGE >

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

Particles comprise two parts: a "data payload field", and a logarithmic importance sampling weight.

Template Parameters
TThe type of the payload. Must be default constructable.
STORAGEIf POINTER, a (wrapper to a) pointer is used to store the payload; if VALUE, the payload is stored directly as a value.
See also
CParticleFilterData

Definition at line 38 of file CProbabilityParticle.h.

#include <mrpt/bayes/CProbabilityParticle.h>




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST