template struct mrpt::bayes::CProbabilityParticle<T, particle_storage_mode::POINTER>
Overview
#include <mrpt/bayes/CProbabilityParticle.h> template <class T> struct CProbabilityParticle<T, particle_storage_mode::POINTER>: public mrpt::bayes::CProbabilityParticleBase { // fields mrpt::containers::copy_ptr<T> d {}; };
Inherited Members
public: // fields double log_w {0.0};
Fields
mrpt::containers::copy_ptr<T> d {}
The data associated with this particle.
The use of copy_ptr<> allows relying on compiler-generated copy ctor, etc.