Public Member Functions | List of all members
ProbabilisticSceneRecognition::TermEvaluator Class Referenceabstract

#include <TermEvaluator.h>

Inheritance diagram for ProbabilisticSceneRecognition::TermEvaluator:
Inheritance graph
[legend]

Public Member Functions

virtual double calculateProbabilityForHypothesis (std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)=0
 
virtual unsigned int getNumberOfSlots ()=0
 
virtual void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)=0
 
virtual void load (boost::property_tree::ptree &pPt)=0
 
 TermEvaluator ()
 
virtual void visualize (std::vector< ISM::Object > pEvidenceList)=0
 
virtual ~TermEvaluator ()
 

Detailed Description

Abstract class to encapsulate the creation and maintenance of a joint probability distribution. The distributions are loaded from XML file. Object evidence will also be handles by this class, especially the case when new evidence was found and the model needs rebuilding.

Author
Joachim Gehrung
Version
See SVN

Definition at line 40 of file TermEvaluator.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::TermEvaluator::TermEvaluator ( )

Constructor.

Definition at line 22 of file TermEvaluator.cpp.

ProbabilisticSceneRecognition::TermEvaluator::~TermEvaluator ( )
virtual

Destructor.

Definition at line 26 of file TermEvaluator.cpp.

Member Function Documentation

virtual double ProbabilisticSceneRecognition::TermEvaluator::calculateProbabilityForHypothesis ( std::vector< ISM::Object >  pEvidenceList,
std::vector< unsigned int >  pAssignments 
)
pure virtual

Calculates the probability for a hypothesis with the given assignments.

Parameters
pEvidenceListA list containing all evidences.
pAssignmentsAssignments of parts to slots.
Returns
Probability as determinded by the term wrapped here.

Implemented in ProbabilisticSceneRecognition::AppearanceTermEvaluator, ProbabilisticSceneRecognition::OcclusionTermEvaluator, and ProbabilisticSceneRecognition::ShapeTermEvaluator.

virtual unsigned int ProbabilisticSceneRecognition::TermEvaluator::getNumberOfSlots ( )
pure virtual

Returns the number of slots of the OCM (equals the number of distributions).

Returns
The number of slots of the OCM.

Implemented in ProbabilisticSceneRecognition::AppearanceTermEvaluator, ProbabilisticSceneRecognition::OcclusionTermEvaluator, and ProbabilisticSceneRecognition::ShapeTermEvaluator.

virtual void ProbabilisticSceneRecognition::TermEvaluator::initializeVisualizer ( boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization >  mSuperior)
pure virtual

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implemented in ProbabilisticSceneRecognition::AppearanceTermEvaluator, ProbabilisticSceneRecognition::OcclusionTermEvaluator, and ProbabilisticSceneRecognition::ShapeTermEvaluator.

virtual void ProbabilisticSceneRecognition::TermEvaluator::load ( boost::property_tree::ptree &  pPt)
pure virtual

Loads the working data from an XML file.

Parameters
pPtData structure for performing XML operations.

Implemented in ProbabilisticSceneRecognition::AppearanceTermEvaluator, ProbabilisticSceneRecognition::OcclusionTermEvaluator, and ProbabilisticSceneRecognition::ShapeTermEvaluator.

virtual void ProbabilisticSceneRecognition::TermEvaluator::visualize ( std::vector< ISM::Object >  pEvidenceList)
pure virtual

Update the visualizers based on the evidence.

Parameters
pEvidenceListA list containing all evidences.

Implemented in ProbabilisticSceneRecognition::AppearanceTermEvaluator, ProbabilisticSceneRecognition::OcclusionTermEvaluator, and ProbabilisticSceneRecognition::ShapeTermEvaluator.


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


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09