Gecode::IntVarArray Class Reference
[Variable arrays]
Inherits Gecode::VarArray< IntVar >.
Inherited by Gecode::BoolVarArray.
Detailed Description
Integer variable array.
Definition at line 79 of file array.icc.
Creation and initialization | |
IntVarArray (void) | |
Default constructor (array of size 0). | |
IntVarArray (Space *home, int n) | |
Allocate array for n integer variables (variables are uninitialized). | |
IntVarArray (const IntVarArray &a) | |
Initialize from integer variable array a (share elements). | |
IntVarArray (Space *home, int n, int min, int max) | |
Initialize array with n new variables. | |
IntVarArray (Space *home, int n, const IntSet &s) | |
Initialize array with n new variables. |
Constructor & Destructor Documentation
|
Default constructor (array of size 0).
|
|
Allocate array for n integer variables (variables are uninitialized).
|
|
Initialize from integer variable array a (share elements).
|
|
Initialize array with n new variables. The variables are created with a domain ranging from min to max. The following execptions might be thrown:
|
|
Initialize array with n new variables. The variables are created with a domain described by s. The following execptions might be thrown:
|
The documentation for this class was generated from the following files:
- gecode/int/array.icc (Revision: 3512)
- gecode/int/array.cc (Revision: 3188)