/home/laradmin/lar/perception/planarobstacles/mtt/src/hypothesis.cpp File Reference

Hypothesis class source code. More...

#include <mtt/hypothesis.h>
Include dependency graph for hypothesis.cpp:

Go to the source code of this file.

Functions

bool compareHypotheses (HypothesisPtr h1, HypothesisPtr h2)
 Compare two hypotheses by uid.
bool compareHypothesesByProbability (HypothesisPtr h1, HypothesisPtr h2)
 Compare two hypotheses by probability.
bool compareHypothesesByProbabilityDescending (HypothesisPtr h1, HypothesisPtr h2)
 Compare two hypotheses by probability, but descending.
ostream & operator<< (ostream &o, Hypothesis &h)

Detailed Description

Hypothesis class source code.

Definition in file hypothesis.cpp.


Function Documentation

bool compareHypotheses ( HypothesisPtr  h1,
HypothesisPtr  h2 
)

Compare two hypotheses by uid.

Parameters:
h1 first hypothesis
h2 second hypothesis
Returns:
true if h2 uid is larger that h1 uid

Definition at line 128 of file hypothesis.cpp.

bool compareHypothesesByProbability ( HypothesisPtr  h1,
HypothesisPtr  h2 
)

Compare two hypotheses by probability.

Parameters:
h1 first hypothesis
h2 second hypothesis
Returns:
true if h2 probability is larger that h1 probability

Definition at line 118 of file hypothesis.cpp.

bool compareHypothesesByProbabilityDescending ( HypothesisPtr  h1,
HypothesisPtr  h2 
)

Compare two hypotheses by probability, but descending.

Parameters:
h1 first hypothesis
h2 second hypothesis
Returns:
true if h2 probability is smaller that h1 probability

Definition at line 123 of file hypothesis.cpp.

ostream& operator<< ( ostream &  o,
Hypothesis h 
)

Definition at line 108 of file hypothesis.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:57 2014