IMP logo
IMP Reference Guide  2.15.0
The Integrative Modeling Platform
IMP::domino::Assignment Class Reference

Store a configuration of a subset. More...

#include <IMP/domino/Assignment.h>

+ Inheritance diagram for IMP::domino::Assignment:

Detailed Description

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 32 of file Assignment.h.

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

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