65 o<<
"cluster: "<<c.
id<<endl;
67 o<<
"\tmeasurements: "<<endl;
75 o<<
"\thypotheses: "<<endl;
84 o<<
"\t\t"<<hypothesis->_uid;
86 switch(hypothesis->_status)
110 for(uint
t=0;
t<hypothesis->_targets.size();
t++)
112 o<<hypothesis->_targets[
t]->_id;
113 o<<
" mi "<<hypothesis->_targets[
t]->_missed_associations;
115 if(t<hypothesis->_targets.size()-1)
130 return c1->id<c2->id;
133 ostream& operator<<(ostream& o,vector<ClusterPtr>& c)
135 for(uint i=0;i<c.size();i++)
vector< MeasurementPtr > assigned_measurements
Measurements assigned to this cluster, these measurements are in conflict with the cluster targets...
vector< HypothesisPtr > assigned_hypotheses
Set of hypotheses belonging to the cluster.
boost::shared_ptr< Cluster > ClusterPtr
Shared pointer to the Cluster class.
long id
Id of the current cluster.
Cluster()
Cluster constructor, variable initialization.
bool compareClusters(ClusterPtr c1, ClusterPtr c2)
Compare two clusters.
~Cluster()
Cluster destructor, no task.
boost::shared_ptr< Hypothesis > HypothesisPtr
bool isEmpty()
Check if the cluster is a candidate for deletion.
Hypotheses cluster class.
Hypotheses cluster definition.
ostream & operator<<(ostream &o, Cluster &c)