#include <RootOfMultipliedConditionalProbability.h>
Public Member Functions | |
RootOfMultipliedConditionalProbability () | |
~RootOfMultipliedConditionalProbability () | |
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, ... pn, it uses the nth root of the multiplied probability of the separate conditional probabilities: root_n(P(x|p1) * P(x|p2) * ...).
Definition at line 29 of file RootOfMultipliedConditionalProbability.h.
ProbabilisticSceneRecognition::RootOfMultipliedConditionalProbability::RootOfMultipliedConditionalProbability | ( | ) |
Constructor.
Definition at line 22 of file RootOfMultipliedConditionalProbability.cpp.
ProbabilisticSceneRecognition::RootOfMultipliedConditionalProbability::~RootOfMultipliedConditionalProbability | ( | ) |
Destructor.
Definition at line 25 of file RootOfMultipliedConditionalProbability.cpp.
|
privatevirtual |
Calculate the probability from the parent probabilities.
Implements ProbabilisticSceneRecognition::ConditionalProbability.
Definition at line 28 of file RootOfMultipliedConditionalProbability.cpp.