Formatting
This commit is contained in:
parent
6de3e286ed
commit
4879795aa5
1 changed files with 6 additions and 4 deletions
|
@ -1,14 +1,14 @@
|
|||
package sudoku;
|
||||
|
||||
public interface SudokuSolver{
|
||||
|
||||
public interface SudokuSolver {
|
||||
|
||||
// Work in progress
|
||||
|
||||
/**
|
||||
* Set sudoku board, numbers 1-9 are fixed values, 0 is unsolved.
|
||||
* Set sudoku board, numbers 1-9 are fixed values, 0 is unsolved.
|
||||
*/
|
||||
void setBoard(int[][] board);
|
||||
|
||||
|
||||
/**
|
||||
* Get the sudoku board
|
||||
*/
|
||||
|
@ -16,12 +16,14 @@ public interface SudokuSolver{
|
|||
|
||||
/**
|
||||
* Solve soduko
|
||||
*
|
||||
* @return true if solution could be found
|
||||
*/
|
||||
boolean solve();
|
||||
|
||||
/**
|
||||
* Check if digit is legal on the current board
|
||||
*
|
||||
* @param row
|
||||
* @param col
|
||||
* @param nbr
|
||||
|
|
Loading…
Reference in a new issue