Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mhf::HypothesisTree Class Reference

#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 HypothesisgetMAPHypothesis () 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 &timestamp)
 

Protected Attributes

std::list< Hypothesis * > leafs_
 
HypothesisMAP_hypothesis_
 
double max_min_prob_ratio_
 
long n_updates_
 
unsigned int num_max_hyps_
 
Hypothesisroot_
 
double t_last_update_
 
int tree_height_
 

Detailed Description

Definition at line 75 of file HypothesesTree.h.

Constructor & Destructor Documentation

mhf::HypothesisTree::HypothesisTree ( int  num_max_hyps,
double  max_min_prob_ratio 
)

Definition at line 42 of file HypothesesTree.cpp.

mhf::HypothesisTree::~HypothesisTree ( )
virtual

Definition at line 54 of file HypothesesTree.cpp.

Member Function Documentation

void mhf::HypothesisTree::addEvidence ( const EvidenceSet ev_set)

Definition at line 63 of file HypothesesTree.cpp.

void mhf::HypothesisTree::applyAssignments ( )
protected

Definition at line 118 of file HypothesesTree.cpp.

void mhf::HypothesisTree::expandTree ( const EvidenceSet ev_set)
protected

Definition at line 130 of file HypothesesTree.cpp.

const std::list<SemanticObject*>& mhf::HypothesisTree::getAllObjects ( ) const
int mhf::HypothesisTree::getHeight ( ) const

Definition at line 381 of file HypothesesTree.cpp.

const std::list< Hypothesis * > & mhf::HypothesisTree::getHypotheses ( ) const

Definition at line 377 of file HypothesesTree.cpp.

const Hypothesis & mhf::HypothesisTree::getMAPHypothesis ( ) const

Definition at line 386 of file HypothesesTree.cpp.

const std::list< SemanticObject * > & mhf::HypothesisTree::getMAPObjects ( ) const

Definition at line 390 of file HypothesesTree.cpp.

void mhf::HypothesisTree::normalizeProbabilities ( )
protected

Definition at line 269 of file HypothesesTree.cpp.

void mhf::HypothesisTree::pruneTree ( const Time timestamp)
protected

Definition at line 284 of file HypothesesTree.cpp.

void mhf::HypothesisTree::showStatistics ( )

Definition at line 400 of file HypothesesTree.cpp.

Member Data Documentation

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.


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


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:27