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.
Examples: save assignments
Inheritance diagram for IMP::domino::Assignment:Public Member Functions | |
| Assignment (unsigned int sz) | |
| template<class It > | |
| Assignment (It b, It e) | |
| Assignment (const Ints &i) | |
Public Member Functions inherited from IMP::base::ConstArray< int > | |
| ConstArray (unsigned int sz, intfill) | |
| ConstArray (It b, It e) | |
| ConstArray (const Vector &i) | |
| std::size_t | __hash__ () const |
| int | operator[] (unsigned int i) const |
| void | show (std::ostream &out=std::cout) const |
| unsigned int | size () const |