diff options
Diffstat (limited to 'src/cell.h')
-rw-r--r-- | src/cell.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6,15 +6,23 @@ class Cell { public: Cell(); + Cell(const Cell & other); + + void assign(const Cell & other); // inspector inline int value() const { return cell_value; } + + inline int possibility(const int value) { return cell_possibility[value]; } // mutator void set_value(int value); + void set_possibility(int value, bool possible = true); + private: int cell_value; + bool cell_possibility[9]; }; #endif // __INCLUDED_SUDOKUSOLVER_CELL__ |