basic data structure for distances between clusters More...
#include <OpenMS/COMPARISON/CLUSTERING/GridBasedClustering.h>
Public Member Functions | |
MinimumDistance (const int &cluster_index, const int &nearest_neighbour_index, const double &distance) | |
constructor More... | |
int | getClusterIndex () const |
returns cluster index More... | |
int | getNearestNeighbourIndex () const |
returns index of nearest cluster More... | |
bool | operator< (MinimumDistance other) const |
operators for comparisons (for multiset) More... | |
bool | operator> (MinimumDistance other) const |
bool | operator== (MinimumDistance other) const |
Private Member Functions | |
MinimumDistance () | |
hide default constructor More... | |
Private Attributes | |
int | cluster_index_ |
index in the cluster list More... | |
int | nearest_neighbour_index_ |
index of the nearest neighbour of the above cluster More... | |
double | distance_ |
distance between cluster and its nearest neighbour More... | |
basic data structure for distances between clusters
MinimumDistance | ( | const int & | cluster_index, |
const int & | nearest_neighbour_index, | ||
const double & | distance | ||
) |
constructor
|
private |
hide default constructor
int getClusterIndex | ( | ) | const |
returns cluster index
Referenced by GridBasedClustering< Metric >::cluster().
int getNearestNeighbourIndex | ( | ) | const |
returns index of nearest cluster
Referenced by GridBasedClustering< Metric >::cluster().
bool operator< | ( | MinimumDistance | other | ) | const |
operators for comparisons (for multiset)
bool operator== | ( | MinimumDistance | other | ) | const |
bool operator> | ( | MinimumDistance | other | ) | const |
|
private |
index in the cluster list
|
private |
distance between cluster and its nearest neighbour
|
private |
index of the nearest neighbour of the above cluster
OpenMS / TOPP release 2.0.0 | Documentation generated on Wed Mar 30 2016 12:49:28 using doxygen 1.8.11 |