#include <SummarizedForegroundInferenceAlgorithm.h>
Public Member Functions | |
void | doInference (std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger) |
double | getProbability () |
SummarizedForegroundInferenceAlgorithm (boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > &pSceneObjects) | |
~SummarizedForegroundInferenceAlgorithm () | |
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 summarized the results.
Definition at line 43 of file SummarizedForegroundInferenceAlgorithm.h.
ProbabilisticSceneRecognition::SummarizedForegroundInferenceAlgorithm::SummarizedForegroundInferenceAlgorithm | ( | 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 SummarizedForegroundInferenceAlgorithm.cpp.
ProbabilisticSceneRecognition::SummarizedForegroundInferenceAlgorithm::~SummarizedForegroundInferenceAlgorithm | ( | ) |
Destructor.
Definition at line 28 of file SummarizedForegroundInferenceAlgorithm.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 SummarizedForegroundInferenceAlgorithm.cpp.
|
virtual |
Returns the probability calculated by the inference process.
Implements ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm.
Definition at line 54 of file SummarizedForegroundInferenceAlgorithm.cpp.
|
private |
The probability calculated by this algorithm.
Definition at line 79 of file SummarizedForegroundInferenceAlgorithm.h.