#include <AverageConditionalProbability.h>
Public Member Functions | |
AverageConditionalProbability () | |
~AverageConditionalProbability () | |
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 average probability of the separate conditional probabilities: 1/n (P(x | p1) + P(x | p2) + ... + P(x | pn))
Definition at line 28 of file AverageConditionalProbability.h.
ProbabilisticSceneRecognition::AverageConditionalProbability::AverageConditionalProbability | ( | ) |
Constructor.
Definition at line 23 of file AverageConditionalProbability.cpp.
ProbabilisticSceneRecognition::AverageConditionalProbability::~AverageConditionalProbability | ( | ) |
Destructor.
Definition at line 26 of file AverageConditionalProbability.cpp.
|
privatevirtual |
Calculate the probability from the parent probabilities.
Implements ProbabilisticSceneRecognition::ConditionalProbability.
Definition at line 29 of file AverageConditionalProbability.cpp.