#39 #40 git add for last commit

This commit is contained in:
toni
2017-11-15 17:46:06 +01:00
parent c8063bc862
commit 95a5c8f34f
49 changed files with 4661 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#ifndef MIXINGSAMPLER_H
#define MIXINGSAMPLER_H
#include "../../filtering/ParticleFilterMixing.h"
#include <eigen3/Eigen/Dense>
namespace SMC {
/**
* interface for all available resampling methods
* within the particle filter
*/
template <typename State, typename Control, typename Observation>
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<ParticleFilterMixing<State, Control, Observation>>& modes, Eigen::MatrixXd transitionProbabilityMatrix) = 0;
};
}
#endif // MIXINGSAMPLER_H