IMP  2.4.0
The Integrative Modeling Platform
Classes | Namespaces | Typedefs | Functions
hierarchical_clustering.h File Reference

Agglomerative clustering algorithm. More...

#include "IMP/em2d/em2d_config.h"
#include "IMP/em2d/scores2D.h"
#include "IMP/base_types.h"
#include <IMP/base/log.h>
#include <vector>
#include <list>
#include <algorithm>
#include <limits>
#include <functional>
+ 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.

Classes

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...
 

Namespaces

 IMP
 Synonym for IMP::kernel.
 
 IMP::em2d
 Restraints using electron microscopy 2D images (class averages).
 

Typedefs

typedef IMP::base::Vector
< AverageDistanceLinkage > 
IMP::em2d::AverageDistanceLinkages
 
typedef IMP::base::Vector
< ClusterSet > 
IMP::em2d::ClusterSets
 
typedef IMP::base::Vector
< CompleteLinkage > 
IMP::em2d::CompleteLinkages
 
typedef std::list
< pair_cluster_id_distance > 
IMP::em2d::list_cluster_id_distance
 
typedef std::pair< unsigned
int, double > 
IMP::em2d::pair_cluster_id_distance
 
typedef IMP::base::Vector
< SingleLinkage > 
IMP::em2d::SingleLinkages
 
typedef FloatsList IMP::em2d::VectorOfFloats
 
typedef IntsList IMP::em2d::VectorOfInts
 

Functions

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-2015 IMP Inventors. All rights reserved.

Definition in file hierarchical_clustering.h.