Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MinimumDistance Class Reference

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...
 

Detailed Description

basic data structure for distances between clusters

Constructor & Destructor Documentation

MinimumDistance ( const int &  cluster_index,
const int &  nearest_neighbour_index,
const double distance 
)

constructor

MinimumDistance ( )
private

hide default constructor

Member Function Documentation

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

Member Data Documentation

int cluster_index_
private

index in the cluster list

double distance_
private

distance between cluster and its nearest neighbour

int nearest_neighbour_index_
private

index of the nearest neighbour of the above cluster


OpenMS / TOPP release 2.0.0 Documentation generated on Wed Mar 30 2016 16:18:45 using doxygen 1.8.5