Gecode::SetVarArray Class Reference
[Variable arrays]
Set variable array
More...
#include <set.hh>
List of all members.
Creation and initialization |
|
| SetVarArray (void) |
| Default constructor (array of size 0).
|
| SetVarArray (const SetVarArray &) |
| Initialize from set variable array a (share elements).
|
| SetVarArray (Space &home, const SetVarArgs &) |
| Initialize from set variable argument array a (copy elements).
|
| SetVarArray (Space &home, int n) |
| Allocate array for n set variables (variables are uninitialized).
|
| SetVarArray (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.
|
| SetVarArray (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.
|
| SetVarArray (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.
|
| SetVarArray (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
Set variable array
Definition at line 570 of file set.hh.
Constructor & Destructor Documentation
Gecode::SetVarArray::SetVarArray |
( |
void |
|
) |
[inline] |
Default constructor (array of size 0).
Definition at line 77 of file array.hpp.
Gecode::SetVarArray::SetVarArray |
( |
const SetVarArray & |
a |
) |
[inline] |
Initialize from set variable array a (share elements).
Definition at line 80 of file array.hpp.
Gecode::SetVarArray::SetVarArray |
( |
Space & |
home, |
|
|
const SetVarArgs & |
a | |
|
) |
| | [inline] |
Initialize from set variable argument array a (copy elements).
Definition at line 84 of file array.hpp.
Gecode::SetVarArray::SetVarArray |
( |
Space & |
home, |
|
|
int |
n | |
|
) |
| | |
Allocate array for n set variables (variables are uninitialized).
Definition at line 44 of file array.cpp.
Gecode::SetVarArray::SetVarArray |
( |
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 50 of file array.cpp.
Gecode::SetVarArray::SetVarArray |
( |
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 71 of file array.cpp.
Gecode::SetVarArray::SetVarArray |
( |
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 90 of file array.cpp.
Create an array of size n.
Each variable is initialized with the bounds and cardinality as given by the arguments.
Definition at line 111 of file array.cpp.
The documentation for this class was generated from the following files: