Generated on Wed Nov 5 2014 05:18:38 for Gecode by doxygen 1.7.6.1
Gecode::BoolVarArray Class Reference

Boolean variable array. More...

#include <int.hh>

List of all members.

Creation and initialization

 BoolVarArray (void)
 Default constructor (array of size 0)
 BoolVarArray (Space &home, int n)
 Allocate array for n Boolean variables (variables are uninitialized)
 BoolVarArray (const BoolVarArray &a)
 Initialize from Boolean variable array a (share elements)
 BoolVarArray (Space &home, const BoolVarArgs &a)
 Initialize from Boolean variable argument array a (copy elements)
 BoolVarArray (Space &home, int n, int min, int max)
 Initialize array with n new variables.

Detailed Description

Boolean variable array.

Definition at line 784 of file int.hh.


Constructor & Destructor Documentation

Default constructor (array of size 0)

Definition at line 96 of file array.hpp.

Gecode::BoolVarArray::BoolVarArray ( Space home,
int  n 
) [inline]

Allocate array for n Boolean variables (variables are uninitialized)

Definition at line 99 of file array.hpp.

Initialize from Boolean variable array a (share elements)

Definition at line 103 of file array.hpp.

Gecode::BoolVarArray::BoolVarArray ( Space home,
const BoolVarArgs a 
) [inline]

Initialize from Boolean variable argument array a (copy elements)

Definition at line 107 of file array.hpp.

Gecode::BoolVarArray::BoolVarArray ( 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 71 of file array.cpp.


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