BIBD Class Reference
[Example scripts (models)]
Example: Balanced incomplete block design (BIBD) More...
Public Types | |
enum | { SYMMETRY_NONE, SYMMETRY_LEX, SYMMETRY_LDSB } |
Symmetry breaking variants. More... | |
Public Member Functions | |
BIBD (const BIBDOptions &o) | |
Actual model. | |
virtual void | print (std::ostream &os) const |
Print solution. | |
BIBD (BIBD &s) | |
Constructor for cloning s. | |
virtual Space * | copy (void) |
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 92 of file bibd.cpp.
Member Enumeration Documentation
anonymous enum |
Constructor & Destructor Documentation
BIBD::BIBD | ( | const BIBDOptions & | o | ) | [inline] |
BIBD::BIBD | ( | 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 | ( | void | ) | [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