Public Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::OcclusionTermEvaluator Class Reference

#include <OcclusionTermEvaluator.h>

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

Public Member Functions

double calculateProbabilityForHypothesis (std::vector< ISM::Object > pEvidenceList, std::vector< unsigned int > pAssignments)
 
unsigned int getNumberOfSlots ()
 
void initializeVisualizer (boost::shared_ptr< Visualization::ProbabilisticPrimarySceneObjectVisualization > mSuperior)
 
void load (boost::property_tree::ptree &pPt)
 
 OcclusionTermEvaluator ()
 
void visualize (std::vector< ISM::Object > pEvidenceList)
 
 ~OcclusionTermEvaluator ()
 
- Public Member Functions inherited from ProbabilisticSceneRecognition::TermEvaluator
 TermEvaluator ()
 
virtual ~TermEvaluator ()
 

Private Attributes

boost::shared_ptr< ProbabilityTablemTable
 

Detailed Description

Subclass of the abstract TermEvaluator class responsible for the occlusion distribution which is part of P(h|theta).

Author
Joachim Gehrung
Version
See SVN

Definition at line 51 of file OcclusionTermEvaluator.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::OcclusionTermEvaluator::OcclusionTermEvaluator ( )

Constructor.

Definition at line 22 of file OcclusionTermEvaluator.cpp.

ProbabilisticSceneRecognition::OcclusionTermEvaluator::~OcclusionTermEvaluator ( )

Destructor.

Definition at line 29 of file OcclusionTermEvaluator.cpp.

Member Function Documentation

double ProbabilisticSceneRecognition::OcclusionTermEvaluator::calculateProbabilityForHypothesis ( std::vector< ISM::Object >  pEvidenceList,
std::vector< unsigned int >  pAssignments 
)
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 occlusion term.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 44 of file OcclusionTermEvaluator.cpp.

unsigned int ProbabilisticSceneRecognition::OcclusionTermEvaluator::getNumberOfSlots ( )
virtual

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

Returns
The number of slots of the OCM.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 87 of file OcclusionTermEvaluator.cpp.

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

Initializes the visualization mechanism.

Parameters
mSuperiorThe superior visualizer coordinating the scene visualizers.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 39 of file OcclusionTermEvaluator.cpp.

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

Loads the working data from an XML file.

Parameters
pPtData structure for performing XML operations.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 33 of file OcclusionTermEvaluator.cpp.

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

Update the visualizers based on the evidence.

Parameters
pEvidenceListA list containing all evidences.

Implements ProbabilisticSceneRecognition::TermEvaluator.

Definition at line 82 of file OcclusionTermEvaluator.cpp.

Member Data Documentation

boost::shared_ptr<ProbabilityTable> ProbabilisticSceneRecognition::OcclusionTermEvaluator::mTable
private

A probability table that describes the distribution of object types for every slot. The table has two columns per slot. The first column is the probabilit for NOT OBSERVING the object, the second one for observing it.

Definition at line 107 of file OcclusionTermEvaluator.h.


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