#include <MultipliedConditionalProbability.h>
Public Member Functions | |
MultipliedConditionalProbability () | |
~MultipliedConditionalProbability () | |
Public Member Functions inherited from ProbabilisticSceneRecognition::ConditionalProbability | |
ConditionalProbability () | |
double | getProbability () |
std::string | printParentProbabilities () |
void | setProbability (std::string pParentId, double pProbability) |
~ConditionalProbability () | |
Private Member Functions | |
virtual double | calculateProbability () |
Additional Inherited Members | |
Protected Attributes inherited from ProbabilisticSceneRecognition::ConditionalProbability | |
std::map< std::string, double > | mParentProbabilities |
This class represents a conditional probability of an evidences pose x given its parent evidence's pose p: P(x|p). If there are several parents p1, p2, ..., it uses the multiplied probability of the separate conditional probabilities: P(x|p1) * P(x|p2) * ...).
Definition at line 28 of file MultipliedConditionalProbability.h.
ProbabilisticSceneRecognition::MultipliedConditionalProbability::MultipliedConditionalProbability | ( | ) |
Constructor.
Definition at line 22 of file MultipliedConditionalProbability.cpp.
ProbabilisticSceneRecognition::MultipliedConditionalProbability::~MultipliedConditionalProbability | ( | ) |
Destructor.
Definition at line 25 of file MultipliedConditionalProbability.cpp.
|
privatevirtual |
Calculate the probability from the parent probabilities.
Implements ProbabilisticSceneRecognition::ConditionalProbability.
Definition at line 28 of file MultipliedConditionalProbability.cpp.