Hypotheses tree nodes. More...
#include <hypothesis.h>
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) |
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.
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.
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.
string Hypothesis::name | ( | ) |
string Hypothesis::nameUI | ( | ) |
Create hypothesis name formated to the user interface.
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.
name | name of the new attribute | |
value | value of the corresponding attribute |
Definition at line 64 of file hypothesis.cpp.
ostream& operator<< | ( | ostream & | o, | |
Hypothesis & | h | |||
) | [friend] |
Definition at line 108 of file hypothesis.cpp.
vector<string> Hypothesis::_attribute_names |
Attribute names used in the graphviz representation of this hypothesis.
Definition at line 88 of file hypothesis.h.
vector<string> Hypothesis::_attribute_values |
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.
long Hypothesis::_id |
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.
double Hypothesis::_probability |
Hypothesis probability.
Definition at line 68 of file hypothesis.h.
double Hypothesis::_prod |
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.
vector<TargetPtr> Hypothesis::_targets |
List of hypothesis targets.
Definition at line 93 of file hypothesis.h.
long Hypothesis::_uid |
Unique id for all currently existing hypotheses.
Definition at line 66 of file hypothesis.h.