OpenMS
|
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< (const MinimumDistance &other) const |
operators for comparisons (for multiset) More... | |
bool | operator> (const MinimumDistance &other) const |
bool | operator== (const 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
int getNearestNeighbourIndex | ( | ) | const |
returns index of nearest cluster
bool operator< | ( | const MinimumDistance & | other | ) | const |
operators for comparisons (for multiset)
bool operator== | ( | const MinimumDistance & | other | ) | const |
bool operator> | ( | const 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