#include <MaximumBackgroundInferenceAlgorithm.h>
Public Member Functions | |
void | doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger) |
double | getProbability () |
MaximumBackgroundInferenceAlgorithm () | |
~MaximumBackgroundInferenceAlgorithm () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm | |
BackgroundInferenceAlgorithm () | |
void | load (boost::property_tree::ptree &pPt) |
~BackgroundInferenceAlgorithm () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::InferenceAlgorithm | |
InferenceAlgorithm () | |
virtual | ~InferenceAlgorithm () |
Private Attributes | |
double | mProbability |
Additional Inherited Members | |
Protected Member Functions inherited from ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm | |
double | calculateProbabilityOfBackgroundSceneObject (unsigned int pNumberOfEvidence, unsigned int pNumberOfSlots) |
Implementation of the abstract BackgroundInferenceAlgorithm class. It evaluates all background scene objects and summarized the results.
Definition at line 46 of file MaximumBackgroundInferenceAlgorithm.h.
ProbabilisticSceneRecognition::MaximumBackgroundInferenceAlgorithm::MaximumBackgroundInferenceAlgorithm | ( | ) |
Constructor.
Definition at line 22 of file MaximumBackgroundInferenceAlgorithm.cpp.
ProbabilisticSceneRecognition::MaximumBackgroundInferenceAlgorithm::~MaximumBackgroundInferenceAlgorithm | ( | ) |
Destructor.
Definition at line 28 of file MaximumBackgroundInferenceAlgorithm.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::BackgroundInferenceAlgorithm.
Definition at line 32 of file MaximumBackgroundInferenceAlgorithm.cpp.
|
virtual |
Returns the probability calculated by the inference process.
Implements ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm.
Definition at line 55 of file MaximumBackgroundInferenceAlgorithm.cpp.
|
private |
The probability calculated by this algorithm.
Definition at line 79 of file MaximumBackgroundInferenceAlgorithm.h.