#include <MultipliedForegroundInferenceAlgorithm.h>
Public Member Functions | |
void | doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger) |
double | getProbability () |
MultipliedForegroundInferenceAlgorithm (boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > &pSceneObjects) | |
~MultipliedForegroundInferenceAlgorithm () | |
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 |
Implementation of the abstract ForegroundInferenceAlgorithm class. It evaluates all foreground scene objects and multiplies the results.
Definition at line 44 of file MultipliedForegroundInferenceAlgorithm.h.
ProbabilisticSceneRecognition::MultipliedForegroundInferenceAlgorithm::MultipliedForegroundInferenceAlgorithm | ( | boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > & | pSceneObjects | ) |
Constructor.
pSceneObjects | The scene objects associated with this foreground scene. |
Definition at line 22 of file MultipliedForegroundInferenceAlgorithm.cpp.
ProbabilisticSceneRecognition::MultipliedForegroundInferenceAlgorithm::~MultipliedForegroundInferenceAlgorithm | ( | ) |
Destructor.
Definition at line 28 of file MultipliedForegroundInferenceAlgorithm.cpp.
|
virtual |
Executes the inference based on the given evidence.
pEvidenceList | A list containing all evidences. |
pRuntimeLogger | A file handle for runtime logging. |
Implements ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm.
Definition at line 32 of file MultipliedForegroundInferenceAlgorithm.cpp.
|
virtual |
Returns the probability calculated by the inference process.
Implements ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm.
Definition at line 55 of file MultipliedForegroundInferenceAlgorithm.cpp.
|
private |
The probability calculated by this algorithm.
Definition at line 80 of file MultipliedForegroundInferenceAlgorithm.h.