IMP  2.2.1
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:

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::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
 

Detailed Description

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.


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