#include <PowerSetBackgroundInferenceAlgorithm.h>
Public Member Functions | |
void | doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger) |
double | getProbability () |
PowerSetBackgroundInferenceAlgorithm () | |
~PowerSetBackgroundInferenceAlgorithm () | |
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 calculates and evaluates the power set of all background scene objects and summarized the result of each subset.
Definition at line 46 of file PowerSetBackgroundInferenceAlgorithm.h.
ProbabilisticSceneRecognition::PowerSetBackgroundInferenceAlgorithm::PowerSetBackgroundInferenceAlgorithm | ( | ) |
Constructor.
Definition at line 22 of file PowerSetBackgroundInferenceAlgorithm.cpp.
ProbabilisticSceneRecognition::PowerSetBackgroundInferenceAlgorithm::~PowerSetBackgroundInferenceAlgorithm | ( | ) |
Destructor.
Definition at line 28 of file PowerSetBackgroundInferenceAlgorithm.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 PowerSetBackgroundInferenceAlgorithm.cpp.
|
virtual |
Returns the probability calculated by the inference process.
Implements ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm.
Definition at line 112 of file PowerSetBackgroundInferenceAlgorithm.cpp.
|
private |
The probability calculated by this algorithm.
Definition at line 79 of file PowerSetBackgroundInferenceAlgorithm.h.