Sudoku Class Reference
[Example scripts (models)]
Inherits Example.
Detailed Description
Example: Some Sudoku puzzlesDoes not really require any explanation...
Definition at line 58 of file sudoku.cc.
Public Member Functions | |
Sudoku (const Options &opt) | |
Actual model. | |
Sudoku (bool share, Sudoku &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Perform copying during cloning. | |
virtual void | print (void) |
Print solution. | |
Protected Attributes | |
IntVarArray | x |
Static Protected Attributes | |
static const int | n = 3 |
Constructor & Destructor Documentation
|
Actual model.
|
|
Constructor for cloning s.
|
Member Function Documentation
|
Perform copying during cloning.
Implements Gecode::Space. |
|
Print solution.
Reimplemented from Example. |
Member Data Documentation
|
|
|
|
The documentation for this class was generated from the following file:
- examples/sudoku.cc (Revision: 2654)