Cluster type class, clusters are groups of points in close proximity. More...
#include <types_declaration.h>
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_cluster & | operator= (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_pointPtr > | points |
Vector of the support points of the cluster. |
Cluster type class, clusters are groups of points in close proximity.
Definition at line 243 of file types_declaration.h.
t_cluster::t_cluster | ( | ) |
Definition at line 244 of file types_implementation.cpp.
bool t_cluster::BreakPointDetector | ( | t_pointPtr & | pt, | |
t_pointPtr & | pt_m1 | |||
) |
Break point detection used as clustering criterion.
pt | first point | |
pt_m1 | next point |
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.
Definition at line 252 of file types_implementation.cpp.
vector<int> t_cluster::associations |
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<t_pointPtr> t_cluster::points |
Vector of the support points of the cluster.
Definition at line 247 of file types_declaration.h.