IMP logo
IMP Reference Guide  2.13.0
The Integrative Modeling Platform
IMP::em2d::AverageDistanceLinkage Class Reference

Functor for hierarchical clustering based on average-linkage. More...

#include <IMP/em2d/hierarchical_clustering.h>

Detailed Description

Functor for hierarchical clustering based on average-linkage.

Definition at line 155 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::AverageDistanceLinkage::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
Average between all members of the merged cluster

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