SudokuCpltSet Class Reference
[Scripts for problems]
Inherits Sudoku.
Detailed Description
Example: Solving Sudoku puzzles using CpltSet constraintsDefinition 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 Space * | copy (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] |
| SudokuCpltSet::SudokuCpltSet | ( | bool | share, | |
| SudokuCpltSet & | s | |||
| ) | [inline] |
Member Function Documentation
| virtual Space* SudokuCpltSet::copy | ( | bool | share | ) | [inline, virtual] |
| virtual void SudokuCpltSet::print | ( | std::ostream & | os | ) | [inline, virtual] |
Member Data Documentation
CpltSetVarArray SudokuCpltSet::y [protected] |
The documentation for this class was generated from the following file:
- examples/sudoku.cc (Revision: 6034)
