Package algs13.xbacktrack.xsudoku
Class XMutableCell
java.lang.Object
algs13.xbacktrack.xsudoku.XSudokuCell
algs13.xbacktrack.xsudoku.XMutableCell
A mutable cell in a Sudoku grid. A mutable cell's digit can be
changed as the solver works to find the solution to the puzzle.
-
Field Summary
Fields inherited from class algs13.xbacktrack.xsudoku.XSudokuCell
subgridId, x, y
-
Constructor Summary
-
Method Summary
-
Field Details
-
nextCell
-
digit
-
-
Constructor Details
-
XMutableCell
XMutableCell(int x, int y, XMutableCell next)
-
-
Method Details
-
getDigit
int getDigit()Description copied from class:XSudokuCell
Get the digit currently associated with this cell.- Specified by:
getDigit
in classXSudokuCell
- Returns:
- the digit associated with this cell
-
nextDigit
int nextDigit() -
toString
-