Main Page
Namespaces
Classes
Files
File List
File Members
src
inference
model
foreground
ocm
shape
conditional_probability
MultipliedConditionalProbability.cpp
Go to the documentation of this file.
1
18
#include "
inference/model/foreground/ocm/shape/conditional_probability/MultipliedConditionalProbability.h
"
19
20
namespace
ProbabilisticSceneRecognition
{
21
22
MultipliedConditionalProbability::MultipliedConditionalProbability
():
ConditionalProbability
()
23
{ }
24
25
MultipliedConditionalProbability::~MultipliedConditionalProbability
()
26
{ }
27
28
double
MultipliedConditionalProbability::calculateProbability
()
29
{
30
double
product = 1.0;
31
for
(std::pair<std::string, double> probability:
ConditionalProbability::mParentProbabilities
)
32
product *= probability.second;
33
return
product;
34
}
35
36
}
37
MultipliedConditionalProbability.h
ProbabilisticSceneRecognition::ConditionalProbability::mParentProbabilities
std::map< std::string, double > mParentProbabilities
Definition:
ConditionalProbability.h:70
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::ConditionalProbability
Definition:
ConditionalProbability.h:27
ProbabilisticSceneRecognition::MultipliedConditionalProbability::MultipliedConditionalProbability
MultipliedConditionalProbability()
Definition:
MultipliedConditionalProbability.cpp:22
ProbabilisticSceneRecognition::MultipliedConditionalProbability::~MultipliedConditionalProbability
~MultipliedConditionalProbability()
Definition:
MultipliedConditionalProbability.cpp:25
ProbabilisticSceneRecognition::MultipliedConditionalProbability::calculateProbability
virtual double calculateProbability()
Definition:
MultipliedConditionalProbability.cpp:28
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54