Sudoku Class Reference
[Example scripts (models)]
Inherits Example.
Detailed Description
Example: Some Sudoku puzzlesDoes not really require any explanation...
Definition at line 61 of file sudoku.cc.
Sudoku specifications | |
Each specification gives the initial positions that are filled in, with blank squares represented as zeroes. | |
int | example_size (const char *s) |
int | value_at (const char *s, int n, int i, int j) |
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 | |
const int | n |
IntVarArray | x |
Constructor & Destructor Documentation
|
Actual model.
|
|
Constructor for cloning s.
|
Member Function Documentation
|
Perform copying during cloning.
Implements Gecode::Space. |
|
Print solution.
Reimplemented from Example. |
Friends And Related Function Documentation
|
Definition at line 677 of file sudoku.icc. |
|
Definition at line 685 of file sudoku.icc. |
Member Data Documentation
|
|
|
|
The documentation for this class was generated from the following files:
- examples/sudoku.cc (Revision: 3517)
- examples/sudoku.icc (Revision: 3534)