Generated on Fri Mar 20 15:56:44 2015 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 (const std::vector< IntVar > &a)
 Initialize from vector a.
template<class InputIterator >
 IntVarArgs (InputIterator first, InputIterator last)
 Initialize from InputIterator first and last.
 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 636 of file int.hh.


Constructor & Destructor Documentation

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

Allocate empty array.

Definition at line 641 of file int.hh.

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

Allocate array with n elements.

Definition at line 643 of file int.hh.

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

Initialize from variable argument array a (copy elements).

Definition at line 645 of file int.hh.

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

Initialize from variable array a (copy elements).

Definition at line 647 of file int.hh.

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

Initialize from vector a.

Definition at line 649 of file int.hh.

template<class InputIterator >
Gecode::IntVarArgs::IntVarArgs ( InputIterator  first,
InputIterator  last 
) [inline]

Initialize from InputIterator first and last.

Definition at line 652 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: