IMP  2.2.1
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 (kernel::ParticlesTemp ps)
 
bool get_contains (const Subset &o) const
 
kernel::Modelget_model () const
 
std::string get_name () const
 
- Public Member Functions inherited from IMP::base::ConstVector< base::WeakPointer< kernel::Particle >, kernel::Particle * >
 ConstVector (unsigned int sz, base::WeakPointer< kernel::Particle >fill)
 
 ConstVector (It b, It e)
 
 ConstVector (const Vector &i)
 
base::WeakPointer
< kernel::Particle
operator[] (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 ( kernel::ParticlesTemp  ps)
explicit

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

Definition at line 60 of file Subset.h.


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