Generated on Fri Oct 19 11:25:45 2018 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 a.
 IntVarArgs (std::initializer_list< IntVar > a)
 Initialize from 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 656 of file int.hh.


Constructor & Destructor Documentation

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

Allocate empty array.

Definition at line 85 of file array.hpp.

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

Allocate array with n elements.

Definition at line 88 of file array.hpp.

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

Initialize from variable argument array a (copy elements).

Definition at line 92 of file array.hpp.

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

Initialize from variable array a (copy elements).

Definition at line 96 of file array.hpp.

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

Initialize from a.

Definition at line 100 of file array.hpp.

Gecode::IntVarArgs::IntVarArgs ( std::initializer_list< IntVar a  )  [inline]

Initialize from a.

Definition at line 104 of file array.hpp.

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

Initialize from InputIterator first and last.

Definition at line 109 of file array.hpp.

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 68 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 78 of file array.cpp.


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