Fast Sudoku Solver script Publisher Review:
Fast Sudoku Solver Fast Sudoku Solver - Rapidly finds all possible solutions to a sudoku puzzle
Fast Sudoku Solver - Rapidly finds all possible solutions to a sudoku puzzle SUDOKU - rapidly find all possible solutions to a sudoku puzzleUsage: Mout = sudoku(M)M = intial sudoku matrix, with zeros for empty entriesMout = solution as a 9x9 matrix if there is a unique solution, or as a 9x9xN matrix if there are N solutionsNotes:(1) The algorithm employs recursion, but does as much as it can with straighforward deterministic deduction at each recursion level to increase overall speed.(2) Supplying this function with an empty or overly sparse input matrix can create longer calulation times as the function searches for all possible solutions.(3) A "No solution" error is generated if the input puzzle has no valid solution.(4) Tested but no warranty, use at your own risk.(5) Michael Kleder, December 2006Examples:% find the unique solution to this puzzle in a fraction of a second:M = [0 0 8 0 9 0 5 0 0;0 0 1 0 7 0 4 0 0;0 0 4 0 3 0 6 0 0;0 1 0 0 0 6 0 0 7;0 9 0 0 0 3 0 0 0;0 2 0 0 5 0 0 6 0;0 5 0 0 4 0 0 2 0;0 0 0 8 0 0 0 3 0;6 0 0 1 0 0 0 4 0];sudoku(M)% find the 100 possible solutions to this puzzle in few seconds:M = [0 0 8 0 9 0 5 0 0;0 0 1 0 7 0 0 0 0;0 0 4 0 3 0 6 0 0;0 1 0 0 0 0 0 0 7;0 9 0 0 0 3 0 0 0;0 2 0 0 5 0 0 6 0;0 5 0 0 4 0 0 2 0;0 0 0 8 0 0 0 3 0;0 0 0 1 0 0 0 4 0];tic;M=sudoku(M);toc;size(M,3) Requirements: · MATLAB Release: R14SP3Fast Sudoku Solver script details and screenshot
RECOMMENDED TOOLS
Related tags:
Related downloads
ShootOut script
ShootOut ShootOut script shows you how to use the win32 console functions.
Price: Freeware$, Rating: 6, Downloads: 0
ShootOut ShootOut script shows you how to use the win32 console functions.
Price: Freeware$, Rating: 6, Downloads: 0
Concentration Game script
Concentration Game Concentration Game script allows you to play a memory like game.
Price: Freeware$, Rating: 9.5, Downloads: 0
Concentration Game Concentration Game script allows you to play a memory like game.
Price: Freeware$, Rating: 9.5, Downloads: 0
Guess the number game script
Guess the number game Guess the number game is a simple game that all ages can play.
Price: Commercial License ($, Rating: 10, Downloads: 0
Guess the number game Guess the number game is a simple game that all ages can play.
Price: Commercial License ($, Rating: 10, Downloads: 0
Connect4 script
Connect4 Connect4 script allows you to play the classic game of connect 4.
Price: Freeware$, Rating: 7, Downloads: 0
Connect4 Connect4 script allows you to play the classic game of connect 4.
Price: Freeware$, Rating: 7, Downloads: 0
Crossword Puzzle CGI system script
Crossword Puzzle CGI system Crossword Puzzle CGI system allows you to build and play cross
Price: Freeware$, Rating: 10, Downloads: 0
Crossword Puzzle CGI system Crossword Puzzle CGI system allows you to build and play cross
Price: Freeware$, Rating: 10, Downloads: 0
twiscip script
twiscip twiscip - Textbased (with images) StarCraft in PHP is just like the name says.
Price: GPL$, Rating: 10, Downloads: 0
twiscip twiscip - Textbased (with images) StarCraft in PHP is just like the name says.
Price: GPL$, Rating: 10, Downloads: 0
SPADS 8 Ball script 1.0
SPADS 8 Ball SPADS 8 Ball - Easy to install, everything can be edited too!
Price: $, Rating: 7, Downloads: 0
SPADS 8 Ball SPADS 8 Ball - Easy to install, everything can be edited too!
Price: $, Rating: 7, Downloads: 0
XO Game with GUI script
XO Game with GUI XO Game with GUI - A simple but difficult Tic Tac Toe game
Price: Freeware$, Rating: 9, Downloads: 0
XO Game with GUI XO Game with GUI - A simple but difficult Tic Tac Toe game
Price: Freeware$, Rating: 9, Downloads: 0
