IMP Reference Guide
2.21.0
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 122 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 |