Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm Class Referenceabstract

#include <BackgroundInferenceAlgorithm.h>

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

Public Member Functions

 BackgroundInferenceAlgorithm ()
 
virtual void doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)=0
 
virtual double getProbability ()=0
 
void load (boost::property_tree::ptree &pPt)
 
 ~BackgroundInferenceAlgorithm ()
 
- Public Member Functions inherited from ProbabilisticSceneRecognition::InferenceAlgorithm
 InferenceAlgorithm ()
 
virtual ~InferenceAlgorithm ()
 

Protected Member Functions

double calculateProbabilityOfBackgroundSceneObject (unsigned int pNumberOfEvidence, unsigned int pNumberOfSlots)
 

Private Attributes

unsigned int mNumberOfObjectClasses
 
double mVolumeOfWorkspace
 

Detailed Description

Abstract subclass of the also abstract InferenceAlgorithm class. It provides the calculations for a background scene object. This is basically a foreground scene object which is evaluated under the assumption of equal distribution.

Author
Joachim Gehrung
Version
See SVN

Definition at line 46 of file BackgroundInferenceAlgorithm.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::BackgroundInferenceAlgorithm ( )

Constructor.

Definition at line 22 of file BackgroundInferenceAlgorithm.cpp.

ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::~BackgroundInferenceAlgorithm ( )

Destructor.

Definition at line 27 of file BackgroundInferenceAlgorithm.cpp.

Member Function Documentation

double ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::calculateProbabilityOfBackgroundSceneObject ( unsigned int  pNumberOfEvidence,
unsigned int  pNumberOfSlots 
)
protected

Calculates the probability of a single background scene object. There are multiple background scene objects, but they all have the same probability.

Parameters
pNumberOfEvidenceThe number of objects to consider for the background calculation.
pNumberOfSlotsThe total number of slots.
Returns
The probability of a single background scene object.

Definition at line 37 of file BackgroundInferenceAlgorithm.cpp.

virtual void ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::doInference ( std::vector< ISM::Object >  pEvidenceList,
std::ofstream &  pRuntimeLogger 
)
pure virtual
virtual double ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::getProbability ( )
pure virtual
void ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::load ( boost::property_tree::ptree &  pPt)
virtual

Loads the model from an XML file.

Parameters
pPtData structure for performing XML operations.

Implements ProbabilisticSceneRecognition::InferenceAlgorithm.

Definition at line 31 of file BackgroundInferenceAlgorithm.cpp.

Member Data Documentation

unsigned int ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::mNumberOfObjectClasses
private

The number of all possible object instances in the/our world.

Definition at line 98 of file BackgroundInferenceAlgorithm.h.

double ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::mVolumeOfWorkspace
private

The volume of the space we're operating in.

Definition at line 103 of file BackgroundInferenceAlgorithm.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