Generated on Mon Aug 25 11:35:48 2008 for Gecode by doxygen 1.5.6

Gecode::IntVarArray Class Reference
[Variable arrays]

#include <int.hh>

Inherits Gecode::VarArray< Gecode::IntVar >.

List of all members.


Detailed Description

Integer variable array.

Definition at line 615 of file int.hh.


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

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

Default constructor (array of size 0).

Definition at line 91 of file array.icc.

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

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

Definition at line 94 of file array.icc.

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

Initialize from integer variable array a (share elements).

Definition at line 98 of file array.icc.

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 42 of file array.cc.

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 52 of file array.cc.


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