Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
mhf::KnowledgeDatabase Class Reference

#include <KnowledgeDatabase.h>

List of all members.

Public Member Functions

void addClassModel (const std::string &class_name, ClassModel *model)
const pbl::PMFgetClassDistribution () const
const ClassModelgetClassModel (const std::string &class_name) const
const std::map< std::string,
ClassModel * > & 
getClassModels () const
const PropertySetgetClutterPDFs (const std::string &class_name) const
const IStateEstimatorgetEstimator (const std::string &class_name, const Attribute &attribute) const
const PropertySetgetNewPDFs (const std::string &class_name) const
double getPriorClutter () const
double getPriorExisting () const
double getPriorNew () const
double getProbabilityClutter (const Evidence &z)
double getProbabilityExisting (const Evidence &z, const SemanticObject &obj)
double getProbabilityNew (const Evidence &z)
std::vector< PropertyinferProperties (const PropertySet &prop_set, std::vector< Attribute >) const
void setPriorClutter (double prior_clutter)
void setPriorExisting (double prior_existing)
void setPriorNew (double prior_new)
virtual ~KnowledgeDatabase ()

Static Public Member Functions

static KnowledgeDatabasegetInstance ()

Protected Member Functions

 KnowledgeDatabase ()

Protected Attributes

std::map< std::string,
ClassModel * > 
class_models_
pbl::PMF class_pmf_
double prior_clutter_
double prior_existing_
double prior_new_

Static Protected Attributes

static KnowledgeDatabaseinstance_ = 0

Detailed Description

Definition at line 21 of file KnowledgeDatabase.h.


Constructor & Destructor Documentation

Definition at line 28 of file KnowledgeDatabase.cpp.

Definition at line 24 of file KnowledgeDatabase.cpp.


Member Function Documentation

void mhf::KnowledgeDatabase::addClassModel ( const std::string &  class_name,
ClassModel model 
)

Definition at line 34 of file KnowledgeDatabase.cpp.

Definition at line 50 of file KnowledgeDatabase.cpp.

const ClassModel * mhf::KnowledgeDatabase::getClassModel ( const std::string &  class_name) const

Definition at line 82 of file KnowledgeDatabase.cpp.

const std::map< std::string, ClassModel * > & mhf::KnowledgeDatabase::getClassModels ( ) const

Definition at line 78 of file KnowledgeDatabase.cpp.

const PropertySet & mhf::KnowledgeDatabase::getClutterPDFs ( const std::string &  class_name) const

Definition at line 42 of file KnowledgeDatabase.cpp.

const IStateEstimator * mhf::KnowledgeDatabase::getEstimator ( const std::string &  class_name,
const Attribute attribute 
) const

Definition at line 46 of file KnowledgeDatabase.cpp.

Definition at line 16 of file KnowledgeDatabase.cpp.

const PropertySet & mhf::KnowledgeDatabase::getNewPDFs ( const std::string &  class_name) const

Definition at line 38 of file KnowledgeDatabase.cpp.

Definition at line 74 of file KnowledgeDatabase.cpp.

Definition at line 70 of file KnowledgeDatabase.cpp.

Definition at line 66 of file KnowledgeDatabase.cpp.

Definition at line 134 of file KnowledgeDatabase.cpp.

Definition at line 174 of file KnowledgeDatabase.cpp.

Definition at line 94 of file KnowledgeDatabase.cpp.

Definition at line 186 of file KnowledgeDatabase.cpp.

void mhf::KnowledgeDatabase::setPriorClutter ( double  prior_clutter)

Definition at line 62 of file KnowledgeDatabase.cpp.

void mhf::KnowledgeDatabase::setPriorExisting ( double  prior_existing)

Definition at line 58 of file KnowledgeDatabase.cpp.

void mhf::KnowledgeDatabase::setPriorNew ( double  prior_new)

Definition at line 54 of file KnowledgeDatabase.cpp.


Member Data Documentation

std::map<std::string, ClassModel*> mhf::KnowledgeDatabase::class_models_ [protected]

Definition at line 77 of file KnowledgeDatabase.h.

Definition at line 75 of file KnowledgeDatabase.h.

Definition at line 67 of file KnowledgeDatabase.h.

Definition at line 73 of file KnowledgeDatabase.h.

Definition at line 71 of file KnowledgeDatabase.h.

Definition at line 69 of file KnowledgeDatabase.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