Cluster Class Reference

Hypotheses cluster class. More...

#include <cluster.h>

List of all members.

Public Member Functions

 Cluster ()
 Cluster constructor, variable initialization.
bool isEmpty ()
 Check if the cluster is a candidate for deletion.
 ~Cluster ()
 Cluster destructor, no task.

Public Attributes

vector< HypothesisPtrassigned_hypotheses
 Set of hypotheses belonging to the cluster.
vector< MeasurementPtrassigned_measurements
 Measurements assigned to this cluster, these measurements are in conflict with the cluster targets.
long id
 Id of the current cluster.

Friends

ostream & operator<< (ostream &o, Cluster &c)
 Print function.

Detailed Description

Hypotheses cluster class.

This class contains the representation of a single hypotheses cluster. The cluster contains a set of associated measurements (assigned_measurements) and a set of assigned hypotheses (assigned_hypotheses). These two sets constitute the ambiguity problem and will be solved together, creating associations between the targets in the hypotheses and the measurements.

Definition at line 55 of file cluster.h.


Constructor & Destructor Documentation

Cluster::Cluster (  ) 

Cluster constructor, variable initialization.

Definition at line 34 of file cluster.cpp.

Cluster::~Cluster (  ) 

Cluster destructor, no task.

Definition at line 39 of file cluster.cpp.


Member Function Documentation

bool Cluster::isEmpty (  ) 

Check if the cluster is a candidate for deletion.

Tests the number of hypotheses and their status. If there are non hypotheses or all hypotheses are dead this cluster is removed.

Returns:
true if the cluster is ready for deletion

Definition at line 46 of file cluster.cpp.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  o,
Cluster c 
) [friend]

Print function.

Definition at line 63 of file cluster.cpp.


Member Data Documentation

Set of hypotheses belonging to the cluster.

Definition at line 63 of file cluster.h.

Measurements assigned to this cluster, these measurements are in conflict with the cluster targets.

Definition at line 61 of file cluster.h.

Id of the current cluster.

Definition at line 59 of file cluster.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