8 #ifndef WM_KNOWLEDGEDATABASE_H_ 9 #define WM_KNOWLEDGEDATABASE_H_ const ClassModel * getClassModel(const std::string &class_name) const
void setPriorExisting(double prior_existing)
void setPriorClutter(double prior_clutter)
const std::map< std::string, ClassModel * > & getClassModels() const
void setPriorNew(double prior_new)
void addClassModel(const std::string &class_name, ClassModel *model)
double getPriorClutter() const
const PropertySet & getNewPDFs(const std::string &class_name) const
Base class for all state estimators used by the world model.
static KnowledgeDatabase & getInstance()
const IStateEstimator * getEstimator(const std::string &class_name, const Attribute &attribute) const
double getPriorNew() const
The class Evidence represents a set of properties (PropertySet) that all originate from one physical ...
double getProbabilityExisting(const Evidence &z, const SemanticObject &obj)
static KnowledgeDatabase * instance_
Contains knowledge about a specific object class on where to expect new objects of that class (new) a...
double getProbabilityClutter(const Evidence &z)
std::vector< Property > inferProperties(const PropertySet &prop_set, std::vector< Attribute >) const
TFSIMD_FORCE_INLINE const tfScalar & z() const
const PropertySet & getClutterPDFs(const std::string &class_name) const
std::map< std::string, ClassModel * > class_models_
double getPriorExisting() const
double getProbabilityNew(const Evidence &z)
const pbl::PMF & getClassDistribution() const
virtual ~KnowledgeDatabase()