IMP  2.0.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:

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::base::ConstVector< base::WeakPointer< Particle >, Particle * >
 ConstVector (unsigned int sz, base::WeakPointer< Particle >fill)
 
 ConstVector (It b, It e)
 
 ConstVector (const Vector &i)
 
base::WeakPointer< Particleoperator[] (unsigned int i) const
 
void show (std::ostream &out=std::cout) const
 
unsigned int size () const
 

Detailed Description

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.

Constructor & Destructor Documentation

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

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

Definition at line 59 of file Subset.h.


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