Download A Sudoku Solver In C 1 11 - A Sudoku Solver In C 1 11 Description, A Sudoku Solver In C 1 11 Reviews
Contact
 


 

Download

 
Download Now (27K)
GPL (GNU General Public License)
Downloads till now: 31
 
 

Quick search

 



 

Rate this software

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

No. Votes

0

 

Linux

Action, Adventure and RPG, Arcade, Fortune , FPS , MUD, Puzzle , Puzzles, RPG , RTS , Simulation , Simulations, Sports, Strategy, TBS , Tools & Editors, Tools and Editors,

Windows

Mac

Mobile

Drivers

Scripts - DHTML

Scripts - DHTML (new)

Web Developer Blog

Web Developer Blog (new)

Scripts and Applications

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
XML


Tag Cloud

A Sudoku Solver in C 1.11

 

Details

Size: 27K
Last Update: 2008-04-15 23:41:38
OS Support: Linux
License/Program Type: GPL (GNU General Public License)
Publisher: Bill DuPree
Price:$0.00
Description:

A Sudoku Solver in C 1.11 is puzzle software developed by Bill DuPree.
A Sudoku Solver in C is a console-based Linux program, written in C language, that solves Su Doku puzzles using deductive logic. It will only resort to trial-and-error and backtracking approaches upon exhausting its deductive moves.



Puzzles must be of the standard 9x9 variety using the (ASCII) characters 1 through 9 for the puzzle symbols. Puzzles should be submitted as 81 character strings which, when read left-to-right will fill a 9x9 Sudoku grid from left-to-right and top-to-bottom. In the puzzle specification, the characters 1 - 9 represent the puzzle givens or clues. Any other non-blank character represents an unsolved cell.

The puzzle solving algorithm is home grown. I did not borrow any of the usual techniques from the literature, e.g. Donald Knuth's "Dancing Links." Instead I rolled my own from scratch as a personal challenge. As such, its performance can only be blamed on yours truly. Still, I feel it is quite fast. On a 333 MHz Pentium II Linux box it solves typical medium force puzzles in approximately 800 microseconds or about 1,200 puzzles per second, give or take. On an Athlon XP 3000 it solves about 6,600 puzzles per sec. (Solving time is dependent upon degree of difficulty, so YMMV.)

Description of Algorithm:

The puzzle algorithm initially assumes every unsolved cell can assume every possible value. It then uses the placement of the givens to refine the choices available to each cell. I call this the markup phase.

After markup completes, the algorithm then looks for singleton cells with values that, due to constraints imposed by the row, column, or 3x3 region, may only assume one possible value. Once these cells are assigned values, the algorithm returns to the markup phase to apply these changes to the remaining candidate solutions. The markup/singleton phases alternate until either no more changes occur, or the puzzle is solved. I call the markup/singleton elimination loop the Simple Solver because in a large percentage of cases it solves the puzzle.
If the simple solver portion of the algorithm doesn't produce a solution, then more advanced deductive rules are applied.

I've implemented two additional rules as part of the deductive puzzle solver. The first is subset elimination wherein a row/column/region is scanned for X number of cells with X number of matching candidate solutions. If such subsets (or tuples) are found in the row, column, or region, then the candidates values from the subset may be eliminated from all other unsolved cells within the row, column, or region, respectively.

The next deductive rule examines each region looking for candidate values that exclusively align themselves along a single row or column, i.e. a vector. If such candidate values are found, then they may be eliminated from the cells outside of the region that are part of the aligned row or column.

Note that each of the advanced deductive rules calls all preceeding rules, in order, if that advanced rule has effected a change in puzzle markup.

Finally, if no solution is found after iteratively applying all deductive rules, then we begin trial-and-error using recursion for backtracking. A working copy is created from our puzzle, and using this copy the first cell with the smallest number of candidate solutions is chosen. One of the solutions values is assigned to that cell, and the solver algorithm is called using this working copy as its starting point. Eventually, either a solution, or an impasse is reached.

If we reach an impasse, the recursion unwinds and the next trial solution is attempted. If a solution is found (at any point) the values for the solution are added to a list. Again, so long as we are examining all possibilities, the recursion unwinds so that the next trial may be attempted. It is in this manner that we enumerate puzzles with multiple solutions.

Note that it is certainly possible to add to the list of applied deductive rules. The techniques known as "X-Wing" and "Swordfish" come to mind. On the other hand, adding these additional rules will, in all likelihood, slow the solver down by adding to the computational burden while producing very few results. I've seen the law of diminishing returns even in some of the existing rules, e.g. in subset elimination I only look at two and three valued subsets because taking it any further than that degraded performance.

