Generated on Wed Nov 1 15:04:51 2006 for Gecode by doxygen 1.4.5

BIBD Class Reference
[Example scripts (models)]

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 35 of file bibd.cc.

Public Member Functions

BoolVarp (int i, int j)
 Access variable by row and column.
 BIBD (const Options &opt)
 Actual model.
virtual void print (void)
 Print solution.
 BIBD (bool share, BIBD &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Copy during cloning.

Static Public Attributes

static Par par

Protected Attributes

BoolVarArray _p
 Matrix of Boolean variables.

Classes

class  Par
 Class for BIBD parameters. More...


Constructor & Destructor Documentation

BIBD::BIBD const Options opt  )  [inline]
 

Actual model.

Definition at line 59 of file bibd.cc.

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

Constructor for cloning s.

Definition at line 126 of file bibd.cc.


Member Function Documentation

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

Access variable by row and column.

Definition at line 53 of file bibd.cc.

virtual void BIBD::print void   )  [inline, virtual]
 

Print solution.

Reimplemented from Example.

Definition at line 112 of file bibd.cc.

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

Copy during cloning.

Implements Gecode::Space.

Definition at line 133 of file bibd.cc.


Member Data Documentation

BoolVarArray BIBD::_p [protected]
 

Matrix of Boolean variables.

Definition at line 38 of file bibd.cc.

BIBD::Par BIBD::par [static]
 

Definition at line 50 of file bibd.cc.


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