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

#include <LinearStateModel.h>

Inheritance diagram for bfl::LinearStateModel:
[legend]

Public Member Functions

virtual ~LinearStateModel () noexcept=default
 
virtual void propagate (const Eigen::Ref< const Eigen::MatrixXd > &cur_states, Eigen::Ref< Eigen::MatrixXd > prop_states) override
 
virtual Eigen::MatrixXd getStateTransitionMatrix ()=0
 
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 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

 LinearStateModel () noexcept=default
 
 LinearStateModel (const LinearStateModel &state_model) noexcept=delete
 
LinearStateModeloperator= (const LinearStateModel &state_model) noexcept=delete
 
 LinearStateModel (LinearStateModel &&state_model) noexcept=default
 
LinearStateModeloperator= (LinearStateModel &&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 18 of file LinearStateModel.h.

Constructor & Destructor Documentation

◆ ~LinearStateModel()

virtual bfl::LinearStateModel::~LinearStateModel ( )
virtualdefaultnoexcept

◆ LinearStateModel() [1/3]

bfl::LinearStateModel::LinearStateModel ( )
protecteddefaultnoexcept

◆ LinearStateModel() [2/3]

bfl::LinearStateModel::LinearStateModel ( const LinearStateModel state_model)
protecteddeletenoexcept

◆ LinearStateModel() [3/3]

bfl::LinearStateModel::LinearStateModel ( LinearStateModel &&  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 ( )
virtualinherited

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().

◆ getStateTransitionMatrix()

virtual Eigen::MatrixXd bfl::LinearStateModel::getStateTransitionMatrix ( )
pure virtual

◆ 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 
)
overridevirtualinherited

Implements bfl::StateProcess.

Definition at line 14 of file AdditiveStateModel.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ propagate()

void LinearStateModel::propagate ( const Eigen::Ref< const Eigen::MatrixXd > &  cur_states,
Eigen::Ref< Eigen::MatrixXd >  prop_states 
)
overridevirtual

Implements bfl::StateProcess.

Definition at line 16 of file LinearStateModel.cpp.

◆ 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: