Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
jafar::ddf::PredictionEngineBase Class Reference

This is a virtual class for state prediction. More...


Detailed Description

This is a virtual class for state prediction.

It allows for predicting state from k to k+1.

Author:
Pierre Lamon

Definition at line 63 of file predictenginebase.hpp.

#include <predictenginebase.hpp>

Inheritance diagram for jafar::ddf::PredictionEngineBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 PredictionEngineBase (bool store_fstate=false)
void StoreStates (bool yesorno)
void SetCurrentStateTime (time const &t, bool use_mutex)
time const & GetCurrentStateTime () const
virtual void InitState (VEC const &x, MSYM const &X)=0
 Set the state vector and the covariance matrix (at time k) before calling Predict.
virtual void InitInformation (VEC const &y, MSYM const &Y)=0
 Set the information vector and information matrix (at time k) before calling Predict.
virtual void Init (InfoContainer const &inityY)=0
virtual void Predict (time const &horizon)=0
 Predict state from k to k+1.
virtual bool InsertDelayedMeasure (InfoContainer const &ICont, time const &avail_time)=0
 Insert a measure that has been taken in the past (teturn true in case of success)
void Predict (InfoContainer &info, time const &horizon)
 Predict state from k to k+1 (includes filter initialization)
virtual InfoContainer const & GetPrediction ()=0
 Get the predicted state (k+1) the result of Predict (return x,X in the case of Kalman and y,Y in the case of information)
virtual InfoContainer const & GetInversePrediction ()=0
 Return the inverse of GetPrediction.
virtual void SetModelParams (time const &from, time const &horizon)=0
 Set the parameters that will be used for updating the prediction model (UpdateModel function)
virtual void PrintModel ()=0
virtual void UpdatePredictionWith (InfoContainer const &info)=0
 In the case of an information filter the update is trivial (it is just a sum)
virtual bool IsPSD (bool use_mutex)=0
 Check if X or Y is PD.

Protected Attributes

bool m_predict_available
time m_horizon
time m_current_time
boost::mutex m_info_mutex
bool m_store_fstate

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:33 for Jafar by doxygen 1.7.6.1
LAAS-CNRS