pf
pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t > Class Template Reference

#include <resamplers.h>

Public Types

using ssv = Eigen::Matrix< float_t, dimsampledx, 1 >
 
using arrayVec = std::array< ssv, nparts >
 
using arrayFloat = std::array< float_t, nparts >
 
using arrayMod = std::array< cfModT, nparts >
 

Public Member Functions

 mn_resampler_rbpf ()
 Default constructor.
 
 mn_resampler_rbpf (unsigned long seed)
 Default constructor.
 
void resampLogWts (arrayMod &oldMods, arrayVec &oldParts, arrayFloat &oldLogUnNormWts)
 resamples particles. More...
 

Private Attributes

std::mt19937 m_gen
 prng
 

Detailed Description

template<size_t nparts, size_t dimsampledx, typename cfModT, typename float_t>
class pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t >

Author
taylor

Member Typedef Documentation

◆ arrayFloat

template<size_t nparts, size_t dimsampledx, typename cfModT , typename float_t >
using pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t >::arrayFloat = std::array<float_t,nparts>

type alias for array of float_ts

◆ arrayMod

template<size_t nparts, size_t dimsampledx, typename cfModT , typename float_t >
using pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t >::arrayMod = std::array<cfModT,nparts>

type alias for array of closed-form models

◆ arrayVec

template<size_t nparts, size_t dimsampledx, typename cfModT , typename float_t >
using pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t >::arrayVec = std::array<ssv, nparts>

type alias for linear algebra stuff

◆ ssv

template<size_t nparts, size_t dimsampledx, typename cfModT , typename float_t >
using pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t >::ssv = Eigen::Matrix<float_t,dimsampledx,1>

type alias for linear algebra stuff

Member Function Documentation

◆ resampLogWts()

template<size_t nparts, size_t dimsampledx, typename cfModT , typename float_t >
void pf::resamplers::mn_resampler_rbpf< nparts, dimsampledx, cfModT, float_t >::resampLogWts ( arrayMod oldMods,
arrayVec oldParts,
arrayFloat oldLogUnNormWts 
)

resamples particles.

Parameters
oldModsthe old closed-form models
oldPartsthe old particles
oldLogUnNormWtsthe old log unnormalized weights

The documentation for this class was generated from the following file: