Generated on Fri Mar 20 15:56:44 2015 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 741 of file int.hh.


Constructor & Destructor Documentation

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

Default constructor (array of size 0).

Definition at line 80 of file array.hpp.

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

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

Definition at line 83 of file array.hpp.

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

Initialize from integer variable array a (share elements).

Definition at line 87 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 91 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 51 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 61 of file array.cpp.


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