Skip navigation links
C D E G I S T U 

C

clone() - Method in class SudokuNode
Create a deep clone of this SudokuNode using the int[][] grid copy constructor.

D

DepthFirstSearcher - Class in <Unnamed>
DepthFirstSearcher.java - a simple iterative implementation of depth-first search.
DepthFirstSearcher() - Constructor for class DepthFirstSearcher
 

E

expand() - Method in class SudokuNode
Return a list of children of this node.

G

getCell(int, int) - Method in class SudokuNode
Return the current cell value given the row and column of the cell.

I

isGoal() - Method in class SudokuNode
Return whether or not the grid contains no UNKNOWN values.

S

search(SearchNode) - Method in class DepthFirstSearcher
search - given an initial node, perform depth-first search (DFS).
SIZE - Static variable in class SudokuNode
number of square grid rows and columns
SudokuNode - Class in <Unnamed>
 
SudokuNode(Scanner) - Constructor for class SudokuNode
Constructs a SudokuNode using the given Scanner to read a text Sudoku grid with periods marking unknown values.
SudokuNode(int[][]) - Constructor for class SudokuNode
Constructs a SudokuNode using the given 9-by-9 grid of cell values, either ranging from 1 to 9 or being the UNKNOWN value.

T

toString() - Method in class SudokuNode
Return a String representation of the Sudoku grid with periods marking unknown values.

U

UNKNOWN - Static variable in class SudokuNode
constant 0 indicating an unknown grid value
C D E G I S T U 
Skip navigation links