Generated on Mon Aug 25 11:35:48 2008 for Gecode by doxygen 1.5.6

BIBD Class Reference
[Scripts for problems]

Inherits Example.

List of all members.


Detailed Description

Example: Balanced Incomplete Block Design (BIBD)

See problem 28 at http://www.csplib.org/.

Definition at line 93 of file bibd.cc.


Public Member Functions

BoolVarp (int i, int j)
 Access variable by row and column.
 BIBD (const BIBDOptions &o)
 Actual model.
virtual void print (std::ostream &os)
 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.

Constructor & Destructor Documentation

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

Actual model.

Definition at line 106 of file bibd.cc.

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

Constructor for cloning s.

Definition at line 172 of file bibd.cc.


Member Function Documentation

BoolVar& BIBD::p ( int  i,
int  j 
) [inline]

Access variable by row and column.

Definition at line 101 of file bibd.cc.

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

Print solution.

Reimplemented from Example.

Definition at line 158 of file bibd.cc.

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

Copy during cloning.

Implements Gecode::Space.

Definition at line 179 of file bibd.cc.


Member Data Documentation

const BIBDOptions& BIBD::opt [protected]

Options providing access to parameters.

Definition at line 96 of file bibd.cc.

BoolVarArray BIBD::_p [protected]

Matrix of Boolean variables.

Definition at line 98 of file bibd.cc.


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