Bayes Filters Library
LikelihoodModel.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
3  *
4  * This software may be modified and distributed under the terms of the
5  * BSD 3-Clause license. See the accompanying LICENSE file for details.
6  */
7 
8 #ifndef LIKELIHOODMODEL_H
9 #define LIKELIHOODMODEL_H
10 
12 
13 #include <Eigen/Core>
14 
15 namespace bfl {
16  class LikelihoodModel;
17 }
18 
19 
21 {
22 public:
23  virtual ~LikelihoodModel() noexcept = default;
24 
25  virtual std::pair<bool, Eigen::VectorXd> likelihood(const MeasurementModel& measurement_model, const Eigen::Ref<const Eigen::MatrixXd>& pred_states) = 0;
26 };
27 
28 #endif /* LIKELIHOODMODEL_H */
MeasurementModel.h
bfl
Port of boost::any for C++11 compilers.
Definition: AdditiveMeasurementModel.h:13
bfl::LikelihoodModel::~LikelihoodModel
virtual ~LikelihoodModel() noexcept=default
bfl::LikelihoodModel
Definition: LikelihoodModel.h:20
bfl::MeasurementModel
This class represent a generic measurement model f(x, w), where x is a state vector and w is random n...
Definition: MeasurementModel.h:29
bfl::LikelihoodModel::likelihood
virtual std::pair< bool, Eigen::VectorXd > likelihood(const MeasurementModel &measurement_model, const Eigen::Ref< const Eigen::MatrixXd > &pred_states)=0