Generated on Tue Apr 18 10:22:58 2017 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


Symmetry breaking variants.


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 Spacecopy (bool share)
 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

Definition at line 96 of file bibd.cpp.

Member Enumeration Documentation

anonymous enum

Symmetry breaking variants.


No symmetry breaking.


Lex-constraints on rows/columns.


LDSB on rows/columns.

Definition at line 104 of file bibd.cpp.

Constructor & Destructor Documentation

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

Actual model.

Definition at line 111 of file bibd.cpp.

BIBD::BIBD ( bool  share,
) [inline]

Constructor for cloning s.

Definition at line 166 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 151 of file bibd.cpp.

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

Copy during cloning.

Definition at line 173 of file bibd.cpp.

Member Data Documentation

const BIBDOptions& BIBD::opt [protected]

Options providing access to parameters.

Definition at line 99 of file bibd.cpp.

BoolVarArray BIBD::_p [protected]

Matrix of Boolean variables.

Definition at line 101 of file bibd.cpp.

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