Solver implementation in Solver.java
This commit is contained in:
		
							parent
							
								
									da983e438b
								
							
						
					
					
						commit
						e34b9ab57c
					
				
					 1 changed files with 32 additions and 0 deletions
				
			
		
							
								
								
									
										32
									
								
								app/src/main/java/sudoku/Solver.java
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								app/src/main/java/sudoku/Solver.java
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,32 @@ | |||
| package sudoku; | ||||
| 
 | ||||
| public class Solver implements SudokuSolver { | ||||
|     private int[][] board; | ||||
| 
 | ||||
|     public Solver() { | ||||
|         board = new int[9][9]; | ||||
|     } | ||||
| 
 | ||||
|     public void setBoard(int[][] board) { | ||||
|         this.board = board; | ||||
|     } | ||||
| 
 | ||||
|     public int[][] getBoard() { | ||||
|         return board; | ||||
|     } | ||||
| 
 | ||||
|     public boolean solve() { | ||||
|     } | ||||
| 
 | ||||
|     public Boolean isSolved() { | ||||
|     } | ||||
| 
 | ||||
|     private boolean solve(int row, int col) { | ||||
|     } | ||||
| 
 | ||||
|     public boolean legal(int row, int col, int nbr) { | ||||
|     } | ||||
| 
 | ||||
|     public String toString() { | ||||
|     } | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus