IMP logo
IMP Reference Guide  2.20.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-2022 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
16 class ParticleStatesTable;
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
29  get_state_clusters(const Subset &subset, const Assignments &states,
30  ParticleStatesTable *pst, double resolution);
31 
32 IMPDOMINO_END_NAMESPACE
33 
34 #endif /* IMPDOMINO_ANALYSIS_H */
A Bayesian inference-based sampler.
Assignments get_state_clusters(const Subset &subset, const Assignments &states, ParticleStatesTable *pst, double resolution)
Return subset of the passed states which are representative.
A Bayesian inference-based sampler.
IMP::Vector< Assignment > Assignments
Definition: Assignment.h:53