8 #ifndef IMPDOMINO_UTILITY_H
9 #define IMPDOMINO_UTILITY_H
11 #include <IMP/domino/domino_config.h>
19 #include <IMP/core/internal/CoreClosePairContainer.h>
24 #ifdef IMP_DOMINO_USE_IMP_RMF
25 #include <RMF/HDF5/Group.h>
29 IMPKERNEL_BEGIN_NAMESPACE
32 IMPKERNEL_END_NAMESPACE
34 IMPDOMINO_BEGIN_NAMESPACE
36 class AssignmentsTable;
37 class AssignmentContainer;
38 class SubsetFilterTable;
49 class ParticleStatesTable;
55 const ParticleStatesTable *pst);
64 const ParticleStatesTable *pst,
84 IMPDOMINOEXPORT
Ints get_index(
const ParticlesTemp &particles,
85 const Subset &subset,
const Subsets &excluded);
95 const Subset &subset,
const Subsets &excluded);
105 ParticleStatesTable *pst);
110 ParticleStatesTable *pst);
113 IMPDOMINOEXPORT Assignment
116 ParticleStatesTable *pst);
132 "Dimensions of embeddings don't match.");
134 for (
unsigned int i=0; i< a.size(); ++i) {
136 if (!metrics.empty() && metrics[i]) {
143 cur= (ea-eb).get_squared_magnitude();
146 if (d > square(max)) {
148 <<
" for " << a <<
" and " << b
154 << b <<
" is " << std::sqrt(d) << std::endl);
158 IMPDOMINO_END_NAMESPACE