Generated on Thu Apr 11 13:59:42 2019 for Gecode by doxygen 1.6.3

Gecode::IntVarArray Class Reference
[Variable arrays]

Integer variable array. More...

#include <int.hh>

List of all members.

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, const IntVarArgs &a)
 Initialize from integer variable argument array a (copy 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.

Detailed Description

Integer variable array.

Definition at line 763 of file int.hh.


Constructor & Destructor Documentation

Gecode::IntVarArray::IntVarArray ( void   )  [inline]

Default constructor (array of size 0).

Definition at line 143 of file array.hpp.

Gecode::IntVarArray::IntVarArray ( Space home,
int  n 
) [inline]

Allocate array for n integer variables (variables are uninitialized).

Definition at line 146 of file array.hpp.

Gecode::IntVarArray::IntVarArray ( const IntVarArray a  )  [inline]

Initialize from integer variable array a (share elements).

Definition at line 150 of file array.hpp.

Gecode::IntVarArray::IntVarArray ( Space home,
const IntVarArgs a 
) [inline]

Initialize from integer variable argument array a (copy elements).

Definition at line 154 of file array.hpp.

Gecode::IntVarArray::IntVarArray ( Space home,
int  n,
int  min,
int  max 
)

Initialize array with n new variables.

The variables are created with a domain ranging from min to max. The following execptions might be thrown:

Definition at line 38 of file array.cpp.

Gecode::IntVarArray::IntVarArray ( Space home,
int  n,
const IntSet s 
)

Initialize array with n new variables.

The variables are created with a domain described by s. The following execptions might be thrown:

Definition at line 48 of file array.cpp.


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