#include <SemanticObject.h>
Public Member Functions | |
void | addPotentialAssignment (const Evidence &ev, double probability) |
void | addToHypothesis (Hypothesis *hyp) |
SemanticObject * | clone () const |
const ClassModel & | getExpectedObjectModel () const |
ObjectID | getID () const |
double | getLastUpdateTime () const |
double | getLikelihood (const PropertySet &ev) const |
unsigned int | getNumParentHypotheses () const |
double | getTimestamp () const |
void | init (const Evidence &z) |
void | removeFromHypothesis (Hypothesis *hyp) |
SemanticObject (long ID) | |
SemanticObject (const SemanticObject &orig) | |
void | update (const Evidence &z) |
virtual | ~SemanticObject () |
Public Member Functions inherited from mhf::PropertySet | |
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) |
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 () |
Public Attributes | |
std::list< SemanticObject * >::iterator | it_obj_storage_ |
Static Public Attributes | |
static int | N_SEMANTICOBJECT = 0 |
Static Public Attributes inherited from mhf::PropertySet | |
static int | N_PROPERTY_SET = 0 |
Protected Attributes | |
std::string | expected_class_ |
ObjectID | ID_ |
std::set< Hypothesis * > | parent_hypotheses_ |
Protected Attributes inherited from mhf::PropertySet | |
Time | timestamp_ |
Additional Inherited Members | |
Protected Member Functions inherited from mhf::PropertySet | |
void | addProperty (Property *property) |
Property * | getProperty (const Attribute &attribute) |
Definition at line 21 of file SemanticObject.h.
mhf::SemanticObject::SemanticObject | ( | long | ID | ) |
Definition at line 25 of file SemanticObject.cpp.
mhf::SemanticObject::SemanticObject | ( | const SemanticObject & | orig | ) |
Definition at line 29 of file SemanticObject.cpp.
|
virtual |
Definition at line 34 of file SemanticObject.cpp.
void mhf::SemanticObject::addPotentialAssignment | ( | const Evidence & | ev, |
double | probability | ||
) |
Definition at line 158 of file SemanticObject.cpp.
void mhf::SemanticObject::addToHypothesis | ( | Hypothesis * | hyp | ) |
Definition at line 173 of file SemanticObject.cpp.
|
virtual |
Reimplemented from mhf::PropertySet.
Definition at line 140 of file SemanticObject.cpp.
const ClassModel & mhf::SemanticObject::getExpectedObjectModel | ( | ) | const |
Definition at line 144 of file SemanticObject.cpp.
ObjectID mhf::SemanticObject::getID | ( | ) | const |
Definition at line 169 of file SemanticObject.cpp.
double mhf::SemanticObject::getLastUpdateTime | ( | ) | const |
|
virtual |
Reimplemented from mhf::PropertySet.
Definition at line 42 of file SemanticObject.cpp.
unsigned int mhf::SemanticObject::getNumParentHypotheses | ( | ) | const |
Definition at line 181 of file SemanticObject.cpp.
double mhf::SemanticObject::getTimestamp | ( | ) | const |
void mhf::SemanticObject::init | ( | const Evidence & | z | ) |
Definition at line 38 of file SemanticObject.cpp.
void mhf::SemanticObject::removeFromHypothesis | ( | Hypothesis * | hyp | ) |
Definition at line 177 of file SemanticObject.cpp.
void mhf::SemanticObject::update | ( | const Evidence & | z | ) |
Definition at line 77 of file SemanticObject.cpp.
|
protected |
Definition at line 63 of file SemanticObject.h.
|
protected |
Definition at line 61 of file SemanticObject.h.
std::list<SemanticObject*>::iterator mhf::SemanticObject::it_obj_storage_ |
Definition at line 27 of file SemanticObject.h.
|
static |
Definition at line 25 of file SemanticObject.h.
|
protected |
Definition at line 65 of file SemanticObject.h.