Example: Balanced incomplete block design (BIBD)
More...
List of all members.
Public Member Functions |
BoolVar & | p (int i, int j) |
| Access variable by row and column.
|
const BoolVar & | p (int i, int j) const |
| Access variable by row and column.
|
| BIBD (const BIBDOptions &o) |
| Actual model.
|
virtual void | print (std::ostream &os) const |
| Print solution.
|
| BIBD (bool share, BIBD &s) |
| Constructor for cloning s.
|
virtual Space * | copy (bool share) |
| Copy during cloning.
|
Protected Attributes |
const BIBDOptions & | opt |
| Options providing access to parameters.
|
BoolVarArray | _p |
| Matrix of Boolean variables.
|
Detailed Description
Example: Balanced incomplete block design (BIBD)
See problem 28 at http://www.csplib.org/.
Definition at line 96 of file bibd.cpp.
Constructor & Destructor Documentation
BIBD::BIBD |
( |
bool |
share, |
|
|
BIBD & |
s | |
|
) |
| | [inline] |
Constructor for cloning s.
Definition at line 180 of file bibd.cpp.
Member Function Documentation
BoolVar& BIBD::p |
( |
int |
i, |
|
|
int |
j | |
|
) |
| | [inline] |
Access variable by row and column.
Definition at line 104 of file bibd.cpp.
const BoolVar& BIBD::p |
( |
int |
i, |
|
|
int |
j | |
|
) |
| | const [inline] |
Access variable by row and column.
Definition at line 109 of file bibd.cpp.
virtual void BIBD::print |
( |
std::ostream & |
os |
) |
const [inline, virtual] |
virtual Space* BIBD::copy |
( |
bool |
share |
) |
[inline, virtual] |
Member Data Documentation
Options providing access to parameters.
Definition at line 99 of file bibd.cpp.
Matrix of Boolean variables.
Definition at line 101 of file bibd.cpp.
The documentation for this class was generated from the following file: