#include <HypothesesTree.h>
Public Member Functions | |
| void | addEvidence (const EvidenceSet &ev_set) |
| const std::list < SemanticObject * > & | getAllObjects () const |
| int | getHeight () const |
| const std::list< Hypothesis * > & | getHypotheses () const |
| const Hypothesis & | getMAPHypothesis () const |
| const std::list < SemanticObject * > & | getMAPObjects () const |
| HypothesisTree (int num_max_hyps, double max_min_prob_ratio) | |
| void | showStatistics () |
| virtual | ~HypothesisTree () |
Protected Member Functions | |
| void | applyAssignments () |
| void | expandTree (const EvidenceSet &ev_set) |
| void | normalizeProbabilities () |
| void | pruneTree (const Time ×tamp) |
Protected Attributes | |
| std::list< Hypothesis * > | leafs_ |
| Hypothesis * | MAP_hypothesis_ |
| double | max_min_prob_ratio_ |
| long | n_updates_ |
| unsigned int | num_max_hyps_ |
| Hypothesis * | root_ |
| double | t_last_update_ |
| int | tree_height_ |
Definition at line 75 of file HypothesesTree.h.
| mhf::HypothesisTree::HypothesisTree | ( | int | num_max_hyps, |
| double | max_min_prob_ratio | ||
| ) |
Definition at line 44 of file HypothesesTree.cpp.
| mhf::HypothesisTree::~HypothesisTree | ( | ) | [virtual] |
Definition at line 56 of file HypothesesTree.cpp.
| void mhf::HypothesisTree::addEvidence | ( | const EvidenceSet & | ev_set | ) |
Definition at line 65 of file HypothesesTree.cpp.
| void mhf::HypothesisTree::applyAssignments | ( | ) | [protected] |
Definition at line 119 of file HypothesesTree.cpp.
| void mhf::HypothesisTree::expandTree | ( | const EvidenceSet & | ev_set | ) | [protected] |
Definition at line 131 of file HypothesesTree.cpp.
| const std::list<SemanticObject*>& mhf::HypothesisTree::getAllObjects | ( | ) | const |
| int mhf::HypothesisTree::getHeight | ( | ) | const |
Definition at line 375 of file HypothesesTree.cpp.
| const list< Hypothesis * > & mhf::HypothesisTree::getHypotheses | ( | ) | const |
Definition at line 371 of file HypothesesTree.cpp.
| const Hypothesis & mhf::HypothesisTree::getMAPHypothesis | ( | ) | const |
Definition at line 380 of file HypothesesTree.cpp.
| const list< SemanticObject * > & mhf::HypothesisTree::getMAPObjects | ( | ) | const |
Definition at line 384 of file HypothesesTree.cpp.
| void mhf::HypothesisTree::normalizeProbabilities | ( | ) | [protected] |
Definition at line 263 of file HypothesesTree.cpp.
| void mhf::HypothesisTree::pruneTree | ( | const Time & | timestamp | ) | [protected] |
Definition at line 278 of file HypothesesTree.cpp.
| void mhf::HypothesisTree::showStatistics | ( | ) |
Definition at line 394 of file HypothesesTree.cpp.
std::list<Hypothesis*> mhf::HypothesisTree::leafs_ [protected] |
Definition at line 114 of file HypothesesTree.h.
Hypothesis* mhf::HypothesisTree::MAP_hypothesis_ [protected] |
Definition at line 116 of file HypothesesTree.h.
double mhf::HypothesisTree::max_min_prob_ratio_ [protected] |
ratio between max and min hypothesis probability
Definition at line 127 of file HypothesesTree.h.
long mhf::HypothesisTree::n_updates_ [protected] |
Definition at line 118 of file HypothesesTree.h.
unsigned int mhf::HypothesisTree::num_max_hyps_ [protected] |
Definition at line 124 of file HypothesesTree.h.
Hypothesis* mhf::HypothesisTree::root_ [protected] |
Definition at line 112 of file HypothesesTree.h.
double mhf::HypothesisTree::t_last_update_ [protected] |
Definition at line 120 of file HypothesesTree.h.
int mhf::HypothesisTree::tree_height_ [protected] |
Definition at line 122 of file HypothesesTree.h.