Bayes Filters Library
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
bfl::AdditiveStateModel Class Referenceabstract

#include <AdditiveStateModel.h>

Inheritance diagram for bfl::AdditiveStateModel:
[legend]

Public Member Functions

virtual ~AdditiveStateModel () noexcept=default
 
virtual void motion (const Eigen::Ref< const Eigen::MatrixXd > &cur_states, Eigen::Ref< Eigen::MatrixXd > mot_states) override
 
virtual VectorDescription getInputDescription ()
 Returns the vector description of the input to the state equation. More...
 
bool skip (const std::string &what_step, const bool status) override
 
bool is_skipping () override
 
bool add_exogenous_model (std::unique_ptr< ExogenousModel > exogenous_model)
 
bool have_exogenous_model () noexcept
 
ExogenousModelexogenous_model ()
 
virtual Eigen::MatrixXd getJacobian ()
 
virtual Eigen::VectorXd getTransitionProbability (const Eigen::Ref< const Eigen::MatrixXd > &prev_states, const Eigen::Ref< const Eigen::MatrixXd > &cur_states)
 
virtual Eigen::MatrixXd getNoiseCovarianceMatrix ()
 
virtual Eigen::MatrixXd getNoiseSample (const std::size_t num)
 
virtual bool setSamplingTime (const double &time)
 
virtual void propagate (const Eigen::Ref< const Eigen::MatrixXd > &cur_states, Eigen::Ref< Eigen::MatrixXd > prop_states)=0
 
virtual bool setProperty (const std::string &property)=0
 
virtual VectorDescription getStateDescription ()=0
 Returns the vector description of the output of the state equation. More...
 

Protected Member Functions

 AdditiveStateModel () noexcept=default
 
 AdditiveStateModel (const AdditiveStateModel &state_model) noexcept=delete
 
AdditiveStateModeloperator= (const AdditiveStateModel &state_model) noexcept=delete
 
 AdditiveStateModel (AdditiveStateModel &&state_model) noexcept=default
 
AdditiveStateModeloperator= (AdditiveStateModel &&state_model) noexcept=default
 

Private Attributes

bool skip_ = false
 Skip status. More...
 
std::unique_ptr< ExogenousModelexogenous_model_
 Exogenous model. More...
 

Detailed Description

Definition at line 19 of file AdditiveStateModel.h.

Constructor & Destructor Documentation

◆ ~AdditiveStateModel()

virtual bfl::AdditiveStateModel::~AdditiveStateModel ( )
virtualdefaultnoexcept

◆ AdditiveStateModel() [1/3]

bfl::AdditiveStateModel::AdditiveStateModel ( )
protecteddefaultnoexcept

◆ AdditiveStateModel() [2/3]

bfl::AdditiveStateModel::AdditiveStateModel ( const AdditiveStateModel state_model)
protecteddeletenoexcept

◆ AdditiveStateModel() [3/3]

bfl::AdditiveStateModel::AdditiveStateModel ( AdditiveStateModel &&  state_model)
protecteddefaultnoexcept

Member Function Documentation

◆ add_exogenous_model()

bool StateModel::add_exogenous_model ( std::unique_ptr< ExogenousModel exogenous_model)
inherited

Definition at line 33 of file StateModel.cpp.

◆ exogenous_model()

ExogenousModel & StateModel::exogenous_model ( )
inherited

Definition at line 50 of file StateModel.cpp.

◆ getInputDescription()

VectorDescription AdditiveStateModel::getInputDescription ( )
virtual

Returns the vector description of the input to the state equation.

Implements bfl::StateProcess.

Definition at line 22 of file AdditiveStateModel.cpp.

References bfl::VectorDescription::add_noise_components().

Here is the call graph for this function:

◆ getJacobian()

Eigen::MatrixXd StateModel::getJacobian ( )
virtualinherited

Reimplemented in bfl::LTIStateModel.

Definition at line 60 of file StateModel.cpp.

◆ getNoiseCovarianceMatrix()

Eigen::MatrixXd StateModel::getNoiseCovarianceMatrix ( )
virtualinherited

Reimplemented in bfl::WhiteNoiseAcceleration, and bfl::LTIStateModel.

Definition at line 72 of file StateModel.cpp.

Referenced by bfl::sigma_point::unscented_transform().

◆ getNoiseSample()

Eigen::MatrixXd StateModel::getNoiseSample ( const std::size_t  num)
virtualinherited

Reimplemented in bfl::WhiteNoiseAcceleration.

Definition at line 78 of file StateModel.cpp.

◆ getStateDescription()

virtual VectorDescription bfl::StateProcess::getStateDescription ( )
pure virtualinherited

Returns the vector description of the output of the state equation.

Implemented in bfl::WhiteNoiseAcceleration.

Referenced by bfl::sigma_point::unscented_transform().

◆ getTransitionProbability()

Eigen::VectorXd StateModel::getTransitionProbability ( const Eigen::Ref< const Eigen::MatrixXd > &  prev_states,
const Eigen::Ref< const Eigen::MatrixXd > &  cur_states 
)
virtualinherited

Reimplemented in bfl::WhiteNoiseAcceleration.

Definition at line 66 of file StateModel.cpp.

◆ have_exogenous_model()

bool StateModel::have_exogenous_model ( )
noexceptinherited

Definition at line 41 of file StateModel.cpp.

◆ is_skipping()

bool StateModel::is_skipping ( )
overridevirtualinherited

Implements bfl::Skippable.

Definition at line 27 of file StateModel.cpp.

◆ motion()

void AdditiveStateModel::motion ( const Eigen::Ref< const Eigen::MatrixXd > &  cur_states,
Eigen::Ref< Eigen::MatrixXd >  mot_states 
)
overridevirtual

Implements bfl::StateProcess.

Definition at line 14 of file AdditiveStateModel.cpp.

◆ operator=() [1/2]

AdditiveStateModel& bfl::AdditiveStateModel::operator= ( AdditiveStateModel &&  state_model)
protecteddefaultnoexcept

◆ operator=() [2/2]

AdditiveStateModel& bfl::AdditiveStateModel::operator= ( const AdditiveStateModel state_model)
protecteddeletenoexcept

◆ propagate()

virtual void bfl::StateProcess::propagate ( const Eigen::Ref< const Eigen::MatrixXd > &  cur_states,
Eigen::Ref< Eigen::MatrixXd >  prop_states 
)
pure virtualinherited

◆ setProperty()

virtual bool bfl::StateProcess::setProperty ( const std::string &  property)
pure virtualinherited

◆ setSamplingTime()

bool StateModel::setSamplingTime ( const double &  time)
virtualinherited

Definition at line 84 of file StateModel.cpp.

◆ skip()

bool StateModel::skip ( const std::string &  what_step,
const bool  status 
)
overridevirtualinherited

Implements bfl::Skipper.

Definition at line 14 of file StateModel.cpp.

Member Data Documentation

◆ exogenous_model_

std::unique_ptr<ExogenousModel> bfl::StateModel::exogenous_model_
privateinherited

Exogenous model.

Definition at line 68 of file StateModel.h.

◆ skip_

bool bfl::StateModel::skip_ = false
privateinherited

Skip status.

Definition at line 63 of file StateModel.h.


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