#include <PropertySet.h>

Public Member Functions | |
| void | addProperty (const Attribute &attribute, const pbl::PDF &value) |
| void | addProperty (const std::string &attribute, const pbl::PDF &value) |
| void | addProperty (const Attribute &attribute, const IStateEstimator &estimator) |
| PropertySet * | clone () const |
| virtual double | getLikelihood (const PropertySet &P) const |
| const Property * | getProperty (const Attribute &attribute) const |
| const Property * | getProperty (const std::string &attribute) const |
| const std::map< Attribute, Property * > & | getPropertyMap () const |
| Time | getTimestamp () const |
| const pbl::PDF & | getValue () const |
| Returns the current estimated state value. More... | |
| void | propagate (const Time &time) |
| Propagates the internal state to Time time. More... | |
| PropertySet (Time timestamp=0) | |
| PropertySet (const PropertySet &orig) | |
| void | reset () |
| Resets the internal state of the estimator to its initial value. More... | |
| std::string | toString () const |
| void | update (const pbl::PDF &z, const Time &time) |
| Updates the internal state based on measurement z. More... | |
| virtual | ~PropertySet () |
Public Member Functions inherited from mhf::IStateEstimator | |
| virtual bool | setParameter (const std::string ¶m, bool b) |
| Resets the internal state of the estimator to the given PDF. More... | |
| virtual bool | setParameter (const std::string ¶m, double v) |
| Set a real-valued parameter of this state estimator. More... | |
| virtual bool | setParameter (const std::string ¶m, const std::string &s) |
| Set a string parameter of this state estimator. More... | |
| virtual | ~IStateEstimator () |
Static Public Attributes | |
| static int | N_PROPERTY_SET = 0 |
Protected Member Functions | |
| void | addProperty (Property *property) |
| Property * | getProperty (const Attribute &attribute) |
Protected Attributes | |
| Time | timestamp_ |
Private Attributes | |
| std::map< Attribute, Property * > | properties_ |
Definition at line 13 of file PropertySet.h.
| mhf::PropertySet::PropertySet | ( | Time | timestamp = 0 | ) |
Definition at line 19 of file PropertySet.cpp.
| mhf::PropertySet::PropertySet | ( | const PropertySet & | orig | ) |
Definition at line 31 of file PropertySet.cpp.
|
virtual |
Definition at line 23 of file PropertySet.cpp.
Definition at line 41 of file PropertySet.cpp.
| void mhf::PropertySet::addProperty | ( | const std::string & | attribute, |
| const pbl::PDF & | value | ||
| ) |
| void mhf::PropertySet::addProperty | ( | const Attribute & | attribute, |
| const IStateEstimator & | estimator | ||
| ) |
Definition at line 55 of file PropertySet.cpp.
|
protected |
Definition at line 65 of file PropertySet.cpp.
|
virtual |
Implements mhf::IStateEstimator.
Reimplemented in mhf::SemanticObject.
Definition at line 37 of file PropertySet.cpp.
|
virtual |
Reimplemented in mhf::SemanticObject.
Definition at line 121 of file PropertySet.cpp.
Definition at line 75 of file PropertySet.cpp.
| const Property * mhf::PropertySet::getProperty | ( | const std::string & | attribute | ) | const |
Definition at line 91 of file PropertySet.cpp.
Definition at line 83 of file PropertySet.cpp.
Definition at line 162 of file PropertySet.cpp.
| Time mhf::PropertySet::getTimestamp | ( | ) | const |
Definition at line 166 of file PropertySet.cpp.
|
virtual |
Returns the current estimated state value.
Implements mhf::IStateEstimator.
Definition at line 117 of file PropertySet.cpp.
|
virtual |
Propagates the internal state to Time time.
| time | The time to which the internal state is propagated |
Implements mhf::IStateEstimator.
Definition at line 95 of file PropertySet.cpp.
|
virtual |
Resets the internal state of the estimator to its initial value.
Implements mhf::IStateEstimator.
Definition at line 111 of file PropertySet.cpp.
| string mhf::PropertySet::toString | ( | ) | const |
Definition at line 170 of file PropertySet.cpp.
Updates the internal state based on measurement z.
| z | The measurement with which to update, represented as a probability density function |
| time | The time to which the internal state is propagated before updating |
Implements mhf::IStateEstimator.
Definition at line 107 of file PropertySet.cpp.
|
static |
Definition at line 16 of file PropertySet.h.
Definition at line 62 of file PropertySet.h.
|
protected |
Definition at line 54 of file PropertySet.h.