BIBD Class Reference
[Example scripts (models)]
Inherits Example.
Detailed Description
Example: Balanced Incomplete Block Design (BIBD)See problem 28 at http://www.csplib.org/.
Definition at line 35 of file bibd.cc.
Public Member Functions | |
BoolVar & | p (int i, int j) |
Access variable by row and column. | |
BIBD (const Options &opt) | |
Actual model. | |
virtual void | print (void) |
Print solution. | |
BIBD (bool share, BIBD &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Copy during cloning. | |
Static Public Attributes | |
static Par | par |
Protected Attributes | |
BoolVarArray | _p |
Matrix of Boolean variables. | |
Classes | |
class | Par |
Class for BIBD parameters. More... |
Constructor & Destructor Documentation
BIBD::BIBD | ( | bool | share, | |
BIBD & | s | |||
) | [inline] |
Member Function Documentation
BoolVar& BIBD::p | ( | int | i, | |
int | j | |||
) | [inline] |
virtual void BIBD::print | ( | void | ) | [inline, virtual] |
virtual Space* BIBD::copy | ( | bool | share | ) | [inline, virtual] |
Member Data Documentation
BoolVarArray BIBD::_p [protected] |
The documentation for this class was generated from the following file:
- examples/bibd.cc (Revision: 3307)