Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
ProbabilisticSceneRecognition::ConditionalProbability Class Referenceabstract

#include <ConditionalProbability.h>

Inheritance diagram for ProbabilisticSceneRecognition::ConditionalProbability:
Inheritance graph
[legend]

Public Member Functions

 ConditionalProbability ()
 
double getProbability ()
 
std::string printParentProbabilities ()
 
void setProbability (std::string pParentId, double pProbability)
 
 ~ConditionalProbability ()
 

Protected Member Functions

virtual double calculateProbability ()=0
 

Protected Attributes

std::map< std::string, double > mParentProbabilities
 

Private Attributes

bool mWasRead
 

Detailed Description

This class represents a conditional probability of an evidences pose given its parent evidences' poses.

Definition at line 27 of file ConditionalProbability.h.

Constructor & Destructor Documentation

ProbabilisticSceneRecognition::ConditionalProbability::ConditionalProbability ( )

Constructor.

Definition at line 22 of file ConditionalProbability.cpp.

ProbabilisticSceneRecognition::ConditionalProbability::~ConditionalProbability ( )

Destructor.

Definition at line 25 of file ConditionalProbability.cpp.

Member Function Documentation

virtual double ProbabilisticSceneRecognition::ConditionalProbability::calculateProbability ( )
protectedpure virtual
double ProbabilisticSceneRecognition::ConditionalProbability::getProbability ( )

Get the value of the conditional probability.

Returns
the value of the conditional probability.

Definition at line 35 of file ConditionalProbability.cpp.

std::string ProbabilisticSceneRecognition::ConditionalProbability::printParentProbabilities ( )

Returns the list of probabilities by parent ids as a string.

Returns
list of probabilities by parent ids as a string.

Definition at line 49 of file ConditionalProbability.cpp.

void ProbabilisticSceneRecognition::ConditionalProbability::setProbability ( std::string  pParentId,
double  pProbability 
)

Add a value to the conditional probability.

Parameters
pParentIdthe parent to set the probability for.
pProbthe value of the conditional probability.

Definition at line 28 of file ConditionalProbability.cpp.

Member Data Documentation

std::map<std::string, double> ProbabilisticSceneRecognition::ConditionalProbability::mParentProbabilities
protected

Probabilities by parent ids.

Definition at line 70 of file ConditionalProbability.h.

bool ProbabilisticSceneRecognition::ConditionalProbability::mWasRead
private

Whether this probability has already been read once. Adding to a probability that has already been read is forbidden.

Definition at line 77 of file ConditionalProbability.h.


The documentation for this class was generated from the following files:


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:09