IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::domino::Subset Class Reference

Represent a subset of the particles being optimized. More...

#include <IMP/domino/Subset.h>

Inheritance diagram for IMP::domino::Subset:

Detailed Description

Represent a subset of the particles being optimized.

Domino acts by dividing the particles being changed into subsets and optimizing the subsets independently. Each subset is represented using a Subset class. These classes, like the Assignment classes, simply store a constant list (in this case of particles). The list is stored in sorted order. Their interface is more or less that of a constant vector in C++ or a constant list in Python.

Definition at line 33 of file Subset.h.

Public Member Functions

 Subset (ParticlesTemp ps)
bool get_contains (const Subset &o) const
Model * get_model () const
std::string get_name () const
Public Member Functions inherited from IMP::ConstVector< IMP::WeakPointer< Particle >, Particle * >
 ConstVector (unsigned int sz, IMP::WeakPointer< Particle > fill)
IMP::WeakPointer< Particle > operator[] (unsigned int i) const
void show (std::ostream &out=std::cout) const
unsigned int size () const

Constructor & Destructor Documentation

◆ Subset() [1/2]

IMP::domino::Subset::Subset ( )

Definition at line 55 of file Subset.h.

◆ Subset() [2/2]

IMP::domino::Subset::Subset ( ParticlesTemp ps)
explicit

Construct a subset from a non-empty list of particles.

Definition at line 58 of file Subset.h.

Member Function Documentation

◆ get_contains()

bool IMP::domino::Subset::get_contains ( const Subset & o) const

Definition at line 71 of file Subset.h.

◆ get_model()

Model * IMP::domino::Subset::get_model ( ) const

Definition at line 69 of file Subset.h.


The documentation for this class was generated from the following file: