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

#include <Hypothesis.h>

Public Member Functions

void addChildHypothesis (Hypothesis *h)
 
void addObject (SemanticObject *obj)
 
void addPotentialAssignment (Assignment *assignment)
 
void applyAssignments ()
 
double calculateBranchProbabilities ()
 
int calculateHeigth ()
 
void clear ()
 
void clearAssignmentSet ()
 
void clearInactive ()
 
Hypothesisclone () const
 
void deleteChildren ()
 
HypothesisdeleteSinglePaths ()
 
HypothesisdetermineBestLeaf ()
 
void findActiveLeafs (std::list< Hypothesis * > &active_leafs)
 
AssignmentMatrixgetAssignmentMatrix () const
 
const AssignmentSetgetAssignments () const
 
const HypothesisgetBestLeaf () const
 
std::list< Hypothesis * > & getChildHypotheses ()
 
int getHeight () const
 
int getNumObjects () const
 
const std::list< SemanticObject * > & getObjects () const
 
const HypothesisgetParent () const
 
double getProbability () const
 
double getTimestamp () const
 
 Hypothesis (const double &global_timestamp, double probability=-1)
 
void setAssignments (AssignmentSet *assignments)
 
void setInactive ()
 
void setProbability (double prob)
 
virtual ~Hypothesis ()
 

Protected Attributes

AssignmentMatrixassignment_matrix_
 
AssignmentSetassignment_set_
 
Hypothesisbest_leaf_
 
std::list< Hypothesis * > children_
 
int height_
 
bool is_active_leaf_
 
std::list< SemanticObject * > objects_
 
Hypothesisparent_
 
double probability_
 
double timestamp_
 

Detailed Description

Definition at line 74 of file Hypothesis.h.

Constructor & Destructor Documentation

Hypothesis::Hypothesis ( const double &  global_timestamp,
double  probability = -1 
)

Definition at line 25 of file Hypothesis.cpp.

Hypothesis::~Hypothesis ( )
virtual

Definition at line 29 of file Hypothesis.cpp.

Member Function Documentation

void Hypothesis::addChildHypothesis ( Hypothesis h)

Definition at line 108 of file Hypothesis.cpp.

void Hypothesis::addObject ( SemanticObject obj)

Definition at line 114 of file Hypothesis.cpp.

void Hypothesis::addPotentialAssignment ( Assignment assignment)

Definition at line 125 of file Hypothesis.cpp.

void Hypothesis::applyAssignments ( )

Definition at line 132 of file Hypothesis.cpp.

double Hypothesis::calculateBranchProbabilities ( )

Definition at line 189 of file Hypothesis.cpp.

int Hypothesis::calculateHeigth ( )

Definition at line 203 of file Hypothesis.cpp.

void Hypothesis::clear ( )

Definition at line 245 of file Hypothesis.cpp.

void Hypothesis::clearAssignmentSet ( )

Definition at line 120 of file Hypothesis.cpp.

void Hypothesis::clearInactive ( )

Definition at line 267 of file Hypothesis.cpp.

Hypothesis* mhf::Hypothesis::clone ( ) const
void Hypothesis::deleteChildren ( )

Definition at line 277 of file Hypothesis.cpp.

Hypothesis * Hypothesis::deleteSinglePaths ( )

Definition at line 286 of file Hypothesis.cpp.

Hypothesis * Hypothesis::determineBestLeaf ( )

Definition at line 212 of file Hypothesis.cpp.

void Hypothesis::findActiveLeafs ( std::list< Hypothesis * > &  active_leafs)

Definition at line 228 of file Hypothesis.cpp.

AssignmentMatrix * Hypothesis::getAssignmentMatrix ( ) const

Definition at line 78 of file Hypothesis.cpp.

const AssignmentSet * Hypothesis::getAssignments ( ) const

Definition at line 39 of file Hypothesis.cpp.

const Hypothesis * Hypothesis::getBestLeaf ( ) const

Definition at line 43 of file Hypothesis.cpp.

list< Hypothesis * > & Hypothesis::getChildHypotheses ( )

Definition at line 48 of file Hypothesis.cpp.

int Hypothesis::getHeight ( ) const

Definition at line 52 of file Hypothesis.cpp.

int Hypothesis::getNumObjects ( ) const

Definition at line 56 of file Hypothesis.cpp.

const list< SemanticObject * > & Hypothesis::getObjects ( ) const

Definition at line 60 of file Hypothesis.cpp.

const Hypothesis * Hypothesis::getParent ( ) const

Definition at line 65 of file Hypothesis.cpp.

double Hypothesis::getProbability ( ) const

Definition at line 69 of file Hypothesis.cpp.

double Hypothesis::getTimestamp ( ) const

Definition at line 74 of file Hypothesis.cpp.

void Hypothesis::setAssignments ( AssignmentSet assignments)

Definition at line 87 of file Hypothesis.cpp.

void Hypothesis::setInactive ( )

Definition at line 95 of file Hypothesis.cpp.

void Hypothesis::setProbability ( double  prob)

Definition at line 99 of file Hypothesis.cpp.

Member Data Documentation

AssignmentMatrix* mhf::Hypothesis::assignment_matrix_
protected

Definition at line 173 of file Hypothesis.h.

AssignmentSet* mhf::Hypothesis::assignment_set_
protected

Definition at line 171 of file Hypothesis.h.

Hypothesis* mhf::Hypothesis::best_leaf_
protected

Definition at line 175 of file Hypothesis.h.

std::list<Hypothesis*> mhf::Hypothesis::children_
protected

Definition at line 169 of file Hypothesis.h.

int mhf::Hypothesis::height_
protected

Definition at line 177 of file Hypothesis.h.

bool mhf::Hypothesis::is_active_leaf_
protected

Definition at line 179 of file Hypothesis.h.

std::list<SemanticObject*> mhf::Hypothesis::objects_
protected

Definition at line 165 of file Hypothesis.h.

Hypothesis* mhf::Hypothesis::parent_
protected

Definition at line 167 of file Hypothesis.h.

double mhf::Hypothesis::probability_
protected

Definition at line 161 of file Hypothesis.h.

double mhf::Hypothesis::timestamp_
protected

Definition at line 163 of file Hypothesis.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