Bayes Filters Library
src
BayesFilters
include
BayesFilters
GaussianLikelihood.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 GAUSSIANLIKELIHOOD_H
9
#define GAUSSIANLIKELIHOOD_H
10
11
#include <
BayesFilters/LikelihoodModel.h
>
12
13
namespace
bfl
{
14
class
GaussianLikelihood;
15
}
16
17
18
class
bfl::GaussianLikelihood
:
public
LikelihoodModel
19
{
20
public
:
21
GaussianLikelihood
() noexcept;
22
23
GaussianLikelihood
(
const
double
scale_factor) noexcept;
24
25
virtual
~GaussianLikelihood
() noexcept =
default
;
26
27
28
protected
:
29
std::pair<bool, Eigen::VectorXd>
likelihood
(
const
MeasurementModel
& measurement_model,
const
Eigen::Ref<const Eigen::MatrixXd>& pred_states)
override
;
30
31
double
scale_factor_
;
32
};
33
34
#endif
/* GAUSSIANLIKELIHOOD_H */
LikelihoodModel.h
bfl::GaussianLikelihood::likelihood
std::pair< bool, Eigen::VectorXd > likelihood(const MeasurementModel &measurement_model, const Eigen::Ref< const Eigen::MatrixXd > &pred_states) override
Definition:
GaussianLikelihood.cpp:26
bfl
Port of boost::any for C++11 compilers.
Definition:
AdditiveMeasurementModel.h:13
bfl::GaussianLikelihood::~GaussianLikelihood
virtual ~GaussianLikelihood() noexcept=default
bfl::GaussianLikelihood::GaussianLikelihood
GaussianLikelihood() noexcept
Definition:
GaussianLikelihood.cpp:15
bfl::GaussianLikelihood::scale_factor_
double scale_factor_
Definition:
GaussianLikelihood.h:31
bfl::GaussianLikelihood
Definition:
GaussianLikelihood.h:18
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
Generated by
1.8.17