|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
|
Store a configuration of a subset. More...
#include <IMP/domino/Assignment.h>
Store a configuration of a subset.
This class stores a configuration of a Subset object. The indices of the corresponding Subset/Assignment objects correspond. That is, the state of the ith particle in a Subset is the ith value in the Assignment.
Like Subset objects, Assignment objects cannot be modified and provide a vector/Python list like interface.
Definition at line 35 of file Assignment.h.
Public Member Functions | |
| Assignment (const Ints &i) | |
| template<class It> | |
| Assignment (It b, It e) | |
| Assignment (unsigned int sz) | |
| Public Member Functions inherited from IMP::ConstVector< int > | |
| ConstVector (const Vector &i) | |
| ConstVector (It b, It e) | |
| ConstVector (unsigned int sz, int fill) | |
| int | operator[] (unsigned int i) const |
| void | show (std::ostream &out=std::cout) const |
| unsigned int | size () const |
| IMP::domino::Assignment::Assignment | ( | ) |
Definition at line 45 of file Assignment.h.
| IMP::domino::Assignment::Assignment | ( | unsigned int | sz | ) |
Definition at line 46 of file Assignment.h.
| IMP::domino::Assignment::Assignment | ( | It | b, |
| It | e ) |
Definition at line 48 of file Assignment.h.
|
explicit |
Definition at line 50 of file Assignment.h.