Hypothesis class declaration. More...
#include <mtt/target.h>
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< Target > | TargetPtr |
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. |
Hypothesis class declaration.
Definition in file hypothesis.h.
typedef boost::shared_ptr<Hypothesis> HypothesisPtr |
Shared pointer to the Hypothesis class.
Definition at line 138 of file hypothesis.h.
Shared pointer to the Target class.
Definition at line 37 of file hypothesis.h.
enum hypotheses_status |
Possible hypothesis status.
Definition at line 42 of file hypothesis.h.
bool compareHypotheses | ( | HypothesisPtr | h1, | |
HypothesisPtr | h2 | |||
) |
Compare two hypotheses by uid.
h1 | first hypothesis | |
h2 | second hypothesis |
Definition at line 128 of file hypothesis.cpp.
bool compareHypothesesByProbability | ( | HypothesisPtr | h1, | |
HypothesisPtr | h2 | |||
) |
Compare two hypotheses by probability.
h1 | first hypothesis | |
h2 | second hypothesis |
Definition at line 118 of file hypothesis.cpp.
bool compareHypothesesByProbabilityDescending | ( | HypothesisPtr | h1, | |
HypothesisPtr | h2 | |||
) |
Compare two hypotheses by probability, but descending.
h1 | first hypothesis | |
h2 | second hypothesis |
Definition at line 123 of file hypothesis.cpp.