#ifndef JOINTESTIMATIONPOSTERIORONLY_H #define JOINTESTIMATIONPOSTERIORONLY_H #include "JointEstimation.h" #include "../../filtering/ParticleFilterMixing.h" namespace SMC { /** * Use only the posterior distribution (first mode entry) for the joint estimaton */ template class JointEstimationPosteriorOnly : public JointEstimation { public: // get the current state estimation for the given particle set const State estimate(std::vector>& modes) override { return modes[0].getEstimation(); } }; } #endif // JOINTESTIMATIONPOSTERIORONLY_H