/home/laradmin/lar/perception/planarobstacles/mtt/include/mtt/hypothesis.h File Reference

Hypothesis class declaration. More...

#include <mtt/target.h>
Include dependency graph for hypothesis.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Hypothesis
 Hypotheses tree nodes. More...

Typedefs

typedef boost::shared_ptr
< Hypothesis
HypothesisPtr
 Shared pointer to the Hypothesis class.
typedef boost::shared_ptr< TargetTargetPtr
 Shared pointer to the Target class.

Enumerations

enum  hypotheses_status {
  NORMAL = 0, MOVED, FORCED_PARENT, PARENT,
  DEAD, DEAD_FORCED_PARENT, ERROR
}
 

Possible hypothesis status.

More...

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.

Detailed Description

Hypothesis class declaration.

Definition in file hypothesis.h.


Typedef Documentation

typedef boost::shared_ptr<Hypothesis> HypothesisPtr

Shared pointer to the Hypothesis class.

Definition at line 138 of file hypothesis.h.

typedef boost::shared_ptr<Target> TargetPtr

Shared pointer to the Target class.

Definition at line 37 of file hypothesis.h.


Enumeration Type Documentation

Possible hypothesis status.

Enumerator:
NORMAL 
MOVED 
FORCED_PARENT 
PARENT 
DEAD 
DEAD_FORCED_PARENT 
ERROR 

Definition at line 42 of file hypothesis.h.


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.

 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