Generated on Tue Jul 27 2010 21:59:25 for Gecode by doxygen 1.7.1

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 624 of file int.hh.


Constructor & Destructor Documentation

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

Allocate empty array.

Definition at line 629 of file int.hh.

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

Allocate array with n elements.

Definition at line 631 of file int.hh.

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

Initialize from variable argument array a (copy elements).

Definition at line 633 of file int.hh.

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

Initialize from variable array a (copy elements).

Definition at line 635 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 72 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 82 of file array.cpp.


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