IMP logo
IMP Reference Guide  2.18.0
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
 
Modelget_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)
 
 ConstVector (It b, It e)
 
 ConstVector (const Vector &i)
 
IMP::WeakPointer< Particleoperator[] (unsigned int i) const
 
void show (std::ostream &out=std::cout) const
 
unsigned int size () const
 

Constructor & Destructor Documentation

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.


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