IMP logo
IMP Reference Guide  develop.5651aa123e,2024/07/23
The Integrative Modeling Platform
hierarchical_clustering.h File Reference

Agglomerative clustering algorithm. More...

#include <IMP/em2d/em2d_config.h>
#include "IMP/em2d/scores2D.h"
#include <IMP/em2d/internal/clustering_helper.h>
#include "IMP/base_types.h"
#include <IMP/log.h>
#include <vector>
#include <list>
#include <algorithm>
#include <limits>
#include <functional>
#include <cereal/access.hpp>
+ Include dependency graph for hierarchical_clustering.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  IMP::em2d::AverageDistanceLinkage
 Functor for hierarchical clustering based on average-linkage. More...
class  IMP::em2d::ClusterSet
 A class to store the clusters generated during hierarchical clustering. More...
class  IMP::em2d::CompleteLinkage
 Functor for hierarchical clustering based on complete linkage. More...
class  IMP::em2d::SingleLinkage
 Functor for hierarchical clustering based on single linkage. More...


 Base functionality and abstract base classes for representation, scoring and sampling.
 Restraints using electron microscopy 2D images (class averages).


typedef IMP::Vector
< AverageDistanceLinkage > 
typedef IMP::Vector< ClusterSet > IMP::em2d::ClusterSets
typedef IMP::Vector
< CompleteLinkage > 
typedef IMP::Vector
< SingleLinkage > 


template<class LinkageFunction >
ClusterSet IMP::em2d::do_hierarchical_agglomerative_clustering (const FloatsList &distances)
 Function to perform agglomerative clustering. More...
template<class T >
void IMP::em2d::print_vector (const std::vector< T > &v)

Detailed Description

Agglomerative clustering algorithm.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file hierarchical_clustering.h.