IMP  2.0.0
The Integrative Modeling Platform
analysis.h
Go to the documentation of this file.
1 /**
2  * \file IMP/domino/analysis.h
3  * \brief Functions to get report statistics about the used attributes.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPDOMINO_ANALYSIS_H
9 #define IMPDOMINO_ANALYSIS_H
10 
11 #include <IMP/domino/domino_config.h>
12 #include "Assignment.h"
13 #include "Subset.h"
14 
15 IMPDOMINO_BEGIN_NAMESPACE
17 /** Return subset of the passed states which are representative.
18  The states for each particle is clustered and then the
19  passed states are reduced to only be on the centers
20  of that clustering.
21 
22  The XYZ coordinates are used for clustering, there is not
23  currently a nice mechanism to vary this, but it should be
24  figured out. Probably by subclasses statistics::Embedding
25  to statistics::ParticleEmbedding which has a method
26  which takes a particle.
27  */
28 IMPDOMINOEXPORT Assignments get_state_clusters(const Subset &subset,
29  const Assignments &states,
31  double resolution);
32 
33 IMPDOMINO_END_NAMESPACE
34 
35 #endif /* IMPDOMINO_ANALYSIS_H */