SudokuMixed Class Reference
[Scripts for problems]
Inherits SudokuInt, and SudokuSet.
Detailed Description
Example: Solving Sudoku puzzles using both set and integer constraintsDefinition at line 460 of file sudoku.cc.
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) |
Print solution. |
Constructor & Destructor Documentation
SudokuMixed::SudokuMixed | ( | const SizeOptions & | opt | ) | [inline] |
SudokuMixed::SudokuMixed | ( | bool | share, | |
SudokuMixed & | s | |||
) | [inline] |
Member Function Documentation
virtual Space* SudokuMixed::copy | ( | bool | share | ) | [inline, virtual] |
virtual void SudokuMixed::print | ( | std::ostream & | os | ) | [inline, virtual] |
The documentation for this class was generated from the following file:
- examples/sudoku.cc (Revision: 6034)