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