IMP logo
IMP Reference Guide  2.6.0
The Integrative Modeling Platform
IMP::em2d::CompleteLinkage Class Reference

Functor for hierarchical clustering based on complete linkage. More...

#include <IMP/em2d/hierarchical_clustering.h>

Detailed Description

Functor for hierarchical clustering based on complete linkage.

Definition at line 140 of file hierarchical_clustering.h.

Public Member Functions

double operator() (unsigned int id1, unsigned int id2, const ClusterSet &cluster_set, const FloatsList &distances)
 Distance between the clusters. More...
 
void show (std::ostream &out) const
 

Member Function Documentation

double IMP::em2d::CompleteLinkage::operator() ( unsigned int  id1,
unsigned int  id2,
const ClusterSet cluster_set,
const FloatsList distances 
)

Distance between the clusters.

Note
See SingleLinkage class for the meaning of the arguments
Returns
Maximal distance between 2 members in the merged cluster

The documentation for this class was generated from the following file: