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

SudokuSet Class Reference
[Example scripts (models)]

Example: Solving Sudoku puzzles using set constraints More...

List of all members.

Public Member Functions

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

Protected Attributes

SetVarArray y
 The fields occupied by a certain number.

Detailed Description

Example: Solving Sudoku puzzles using set constraints

Definition at line 240 of file sudoku-advanced.cpp.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 246 of file sudoku-advanced.cpp.

SudokuSet::SudokuSet ( SudokuSet s  )  [inline]

Constructor for cloning s.

Definition at line 319 of file sudoku-advanced.cpp.


Member Function Documentation

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

Perform copying during cloning.

Reimplemented from Sudoku.

Reimplemented in SudokuMixed.

Definition at line 325 of file sudoku-advanced.cpp.

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

Print solution.

Reimplemented from Sudoku.

Reimplemented in SudokuMixed.

Definition at line 331 of file sudoku-advanced.cpp.


Member Data Documentation

The fields occupied by a certain number.

Definition at line 243 of file sudoku-advanced.cpp.


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