IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
utility.h File Reference

Functions for helping optimize and understand DOMINO-based sampling. More...

#include <IMP/domino/domino_config.h>
#include "Assignment.h"
#include "Subset.h"
#include "particle_states.h"
#include <IMP/Particle.h>
#include <IMP/SingletonContainer.h>
#include <IMP/RestraintSet.h>
#include <IMP/Model.h>
#include <IMP/container/internal/ClosePairContainer.h>
#include <IMP/display/Writer.h>
#include <IMP/dependency_graph.h>
#include <IMP/statistics/metric_clustering.h>
#include <RMF/config.h>
Include dependency graph for domino/utility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
namespace  IMP::domino
 Divide-and-conquer inferential optimization in discrete space.

Functions

double IMP::domino::get_distance_if_smaller_than (const Subset &s, const Assignment &a, const Assignment &b, ParticleStatesTable *pst, const statistics::Metrics &metrics, double max)
algebra::VectorKD IMP::domino::get_embedding (const Subset &s, const Assignment &a, ParticleStatesTable *pst)
 Return an embedding for an assignment.
Ints IMP::domino::get_index (const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Assignment IMP::domino::get_nearest_assignment (const Subset &s, const algebra::VectorKD &embedding, ParticleStatesTable *pst)
 Return the nearest assignment from an embedding.
Ints IMP::domino::get_partial_index (const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
ParticlePairsTemp IMP::domino::get_possible_interactions (const ParticlesTemp &ps, double max_distance, ParticleStatesTable *pst)

Debug tools

We provide a number of different functions for helping optimize and understand domino-based sampling. These functions expose part of the implementation and are liable to change without notice.

RestraintsTemp IMP::domino::get_restraints (const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, RestraintSet *rs)
void IMP::domino::load_particle_states (const Subset &s, const Assignment &ss, const ParticleStatesTable *pst)
 Load the appropriate state for each particle in a Subset.

Detailed Description

Functions for helping optimize and understand DOMINO-based sampling.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file domino/utility.h.