Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "backwardfilter.h"
00020
00021 #define StateVar SVar
00022
00023
00024 template<typename SVar>
00025 BackwardFilter<SVar>::BackwardFilter(Pdf<SVar>* prior)
00026 : _prior(prior),
00027 _timestep(0)
00028 {}
00029
00030 template<typename SVar>
00031 BackwardFilter<SVar>::~BackwardFilter(){}
00032
00033 template<typename SVar>
00034 BackwardFilter<SVar>::BackwardFilter(const BackwardFilter<SVar>& backwardfilter)
00035 {}
00036
00037 template<typename SVar> void
00038 BackwardFilter<SVar>::Reset(Pdf<SVar> * prior)
00039 {
00040 _prior = prior;
00041 _post = prior;
00042 }
00043
00044 template<typename SVar> int
00045 BackwardFilter<SVar>::TimeStepGet() const
00046 {
00047 return _timestep;
00048 }
00049
00050 template<typename SVar> bool
00051 BackwardFilter<SVar>::Update(SystemModel<SVar>* const sysmodel, const SVar& u, Pdf<SVar>* const filtered_post)
00052 {
00053 return this->UpdateInternal(sysmodel,u,filtered_post);
00054 }
00055
00056 template<typename SVar> bool
00057 BackwardFilter<SVar>::Update(SystemModel<SVar>* const sysmodel, Pdf<SVar>* const filtered_post)
00058 {
00059 SVar u;
00060 return this->UpdateInternal(sysmodel,u,filtered_post);
00061 }
00062
00063 template<typename SVar> Pdf<SVar> *
00064 BackwardFilter<SVar>::PostGet()
00065 {
00066 return _post;
00067 }
bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Thu Feb 11 2016 22:31:56