SudokuMixed Class Reference
[Example scripts (models)]
Example: Solving Sudoku puzzles using both set and integer constraints More...
Public Member Functions | |
SudokuMixed (const SizeOptions &opt) | |
Constructor. | |
SudokuMixed (bool share, SudokuMixed &s) | |
Constructor for cloning s. | |
virtual Space * | copy (bool share) |
Perform copying during cloning. | |
virtual void | print (std::ostream &os) const |
Print solution. |
Detailed Description
Example: Solving Sudoku puzzles using both set and integer constraints
Definition at line 363 of file sudoku.cpp.
Constructor & Destructor Documentation
SudokuMixed::SudokuMixed | ( | const SizeOptions & | opt | ) | [inline] |
Constructor.
Definition at line 366 of file sudoku.cpp.
SudokuMixed::SudokuMixed | ( | bool | share, | |
SudokuMixed & | s | |||
) | [inline] |
Constructor for cloning s.
Definition at line 391 of file sudoku.cpp.
Member Function Documentation
virtual Space* SudokuMixed::copy | ( | bool | share | ) | [inline, virtual] |
Perform copying during cloning.
Reimplemented from SudokuInt.
Definition at line 396 of file sudoku.cpp.
virtual void SudokuMixed::print | ( | std::ostream & | os | ) | const [inline, virtual] |
The documentation for this class was generated from the following file:
- examples/sudoku.cpp (Revision: 11473)