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

#include <MaximumForegroundInferenceAlgorithm.h>

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

Public Member Functions

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

Private Attributes

double mProbability
 

Additional Inherited Members

- Protected Attributes inherited from ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm
boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > mSceneObjects
 

Detailed Description

Implementation of the abstract ForegroundInferenceAlgorithm class. It evaluates all foreground scene objects and takes the one with the best score.

Author
Joachim Gehrung
Version
See SVN

Definition at line 44 of file MaximumForegroundInferenceAlgorithm.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::MaximumForegroundInferenceAlgorithm::MaximumForegroundInferenceAlgorithm ( boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > &  pSceneObjects)

Constructor.

Parameters
pSceneObjectsThe scene objects associated with this foreground scene.

Definition at line 22 of file MaximumForegroundInferenceAlgorithm.cpp.

ProbabilisticSceneRecognition::MaximumForegroundInferenceAlgorithm::~MaximumForegroundInferenceAlgorithm ( )

Destructor.

Definition at line 28 of file MaximumForegroundInferenceAlgorithm.cpp.

Member Function Documentation

void ProbabilisticSceneRecognition::MaximumForegroundInferenceAlgorithm::doInference ( std::vector< ISM::Object >  pEvidenceList,
std::ofstream &  pRuntimeLogger 
)
virtual

Executes the inference based on the given evidence.

Parameters
pEvidenceListA list containing all evidences.
pRuntimeLoggerA file handle for runtime logging.

Implements ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm.

Definition at line 32 of file MaximumForegroundInferenceAlgorithm.cpp.

double ProbabilisticSceneRecognition::MaximumForegroundInferenceAlgorithm::getProbability ( )
virtual

Returns the probability calculated by the inference process.

Returns
Probability for this scene.

Implements ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm.

Definition at line 60 of file MaximumForegroundInferenceAlgorithm.cpp.

Member Data Documentation

double ProbabilisticSceneRecognition::MaximumForegroundInferenceAlgorithm::mProbability
private

The probability calculated by this algorithm.

Definition at line 80 of file MaximumForegroundInferenceAlgorithm.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