FixedState.cpp
Go to the documentation of this file.
1 /*
2  * FixedState.cpp
3  *
4  * Created on: Jul 3, 2012
5  * Author: sdries
6  */
7 
9 
10 namespace mhf {
11 
13 
14 }
15 
16 FixedState::FixedState(const pbl::PDF& pdf) : pdf_(pdf.clone()) {
17 }
18 
20 }
21 
23  delete pdf_;
24 }
25 
27  return new FixedState(*this);
28 }
29 
30 void FixedState::update(const pbl::PDF& z, const mhf::Time& time) {
31 }
32 
33 void FixedState::propagate(const mhf::Time& time) {
34 }
35 
37 }
38 
40  return *pdf_;
41 }
42 
43 }
virtual void update(const pbl::PDF &z, const mhf::Time &time)
Performs an update, but since the state is fixed, update will do nothing.
Definition: FixedState.cpp:30
Base class for all state estimators used by the world model.
virtual void propagate(const mhf::Time &time)
Propagates the state, but since the state is fixed, propagate will do nothing.
Definition: FixedState.cpp:33
double Time
Definition: datatypes.h:52
FixedState is a simple wrapper such that probability density function can be threaded as state estima...
Definition: FixedState.h:20
virtual ~FixedState()
Definition: FixedState.cpp:22
const pbl::PDF & getValue() const
Returns the current estimated state value.
Definition: FixedState.cpp:39
pbl::PDF * pdf_
Definition: FixedState.h:54
FixedState * clone() const
Definition: FixedState.cpp:26
virtual void reset()
Resets the state, but since the state is fixed, reset will do nothing.
Definition: FixedState.cpp:36
Definition: ClassModel.h:44


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:27