#include <MinimumConditionalProbability.h>
Public Member Functions | |
MinimumConditionalProbability () | |
~MinimumConditionalProbability () | |
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 minimum probability of the separate conditional probabilities: min(P(x|p1), P(x|p2) ...).
Definition at line 28 of file MinimumConditionalProbability.h.
ProbabilisticSceneRecognition::MinimumConditionalProbability::MinimumConditionalProbability | ( | ) |
Constructor.
Definition at line 22 of file MinimumConditionalProbability.cpp.
ProbabilisticSceneRecognition::MinimumConditionalProbability::~MinimumConditionalProbability | ( | ) |
Destructor.
Definition at line 25 of file MinimumConditionalProbability.cpp.
|
privatevirtual |
Calculate the probability from the parent probabilities.
Implements ProbabilisticSceneRecognition::ConditionalProbability.
Definition at line 28 of file MinimumConditionalProbability.cpp.