Package org.sosy_lab.java_smt.example
Class Sudoku.SudokuSolver<S>
- java.lang.Object
-
- org.sosy_lab.java_smt.example.Sudoku.SudokuSolver<S>
-
- Direct Known Subclasses:
Sudoku.BooleanBasedSudokuSolver
,Sudoku.EnumerationBasedSudokuSolver
,Sudoku.IntegerBasedSudokuSolver
- Enclosing class:
- Sudoku
public abstract static class Sudoku.SudokuSolver<S> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Integer[][]
solve(Integer[][] grid)
Solves a sudoku using the given grid values and returns a possible solution.
-
-
-
Method Detail
-
solve
public @Nullable Integer[][] solve(Integer[][] grid) throws InterruptedException, SolverException
Solves a sudoku using the given grid values and returns a possible solution. ReturnNull
if Sudoku cannot be solved.- Throws:
InterruptedException
SolverException
-
-