|
| SetVarArray (void) |
| Default constructor (array of size 0)
|
|
| SetVarArray (const SetVarArray &) |
| Initialize from set variable array a (share elements)
|
|
| SetVarArray (Space &home, const SetVarArgs &) |
| Initialize from set variable argument array a (copy elements)
|
|
| SetVarArray (Space &home, int n) |
| Allocate array for n set variables (variables are uninitialized)
|
|
| SetVarArray (Space &home, int n, int glbMin, int glbMax, int lubMin, int lubMax, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card) |
| Create an array of size n.
|
|
| SetVarArray (Space &home, int n, const IntSet &glb, int lubMin, int lubMax, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card) |
| Create an array of size n.
|
|
| SetVarArray (Space &home, int n, int glbMin, int glbMax, const IntSet &lub, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card) |
| Create an array of size n.
|
|
| SetVarArray (Space &home, int n, const IntSet &glb, const IntSet &lub, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card) |
| Create an array of size n.
|
|
|
typedef SetVar | value_type |
| Type of the variable stored in this array.
|
|
typedef SetVar & | reference |
| Type of a reference to the value type.
|
|
typedef const SetVar & | const_reference |
| Type of a constant reference to the value type.
|
|
typedef SetVar * | pointer |
| Type of a pointer to the value type.
|
|
typedef const SetVar * | const_pointer |
| Type of a read-only pointer to the value type.
|
|
typedef SetVar * | iterator |
| Type of the iterator used to iterate through this array's elements.
|
|
typedef const SetVar * | const_iterator |
| Type of the iterator used to iterate read-only through this array's elements.
|
|
typedef std::reverse_iterator< SetVar * > | reverse_iterator |
| Type of the iterator used to iterate backwards through this array's elements.
|
|
typedef std::reverse_iterator< const SetVar * > | const_reverse_iterator |
| Type of the iterator used to iterate backwards and read-only through this array's elements.
|
|
| VarArray (void) |
| Default constructor (array of size 0)
|
|
| VarArray (Space &home, int m) |
| Allocate array with m variables.
|
|
| VarArray (Space &home, const VarArgArray< SetVar > &) |
| Initialize from variable argument array a (copy elements)
|
|
| VarArray (const VarArray< SetVar > &a) |
| Initialize from variable array a (share elements)
|
|
const VarArray< SetVar > & | operator= (const VarArray< SetVar > &a) |
| Initialize from variable array a (share elements)
|
|
int | size (void) const |
| Return size of array (number of elements)
|
|
SetVar & | operator[] (int i) |
| Return variable at position i.
|
|
const SetVar & | operator[] (int i) const |
| Return variable at position i.
|
|
ArrayTraits< VarArgArray< SetVar > >::ArgsType | slice (int start, int inc=1, int n=-1) |
|
iterator | begin (void) |
| Return an iterator at the beginning of the array.
|
|
const_iterator | begin (void) const |
| Return a read-only iterator at the beginning of the array.
|
|
iterator | end (void) |
| Return an iterator past the end of the array.
|
|
const_iterator | end (void) const |
| Return a read-only iterator past the end of the array.
|
|
reverse_iterator | rbegin (void) |
| Return a reverse iterator at the end of the array.
|
|
const_reverse_iterator | rbegin (void) const |
| Return a reverse and read-only iterator at the end of the array.
|
|
reverse_iterator | rend (void) |
| Return a reverse iterator past the beginning of the array.
|
|
const_reverse_iterator | rend (void) const |
| Return a reverse and read-only iterator past the beginning of the array.
|
|
bool | assigned (void) const |
| Test if all variables are assigned.
|
|
void | update (Space &home, VarArray< SetVar > &a) |
| Update array to be a clone of array a.
|
|
int | n |
| Number of variables (size)
|
|
SetVar * | x |
| Array of variables.
|
|
ArrayTraits< VarArray< T > >::ArgsType | operator+ (const VarArray< T > &x, const VarArgArray< T > &y) |
|
ArrayTraits< VarArray< T > >::ArgsType | operator+ (const VarArray< T > &x, const VarArray< T > &y) |
|
ArrayTraits< VarArray< T > >::ArgsType | operator+ (const VarArgArray< T > &x, const VarArray< T > &y) |
|
ArrayTraits< VarArray< T > >::ArgsType | operator+ (const VarArray< T > &x, const T &y) |
|
ArrayTraits< VarArray< T > >::ArgsType | operator+ (const T &x, const VarArray< T > &y) |
|
std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const VarArray< SetVar > &x) |
| Print array elements enclosed in curly brackets.
|
|
Set variable array
Definition at line 570 of file set.hh.