Hypothesis Class Reference

Hypotheses tree nodes. More...

#include <hypothesis.h>

List of all members.

Public Member Functions

 Hypothesis (int iteration, int cluster, int status)
 Hypothesis constructor, specification of iteration cluster and status.
 Hypothesis ()
 Hypothesis constructor, variable initialization.
string name ()
 Create hypothesis name.
string nameUI ()
 Create hypothesis name formated to the user interface.
void setAttribute (string name, string value)
 Add a new attribute to the hypothesis, these attributes are only used in the graphviz plugin.
 ~Hypothesis ()
 Class destructor.

Public Attributes

vector< string > _attribute_names
 Attribute names used in the graphviz representation of this hypothesis.
vector< string > _attribute_values
 Values for the corresponding attributes.
int _aux1
 Auxiliary int variable, multi use, value not assured between calls.
int _cluster
 Id of the cluster this hypothesis belongs to.
long _id
 Main id of the hypothesis.
int _iteration
 Iteration for this hypothesis.
int _n_del
 Number of deleted targets.
int _n_det
 Number of detected targets.
int _n_fal
 Number of failed targets.
int _n_new
 Number of new targets.
int _n_occ
 Number of occluded targets.
long _parent_uid
 Id of the parent hypothesis.
double _probability
 Hypothesis probability.
double _prod
 Probability of current target to measurement assignment.
int _status
 Current status.
vector< TargetPtr_targets
 List of hypothesis targets.
long _uid
 Unique id for all currently existing hypotheses.

Static Public Attributes

static long _euid = 0
 Static extremely unique id for all hypotheses (since program start).

Friends

ostream & operator<< (ostream &o, Hypothesis &h)

Detailed Description

Hypotheses tree nodes.

This class is used as the main node for the hypotheses tree. Each hypothesis is a set of possible targets, a group of id values and a probability associated with it.

Definition at line 50 of file hypothesis.h.


Constructor & Destructor Documentation

Hypothesis::Hypothesis (  ) 

Hypothesis constructor, variable initialization.

Definition at line 82 of file hypothesis.cpp.

Hypothesis::Hypothesis ( int  iteration,
int  cluster,
int  status 
)

Hypothesis constructor, specification of iteration cluster and status.

Parameters:
iteration of this new hypothesis
cluster of this new hypothesis
status of the hypothesis

Definition at line 35 of file hypothesis.cpp.

Hypothesis::~Hypothesis (  ) 

Class destructor.

Definition at line 44 of file hypothesis.cpp.


Member Function Documentation

string Hypothesis::name (  ) 

Create hypothesis name.

Returns:
hypothesis name

Definition at line 57 of file hypothesis.cpp.

string Hypothesis::nameUI (  ) 

Create hypothesis name formated to the user interface.

Returns:
hypothesis UI name

Definition at line 50 of file hypothesis.cpp.

void Hypothesis::setAttribute ( string  name,
string  value 
)

Add a new attribute to the hypothesis, these attributes are only used in the graphviz plugin.

Parameters:
name name of the new attribute
value value of the corresponding attribute

Definition at line 64 of file hypothesis.cpp.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  o,
Hypothesis h 
) [friend]

Definition at line 108 of file hypothesis.cpp.


Member Data Documentation

Attribute names used in the graphviz representation of this hypothesis.

Definition at line 88 of file hypothesis.h.

Values for the corresponding attributes.

Definition at line 90 of file hypothesis.h.

Auxiliary int variable, multi use, value not assured between calls.

Definition at line 54 of file hypothesis.h.

Id of the cluster this hypothesis belongs to.

Definition at line 56 of file hypothesis.h.

long Hypothesis::_euid = 0 [static]

Static extremely unique id for all hypotheses (since program start).

Initialization of static variables in the Mht::Node class.

Definition at line 64 of file hypothesis.h.

Main id of the hypothesis.

Definition at line 60 of file hypothesis.h.

Iteration for this hypothesis.

Definition at line 58 of file hypothesis.h.

Number of deleted targets.

Definition at line 74 of file hypothesis.h.

Number of detected targets.

Definition at line 70 of file hypothesis.h.

Number of failed targets.

Definition at line 78 of file hypothesis.h.

Number of new targets.

Definition at line 76 of file hypothesis.h.

Number of occluded targets.

Definition at line 72 of file hypothesis.h.

Id of the parent hypothesis.

Definition at line 85 of file hypothesis.h.

Hypothesis probability.

Definition at line 68 of file hypothesis.h.

Probability of current target to measurement assignment.

Definition at line 80 of file hypothesis.h.

Current status.

Definition at line 62 of file hypothesis.h.

List of hypothesis targets.

Definition at line 93 of file hypothesis.h.

Unique id for all currently existing hypotheses.

Definition at line 66 of file hypothesis.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:58 2014