Template Struct CProbabilityParticle
Defined in File CProbabilityParticle.h
Struct Documentation
-
template<class T, particle_storage_mode STORAGE>
struct CProbabilityParticle 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.
See also
- Template Parameters:
T – The type of the payload. Must be default constructable.
STORAGE – If
POINTER, a (wrapper to a) pointer is used to store the payload; ifVALUE, the payload is stored directly as a value.