What's New in This Release:
Code optimization has resulted in a 30% increase in speed.
A Sudoku Solver in C 1.11 supports english interface languages and works with Linux.

Downloading A Sudoku Solver in C 1.11 will take several seconds if you use fast ADSL connection.


Leave a comment




(optional)

What is 7-3?




0 comments


Downloadtube.com agrees that pirated software hurts software developers and does not support such practices. We acknowledge and agree that software piracy is theft. Using A Sudoku Solver in C 1.11 crack, A Sudoku Solver in C 1.11 key generator, A Sudoku Solver in C 1.11 keygen, as well as any pirated A Sudoku Solver in C 1.11 serial number/serial numbers and A Sudoku Solver in C 1.11 registration code/codes, warez, keys, torrents, passwords, is illegal and does not support the future development of A Sudoku Solver in C 1.11.

Downloadtube.com advises that A Sudoku Solver in C 1.11 should be only used in accordance with the rules of intellectual property and the existing Criminal Code. Downloadtube.com does not allow the inclusion of any crack, serial or keygen and disclaims any liability for the inappropriate use of A Sudoku Solver in C 1.11.

Add to

 Del.icio.us   Digg It   Furl   YahooMyWeb   Blinklist
 

A Sudoku Solver in C 1.11 Version History

Product Date Added
A Sudoku Solver in C 1.11 2008-04-15 23:41:38


Related Software

