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

SudokuCpltSet Class Reference
[Scripts for problems]

Inherits Sudoku.

List of all members.


Detailed Description

Example: Solving Sudoku puzzles using CpltSet constraints

Definition at line 340 of file sudoku.cc.


Public Member Functions

 SudokuCpltSet (const SizeOptions &opt)
 Constructor.
 SudokuCpltSet (bool share, SudokuCpltSet &s)
 Constructor for cloning s.
virtual Spacecopy (bool share)
 Perform copying during cloning.
virtual void print (std::ostream &os)
 Print solution.

Protected Attributes

CpltSetVarArray y
 The fields occupied by a certain number.

Constructor & Destructor Documentation

SudokuCpltSet::SudokuCpltSet ( const SizeOptions opt  )  [inline]

Constructor.

Definition at line 346 of file sudoku.cc.

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

Constructor for cloning s.

Definition at line 421 of file sudoku.cc.


Member Function Documentation

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

Perform copying during cloning.

Implements Gecode::Space.

Definition at line 427 of file sudoku.cc.

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

Print solution.

Reimplemented from Example.

Definition at line 433 of file sudoku.cc.


Member Data Documentation

The fields occupied by a certain number.

Definition at line 343 of file sudoku.cc.


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