Generated on Fri Oct 19 11:25:40 2018 for Gecode by doxygen 1.6.3

BIBD Class Reference
[Example scripts (models)]

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 (BIBD &s)
 Constructor for cloning s.
virtual Spacecopy (void)
 Copy during cloning.

Protected Attributes

const BIBDOptionsopt
 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

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 100 of file bibd.cpp.


Constructor & Destructor Documentation

BIBD::BIBD ( const BIBDOptions o  )  [inline]

Actual model.

Definition at line 107 of file bibd.cpp.

BIBD::BIBD ( BIBD s  )  [inline]

Constructor for cloning s.

Definition at line 162 of file bibd.cpp.


Member Function Documentation

virtual void BIBD::print ( std::ostream &  os  )  const [inline, virtual]

Print solution.

Reimplemented from Gecode::Driver::ScriptBase< BaseSpace >.

Definition at line 147 of file bibd.cpp.

virtual Space* BIBD::copy ( void   )  [inline, virtual]

Copy during cloning.

Definition at line 169 of file bibd.cpp.


Member Data Documentation

const BIBDOptions& BIBD::opt [protected]

Options providing access to parameters.

Definition at line 95 of file bibd.cpp.

BoolVarArray BIBD::_p [protected]

Matrix of Boolean variables.

Definition at line 97 of file bibd.cpp.


The documentation for this class was generated from the following file: