IMP
2.2.1
The Integrative Modeling Platform
|
Represent a subset of the particles being optimized. More...
#include <IMP/domino/Subset.h>
Public Member Functions | |
Subset (kernel::ParticlesTemp ps) | |
bool | get_contains (const Subset &o) const |
kernel::Model * | get_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 |
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.
|
explicit |