IMP Reference Guide
develop.af393bce43,2020/02/22
The Integrative Modeling Platform

Functor for hierarchical clustering based on single linkage. More...
#include <IMP/em2d/hierarchical_clustering.h>
Functor for hierarchical clustering based on single linkage.
Definition at line 111 of file hierarchical_clustering.h.
Public Member Functions  
double  operator() (unsigned int id1, unsigned int id2, const ClusterSet &cluster_set, const FloatsList &distances) const 
void  show (std::ostream &out) const 
double IMP::em2d::SingleLinkage::operator()  (  unsigned int  id1, 
unsigned int  id2,  
const ClusterSet &  cluster_set,  
const FloatsList &  distances  
)  const 
[in]  id1  identity of cluster 1 to merge 
[in]  id2  identity of cluster 2 to merge 
[in]  cluster_set  linkage matrix describing the contents of clusters so far. 
[in]  distances  A NxN matrix of distances(i,j) between the individual members to cluster 