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

#include <KnowledgeDatabase.h>

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

mhf::KnowledgeDatabase::~KnowledgeDatabase ( )

Definition at line 28 of file KnowledgeDatabase.cpp.

mhf::KnowledgeDatabase::KnowledgeDatabase ( )

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.

const pbl::PMF & mhf::KnowledgeDatabase::getClassDistribution ( ) const

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.

KnowledgeDatabase & mhf::KnowledgeDatabase::getInstance ( )

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.

double mhf::KnowledgeDatabase::getPriorClutter ( ) const

Definition at line 74 of file KnowledgeDatabase.cpp.

double mhf::KnowledgeDatabase::getPriorExisting ( ) const

Definition at line 70 of file KnowledgeDatabase.cpp.

double mhf::KnowledgeDatabase::getPriorNew ( ) const

Definition at line 66 of file KnowledgeDatabase.cpp.

double mhf::KnowledgeDatabase::getProbabilityClutter ( const Evidence z)

Definition at line 134 of file KnowledgeDatabase.cpp.

double mhf::KnowledgeDatabase::getProbabilityExisting ( const Evidence z,
const SemanticObject obj 

Definition at line 174 of file KnowledgeDatabase.cpp.

double mhf::KnowledgeDatabase::getProbabilityNew ( const Evidence z)

Definition at line 94 of file KnowledgeDatabase.cpp.

vector< Property > mhf::KnowledgeDatabase::inferProperties ( const PropertySet prop_set,
std::vector< Attribute  
) const

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_

Definition at line 77 of file KnowledgeDatabase.h.

pbl::PMF mhf::KnowledgeDatabase::class_pmf_

Definition at line 75 of file KnowledgeDatabase.h.

KnowledgeDatabase * mhf::KnowledgeDatabase::instance_ = 0

Definition at line 67 of file KnowledgeDatabase.h.

double mhf::KnowledgeDatabase::prior_clutter_

Definition at line 73 of file KnowledgeDatabase.h.

double mhf::KnowledgeDatabase::prior_existing_

Definition at line 71 of file KnowledgeDatabase.h.

double mhf::KnowledgeDatabase::prior_new_

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