Example: Balanced incomplete block design (BIBD)
More...
List of all members.
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 (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.
|
Related Functions |
(Note that these are not member functions.)
|
int | main (int argc, char *argv[]) |
| Main-function.
|
Detailed Description
Example: Balanced incomplete block design (BIBD)
See problem 28 at http://www.csplib.org/.
Definition at line 96 of file bibd.cpp.
Member Enumeration Documentation
Symmetry breaking variants.
- Enumerator:
SYMMETRY_NONE |
No symmetry breaking.
|
SYMMETRY_LEX |
Lex-constraints on rows/columns.
|
SYMMETRY_LDSB |
LDSB on rows/columns.
|
Definition at line 104 of file bibd.cpp.
Constructor & Destructor Documentation
Constructor for cloning s.
Definition at line 171 of file bibd.cpp.
Member Function Documentation
virtual void BIBD::print |
( |
std::ostream & |
os | ) |
const [inline, virtual] |
Copy during cloning.
Definition at line 178 of file bibd.cpp.
Friends And Related Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| [related] |
Main-function.
Definition at line 188 of file bibd.cpp.
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: