This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Indoor/smc/merging/MarkovTransitionProbability.h
2017-11-15 17:46:06 +01:00

31 lines
738 B
C++

#ifndef MARKOVTRANSITIONPROBABILITY_H
#define MARKOVTRANSITIONPROBABILITY_H
#include "../filtering/ParticleFilterMixing.h"
#include <eigen3/Eigen/Dense>
namespace SMC {
/**
* interface for all available transition probability calculations
* within the IMMPF
*/
template <typename State, typename Control, typename Observation>
class MarkovTransitionProbability {
public:
/**
* perform the calculation of the transition matrix
* @param vector of modes / particle filters
*/
virtual Eigen::MatrixXd update(std::vector<ParticleFilterMixing<State, Control, Observation>>& modes, const Observation& obs) = 0;
};
}
#endif // MARKOVTRANSITIONPROBABILITY_H