SudokuSet Class Reference
[Example scripts (models)]
Inherits Example.
Detailed Description
Example: Some Sudoku puzzles using set constraintsDoes not really require any explanation...
Definition at line 36 of file sudoku-set.cc.
Public Member Functions | |
SudokuSet (const Options &opt) | |
Actual model. | |
SudokuSet (bool share, SudokuSet &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Perform copying during cloning. | |
virtual void | print (void) |
Print solution. | |
Protected Attributes | |
const int | n |
SetVarArray | x |
Constructor & Destructor Documentation
|
Actual model.
Definition at line 42 of file sudoku-set.cc. |
|
Constructor for cloning s.
Definition at line 103 of file sudoku-set.cc. |
Member Function Documentation
|
Perform copying during cloning.
Implements Gecode::Space. Definition at line 109 of file sudoku-set.cc. |
|
Print solution.
Reimplemented from Example. Definition at line 115 of file sudoku-set.cc. |
Member Data Documentation
|
Definition at line 38 of file sudoku-set.cc. |
|
Definition at line 39 of file sudoku-set.cc. |
The documentation for this class was generated from the following file:
- examples/sudoku-set.cc (Revision: 3517)