Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes
mhf::PropertySet Class Reference

#include <PropertySet.h>

Inheritance diagram for mhf::PropertySet:
Inheritance graph
[legend]

List of all members.

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)
PropertySetclone () const
virtual double getLikelihood (const PropertySet &P) const
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.
void propagate (const Time &time)
 Propagates the internal state to Time time.
 PropertySet (Time timestamp=0)
 PropertySet (const PropertySet &orig)
void reset ()
 Resets the internal state of the estimator to its initial value.
std::string toString () const
void update (const pbl::PDF &z, const Time &time)
 Updates the internal state based on measurement z.
virtual ~PropertySet ()

Static Public Attributes

static int N_PROPERTY_SET = 0

Protected Member Functions

void addProperty (Property *property)
PropertygetProperty (const Attribute &attribute)

Protected Attributes

Time timestamp_

Private Attributes

std::map< Attribute, Property * > properties_

Detailed Description

Definition at line 13 of file PropertySet.h.


Constructor & Destructor Documentation

mhf::PropertySet::PropertySet ( Time  timestamp = 0)

Definition at line 19 of file PropertySet.cpp.

Definition at line 31 of file PropertySet.cpp.

Definition at line 23 of file PropertySet.cpp.


Member Function Documentation

void mhf::PropertySet::addProperty ( const Attribute attribute,
const pbl::PDF value 
)

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.

void mhf::PropertySet::addProperty ( Property property) [protected]

Definition at line 65 of file PropertySet.cpp.

PropertySet * mhf::PropertySet::clone ( ) const [virtual]

Implements mhf::IStateEstimator.

Reimplemented in mhf::SemanticObject.

Definition at line 37 of file PropertySet.cpp.

double mhf::PropertySet::getLikelihood ( const PropertySet P) const [virtual]

Reimplemented in mhf::SemanticObject.

Definition at line 121 of file PropertySet.cpp.

const Property * mhf::PropertySet::getProperty ( const Attribute attribute) const

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.

Property * mhf::PropertySet::getProperty ( const Attribute attribute) [protected]

Definition at line 83 of file PropertySet.cpp.

const std::map< Attribute, Property * > & mhf::PropertySet::getPropertyMap ( ) const

Definition at line 162 of file PropertySet.cpp.

Reimplemented in mhf::SemanticObject.

Definition at line 166 of file PropertySet.cpp.

const pbl::PDF & mhf::PropertySet::getValue ( ) const [virtual]

Returns the current estimated state value.

Returns:
The current state, i.e., the current attribute value represented as probability density function

Implements mhf::IStateEstimator.

Definition at line 117 of file PropertySet.cpp.

void mhf::PropertySet::propagate ( const Time time) [virtual]

Propagates the internal state to Time time.

Parameters:
timeThe time to which the internal state is propagated

Implements mhf::IStateEstimator.

Definition at line 95 of file PropertySet.cpp.

void mhf::PropertySet::reset ( ) [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.

void mhf::PropertySet::update ( const pbl::PDF z,
const Time time 
) [virtual]

Updates the internal state based on measurement z.

Parameters:
zThe measurement with which to update, represented as a probability density function
timeThe time to which the internal state is propagated before updating

Implements mhf::IStateEstimator.

Definition at line 107 of file PropertySet.cpp.


Member Data Documentation

Definition at line 16 of file PropertySet.h.

Definition at line 62 of file PropertySet.h.

Reimplemented in mhf::Evidence.

Definition at line 54 of file PropertySet.h.


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


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Tue Jan 7 2014 11:43:19