IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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 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

Constructor & Destructor Documentation

◆ Assignment() [1/4]

IMP::domino::Assignment::Assignment ( )

Definition at line 45 of file Assignment.h.

◆ Assignment() [2/4]

IMP::domino::Assignment::Assignment ( unsigned int sz)

Definition at line 46 of file Assignment.h.

◆ Assignment() [3/4]

template<class It>
IMP::domino::Assignment::Assignment ( It b,
It e )

Definition at line 48 of file Assignment.h.

◆ Assignment() [4/4]

IMP::domino::Assignment::Assignment ( const Ints & i)
explicit

Definition at line 50 of file Assignment.h.


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