Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
mhf::SemanticObject Class Reference

#include <SemanticObject.h>

Inheritance diagram for mhf::SemanticObject:
Inheritance graph

Public Member Functions

void addPotentialAssignment (const Evidence &ev, double probability)
void addToHypothesis (Hypothesis *hyp)
SemanticObjectclone () const
const ClassModelgetExpectedObjectModel () 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 PropertygetProperty (const Attribute &attribute) const
const PropertygetProperty (const std::string &attribute) const
const std::map< Attribute, Property * > & getPropertyMap () const
Time getTimestamp () const
const pbl::PDFgetValue () 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 &param, bool b)
 Resets the internal state of the estimator to the given PDF. More...
virtual bool setParameter (const std::string &param, double v)
 Set a real-valued parameter of this state estimator. More...
virtual bool setParameter (const std::string &param, 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)
PropertygetProperty (const Attribute &attribute)

Detailed Description

Definition at line 21 of file SemanticObject.h.

Constructor & Destructor Documentation

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.

mhf::SemanticObject::~SemanticObject ( )

Definition at line 34 of file SemanticObject.cpp.

Member Function Documentation

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.

SemanticObject * mhf::SemanticObject::clone ( ) const

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
double mhf::SemanticObject::getLikelihood ( const PropertySet ev) const

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.

Member Data Documentation

std::string mhf::SemanticObject::expected_class_

Definition at line 63 of file SemanticObject.h.

ObjectID mhf::SemanticObject::ID_

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.

int mhf::SemanticObject::N_SEMANTICOBJECT = 0

Definition at line 25 of file SemanticObject.h.

std::set<Hypothesis*> mhf::SemanticObject::parent_hypotheses_

Definition at line 65 of file SemanticObject.h.

The documentation for this class was generated from the following files:

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