Generated on Thu Mar 22 10:39:52 2012 for Gecode by doxygen 1.6.3

Gecode::IntVarArgs Class Reference
[Argument arrays]

Passing integer variables. More...

#include <int.hh>

List of all members.

Constructors and initialization



 IntVarArgs (void)
 Allocate empty array.
 IntVarArgs (int n)
 Allocate array with n elements.
 IntVarArgs (const IntVarArgs &a)
 Initialize from variable argument array a (copy elements).
 IntVarArgs (const VarArray< IntVar > &a)
 Initialize from variable array a (copy elements).
 IntVarArgs (Space &home, int n, int min, int max)
 Initialize array with n new variables.
 IntVarArgs (Space &home, int n, const IntSet &s)
 Initialize array with n new variables.

Detailed Description

Passing integer variables.

Definition at line 618 of file int.hh.


Constructor & Destructor Documentation

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

Allocate empty array.

Definition at line 623 of file int.hh.

Gecode::IntVarArgs::IntVarArgs ( int  n  )  [inline, explicit]

Allocate array with n elements.

Definition at line 625 of file int.hh.

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

Initialize from variable argument array a (copy elements).

Definition at line 627 of file int.hh.

Gecode::IntVarArgs::IntVarArgs ( const VarArray< IntVar > &  a  )  [inline]

Initialize from variable array a (copy elements).

Definition at line 629 of file int.hh.

Gecode::IntVarArgs::IntVarArgs ( 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 81 of file array.cpp.

Gecode::IntVarArgs::IntVarArgs ( 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 91 of file array.cpp.


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