#include <PowerSetForegroundInferenceAlgorithm.h>
Public Member Functions | |
void | doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger) |
double | getProbability () |
PowerSetForegroundInferenceAlgorithm (boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > &pSceneObjects) | |
~PowerSetForegroundInferenceAlgorithm () | |
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 calculates and evaluates the power set of all foreground scene objects and summarized the result of each subset.
Definition at line 44 of file PowerSetForegroundInferenceAlgorithm.h.
ProbabilisticSceneRecognition::PowerSetForegroundInferenceAlgorithm::PowerSetForegroundInferenceAlgorithm | ( | 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 PowerSetForegroundInferenceAlgorithm.cpp.
ProbabilisticSceneRecognition::PowerSetForegroundInferenceAlgorithm::~PowerSetForegroundInferenceAlgorithm | ( | ) |
Destructor.
Definition at line 28 of file PowerSetForegroundInferenceAlgorithm.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 PowerSetForegroundInferenceAlgorithm.cpp.
|
virtual |
Returns the probability calculated by the inference process.
Implements ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm.
Definition at line 96 of file PowerSetForegroundInferenceAlgorithm.cpp.
|
private |
The probability calculated by this algorithm.
Definition at line 80 of file PowerSetForegroundInferenceAlgorithm.h.