Public Member Functions | Public Attributes | Friends | List of all members
Cluster Class Reference

Hypotheses cluster class. More...

#include <cluster.h>

Public Member Functions

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

Public Attributes

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

Friends

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

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

vector<HypothesisPtr> Cluster::assigned_hypotheses

Set of hypotheses belonging to the cluster.

Definition at line 63 of file cluster.h.

vector<MeasurementPtr> Cluster::assigned_measurements

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

Definition at line 61 of file cluster.h.

long Cluster::id

Id of the current cluster.

Definition at line 59 of file cluster.h.


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


mtt
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:18