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

Gecode::SetVarArgs Class Reference

Passing set variables. More...

#include <set.hh>

List of all members.

Constructors and initialization



 SetVarArgs (void)
 Allocate empty array.
 SetVarArgs (int n)
 Allocate array with n elements.
 SetVarArgs (const SetVarArgs &a)
 Initialize from variable argument array a (copy elements).
 SetVarArgs (const VarArray< SetVar > &a)
 Initialize from variable array a (copy elements).
 SetVarArgs (Space &home, int n, int glbMin, int glbMax, int lubMin, int lubMax, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card)
 Create an array of size n.
 SetVarArgs (Space &home, int n, const IntSet &glb, int lubMin, int lubMax, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card)
 Create an array of size n.
 SetVarArgs (Space &home, int n, int glbMin, int glbMax, const IntSet &lub, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card)
 Create an array of size n.
 SetVarArgs (Space &home, int n, const IntSet &glb, const IntSet &lub, unsigned int minCard=0, unsigned int maxCard=Set::Limits::card)
 Create an array of size n.

Detailed Description

Passing set variables.

We could have used a simple typedef instead, but doxygen cannot resolve some overloading then, leading to unusable documentation for important parts of the library. As long as there is no fix for this, we will keep this workaround.

Definition at line 490 of file set.hh.


Constructor & Destructor Documentation

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

Allocate empty array.

Definition at line 495 of file set.hh.

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

Allocate array with n elements.

Definition at line 497 of file set.hh.

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

Initialize from variable argument array a (copy elements).

Definition at line 499 of file set.hh.

Gecode::SetVarArgs::SetVarArgs ( const VarArray< SetVar > &  a  )  [inline]

Initialize from variable array a (copy elements).

Definition at line 501 of file set.hh.

Gecode::SetVarArgs::SetVarArgs ( Space home,
int  n,
int  glbMin,
int  glbMax,
int  lubMin,
int  lubMax,
unsigned int  minCard = 0,
unsigned int  maxCard = Set::Limits::card 
)

Create an array of size n.

Each variable is initialized with the bounds and cardinality as given by the arguments.

Definition at line 135 of file array.cpp.

Gecode::SetVarArgs::SetVarArgs ( Space home,
int  n,
const IntSet glb,
int  lubMin,
int  lubMax,
unsigned int  minCard = 0,
unsigned int  maxCard = Set::Limits::card 
)

Create an array of size n.

Each variable is initialized with the bounds and cardinality as given by the arguments.

Definition at line 156 of file array.cpp.

Gecode::SetVarArgs::SetVarArgs ( Space home,
int  n,
int  glbMin,
int  glbMax,
const IntSet lub,
unsigned int  minCard = 0,
unsigned int  maxCard = Set::Limits::card 
)

Create an array of size n.

Each variable is initialized with the bounds and cardinality as given by the arguments.

Definition at line 175 of file array.cpp.

Gecode::SetVarArgs::SetVarArgs ( Space home,
int  n,
const IntSet glb,
const IntSet lub,
unsigned int  minCard = 0,
unsigned int  maxCard = Set::Limits::card 
)

Create an array of size n.

Each variable is initialized with the bounds and cardinality as given by the arguments.

Definition at line 196 of file array.cpp.


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