Bayes Filters Library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
bfl::GaussianLikelihood Class Reference

#include <GaussianLikelihood.h>

Inheritance diagram for bfl::GaussianLikelihood:
[legend]

Public Member Functions

 GaussianLikelihood () noexcept
 
 GaussianLikelihood (const double scale_factor) noexcept
 
virtual ~GaussianLikelihood () noexcept=default
 

Protected Member Functions

std::pair< bool, Eigen::VectorXd > likelihood (const MeasurementModel &measurement_model, const Eigen::Ref< const Eigen::MatrixXd > &pred_states) override
 

Protected Attributes

double scale_factor_
 

Detailed Description

Definition at line 18 of file GaussianLikelihood.h.

Constructor & Destructor Documentation

◆ GaussianLikelihood() [1/2]

GaussianLikelihood::GaussianLikelihood ( )
noexcept

Definition at line 15 of file GaussianLikelihood.cpp.

◆ GaussianLikelihood() [2/2]

GaussianLikelihood::GaussianLikelihood ( const double  scale_factor)
noexcept

Definition at line 20 of file GaussianLikelihood.cpp.

◆ ~GaussianLikelihood()

virtual bfl::GaussianLikelihood::~GaussianLikelihood ( )
virtualdefaultnoexcept

Member Function Documentation

◆ likelihood()

std::pair< bool, VectorXd > GaussianLikelihood::likelihood ( const MeasurementModel measurement_model,
const Eigen::Ref< const Eigen::MatrixXd > &  pred_states 
)
overrideprotectedvirtual

Implements bfl::LikelihoodModel.

Definition at line 26 of file GaussianLikelihood.cpp.

References bfl::MeasurementModel::getNoiseCovarianceMatrix(), bfl::MeasurementModel::innovation(), bfl::MeasurementModel::measure(), bfl::utils::multivariate_gaussian_density(), and bfl::MeasurementModel::predictedMeasure().

Here is the call graph for this function:

Member Data Documentation

◆ scale_factor_

double bfl::GaussianLikelihood::scale_factor_
protected

Definition at line 31 of file GaussianLikelihood.h.


The documentation for this class was generated from the following files: