4.0

4.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 4.79 KB File ID: #39090
image thumbnail

GUI for Hybrid Sudoku Solver

by

 

A simple GUI to solve Sudoku puzzles. Uses both logical and bruteforce methods.

| Watch this File

File Information
Description

--The zip file contains three .M files; they are "Sudoku_GUI2.m", "BruteForce.m" and "SudokuSolver.m"
--Sudoku_GUI2.m is the file that creates the GUI. When the user presses the [Solve] button, the program will call SudokuSolver.m to solve the puzzle, SudokuSolver.m will in turn call Bruteforce.m if necessary to calculate the answer.
--The "hybrid" in the name comes from the fact that the solver uses both logical and bruteforce methods to find the solution.
--You may wish to replace SudokuSolver.m with your own solver. All you need to do is to change one line in Sudoku_GUI2.m Read the file comments for more details.
--"0" can be entered to represent an empty cell.
--The program is smart enough to catch conflicting or illegal entries.
--Using the tab key is a fast way to navigate through the cells.
--Normal newspaper variety puzzles can be solved in under 0.2 seconds. Specially designed "hard" puzzles may take from 2 to 100 seconds to solve. (Results from a P4 3.0 GHz computer)

Required Products MATLAB
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
19 Nov 2012 Zoltán Csáti  

Contact us