arianne 0.12
From category: MUD
arianne 0.12 is mud software developed by Miguel Angel Blanch Lardin. Arianne is a multiplayer online games framework and engine to develop turn based and real time games. It provides a simp...
Medal of Honor Airborne Dedicated Server
From category: FPS
Medal of Honor: Airborne Dedicated Server is as the name suggest, a dedicated Linux server package for Medal of Honor: Airborne....
Cyphesis
From category: MUD
Cyphesis 0.5.10 is mud software developed by Alistair Riddoch. Cyphesis is a WorldForge server suitable running small games. Cyphesis is also designed by be used as an AI subsystem in a network of...
MKGI Chess Club
From category: TBS
MKGI Chess Club is a chess playing server with a pure Web interface....
Absolute Blockbuster 1.0
From category: Arcade
Absolute Blockbuster 1.0 is arcade software developed by Absolutist. Absolute BlockBuster is a collection of five amazing arcade games, among them BlockBuster, Squares, and other addictive pastimes...
FreeDoko
From category: Fortune
FreeDoko 0.7.3 is fortune software developed by Borg Enders and Diether Knof. FreeDoko is a Doppelkopf-game, written by Borg Enders and Diether Knof. It is developed under and for the platforms Lin...
FreeRa 060716
From category: RTS
FreeRa 060716 is rts software developed by Joris Meijer. FreeRa is a Westwood red alert game engine (original .mix files required). This is a rebuild of the (westwood) red alert game engine (based...
Fight Win Prevail
From category: Simulation
Fight Win Prevail 0.0.8 is simulation software developed by The FWP-Team. Fight Win Prevail (or FWP for short) is a hobbyist multiplayer first person shooter. Fight Win Prevail is set in an imagina...
Rom Check Fail
From category: Arcade
Rom Check Fail is an arcade mashup. Or perhaps it\'s a remix. An homage?...
CoC Character Generator Alpha 7
From category: RPG
CoC Character Generator Alpha 7 is rpg software developed by Markus Svensson. CoC ChaGen is a character generator for Chaousium Inc\'s rpg Call of Cthulhu.CoC CharGen is released under the GNU GPL....
D2X XL
From category: FPS
D2X-XL is a Descent 2 OpenGL port to Linux....
fortune-mod-ru
From category: Fortune
fortune-mod-ru 1.51 is fortune software developed by Pavel Maryanov. fortune-mod-ru is a collection of cookie files in Russian. It includes the following categories: armenian (questions to...
Neverball
From category: Action
Neverball is part puzzle game, part action game, and entirely a test of skill. Also found here is Neverputt, a hot-seat multiplayer miniature golf game using the physics and graphics of Neverball....
Enrapture Beta
From category: RPG
Enrapture Beta 0.6 is rpg software developed by Jan Qvarnstrom. Enrapture project is a OpenGL-based space/RPG game. It takes its influences from the old master piece Elite. Enrapture...
Daimonin Beta3-v
From category: RPG
Daimonin Beta3-v0.966 is rpg software developed by Michael Toennies. FREE isometric real-time massive multiplayer Online RPG. 2d/3d graphics, 3d sound effects, digital ambient music. Fast ex...
 

Top Downloads

 
1. Canon PIXMA iP1000 Printer Driver
2. Canon PIXMA iP1200 Printer Driver
3. Canon PIXMA iP1300 Printer Driver c
4. Canon PIXMA iP1600 Printer Driver
5. Canon PIXMA MP210 MP Drivers
6. Realtek High Definition Audio Codecs R
7. Realtek ALC/ 262/ 265/ 268/ 660/ 861/ 880/ 882/ 883/ 885/ 888 Audio
8. Canon LaserShot LBP-1210 Printer Driver
9. Canon i-SENSYS LBP2900 Printer Driver R
10. ZiPhone
11. Realtek RTL8100B(L)/RTL8100C(L)/RTL8101L/RTL8139C(L) Driver XP
12. Canon PIXMA MP160 MP Drivers xp64
13. Canon PIXMA iP1300 Printer Driver a
14. Canon PIXMA iP1200 Printer Driver d
15. Rapidshare Auto Downloader
16. The Sitter Downers Soundboard
17. XP Quick Fix Plus
18. Genius Eye 110 Webcam Driver
19. TR Birthday Reminder
20. Canon PIXMA iP1200 Printer Driver x64 d

DownloadTube Editor Reviews

 
1. HDDPhysic
HDDPhysic is a lightweight utility for displaying physical v...
2. Rename Us Pro
Rename Us is an application for batch renaming files accordi...
3. PC Cleaner
PC Cleaner is a small yet highly powerful application for ru...
4. Nemo Excel To PDF
Nemo Excel To PDF is a lightweight utility for converting yo...
5. Nemo All To PDF
The application provides an all-in-one solution to convertin...
6. Nemo PDF To Word
Nemo PDF To Word is a small yet highly efficient PDF tool fo...
7. Nemo PDF Converter
Nemo PDF Converter is a lightweight PDF tool allowing users ...
8. IM Translator
IM Translator is a powerful, accurate and friendly tool that...
9. RouteConverter
RouteConverter is a free tool to easily convert and edit rou...
10. Screenshot Uploader
Screenshot Uploader provides easy screenshot sharing - one c...

Software Reviews Full List



Video Reviews

 
1. Nemo Excel To PDF
Nemo Excel to PDF is to convert Microsoft Excel to Adobe PDF...
2. Nemo All To PDF
Nemo All To PDF converts all printable documents to PDF, inc...
3. Nemo PDF To Word
Nemo PDF To Word is a prominent PDF to Word conversion softw...
4. Nemo PDF Converter
Nemo PDF Converter is professional PDF to Word/RTF and Word/...
5. Core Affinity Resident
This tool is intended to assign automatically a single core ...
6. USB Image Tool
USB Image Tool can create images of USB flash drives and MP3...
7. Notepad GNU
Powerful text and code editor for Windows....
8. Ola! Spanish Character Editor
It's often difficult to find the foreign characters you need...
9. InfoBot
Friendly free Yahoo Messenger bot that provides various info...
10. IM Translator
IM Translator provides instant translation of short messages...
11. NoteMe
NoteMe is a small notepad tool that minimizes to the system ...
12. Easy Watermarker
Easy Watermarker helps you add visible transparent text and ...
13. Melange
A freeware technical-commercial program that calculates pric...
14. Saucy French Editor
Saucy French Editor enables you to overcome the headache of ...
15. Caldera
Resize, rename and recompile images in a batch. Resizes imag...

More Video Reviews



Recent Blog Posts

 
1. How To Disable PHP Safe Mode On In Plesk
Plesk is a powerful hosting automation control panel, used a...
2. Google Dashboard Knows All Your Secrets
If you are connected to your Google account and surf the web...
3. Google Friend Connect Is More User Friendly
Google Friend Connect, the Google service which allows webma...
4. Yahoo! Media Player: A Fast And Lightweight MP3 Player
If you are looking for a convenient and unobtrusive audio pl...
5. Indo Cleaner 2009 Maximizes Windows 7 Performance
Many of you might just have upgraded the current Windows ope...
6. Salesforce And Adobe: Rich Internet Applications In The Cloud
Adobe Systems Incorporated has just announced the partnersh...
7. Google Social Search: Tweets In Google Search Results
The real-time updates from social networks, like Twitter, r...
8. WordPress 2.8.5 Has An Enhanced Security System
Even the upcoming candidate for the most popular blogging pl...
9. Puppy Linux Built From Ubuntu Still Has 99 MB
As compared with earlier candidates, version 4.3 of Puppy Li...
10. Webmaster Tools: Googlebot Fetching Process And Malware Details
Recently, Google has included into Webmaster Tools service n...