t_cluster Class Reference

Cluster type class, clusters are groups of points in close proximity. More...

#include <types_declaration.h>

List of all members.

Public Member Functions

bool BreakPointDetector (t_pointPtr &pt, t_pointPtr &pt_m1)
 Break point detection used as clustering criterion.
void CalculateCentroid (void)
 Calculate the centroid of the cluster.
t_clusteroperator= (const t_cluster &rhs)
 t_cluster ()

Public Attributes

vector< int > associations
 Association vector, multiple associations maybe possible.
t_point centroid
 Centroid of the cluster.
double id
 Id of the cluster.
vector< t_pointPtrpoints
 Vector of the support points of the cluster.

Detailed Description

Cluster type class, clusters are groups of points in close proximity.

Definition at line 243 of file types_declaration.h.


Constructor & Destructor Documentation

t_cluster::t_cluster (  ) 

Definition at line 244 of file types_implementation.cpp.


Member Function Documentation

bool t_cluster::BreakPointDetector ( t_pointPtr pt,
t_pointPtr pt_m1 
)

Break point detection used as clustering criterion.

Parameters:
pt first point
pt_m1 next point
Returns:
true if the next point belongs to a new cluster

Todo:
change the clustering criterion to something more mathematically accurate

Definition at line 270 of file types_implementation.cpp.

void t_cluster::CalculateCentroid ( void   ) 

Calculate the centroid of the cluster.

Definition at line 284 of file types_implementation.cpp.

t_cluster & t_cluster::operator= ( const t_cluster rhs  ) 

Definition at line 252 of file types_implementation.cpp.


Member Data Documentation

Association vector, multiple associations maybe possible.

Definition at line 253 of file types_declaration.h.

Centroid of the cluster.

Definition at line 249 of file types_declaration.h.

double t_cluster::id

Id of the cluster.

Definition at line 251 of file types_declaration.h.

Vector of the support points of the cluster.

Definition at line 247 of file types_declaration.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