#ifndef MIXINGSAMPLER_H #define MIXINGSAMPLER_H #include "../../filtering/ParticleFilterMixing.h" #include namespace SMC { /** * interface for all available resampling methods * within the particle filter */ template class MixingSampler { public: /** * perform mixing of modes and sample according to the modes probability * @param particles the vector of all particles to resample */ virtual void mixAndSample(std::vector>& modes, Eigen::MatrixXd transitionProbabilityMatrix) = 0; }; } #endif // MIXINGSAMPLER_H