BIBD Class Reference
[Example scripts (models)]
Example: Balanced incomplete block design (BIBD) More...
Public Member Functions | |
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 | ( | const BIBDOptions & | o | ) | [inline] |
BIBD::BIBD | ( | bool | share, | |
BIBD & | s | |||
) | [inline] |
Member Function Documentation
virtual void BIBD::print | ( | std::ostream & | os | ) | const [inline, virtual] |
Print solution.
Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.
virtual Space* BIBD::copy | ( | bool | share | ) | [inline, virtual] |
Member Data Documentation
const BIBDOptions& BIBD::opt [protected] |
BoolVarArray BIBD::_p [protected] |
The documentation for this class was generated from the following file:
- examples/bibd.cpp (Revision: 11473)