Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

Adobe Dancing Links Algorithm Posted

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku
View previous topic :: View next topic  
Author Message
MontagFTB

Joined: 12 Sep 2005
Posts: 14
:

Items
PostPosted: Thu Oct 06, 2005 10:12 pm    Post subject: Adobe Dancing Links Algorithm Posted Reply with quote

Hey all,

A couple weeks ago I mentioned that the Adobe Source Libraries now includes with it a sample app that is a Sudoku puzzle generator/solver. The official release has taken place, and you can now download the sources at http://opensource.adobe.com. You'll need to have some sort of development enviornment installed in order to build the app (cygwin, MSVC, MacOS X SDK, etc). The algorithm as well as the test app are platform-independent implementations, so as long as you have a compiler equal-to or better than GCC 3.4.x, you should be in good shape.

For those who meet the above and are on either Win32 or a gcc-compatible *nix dev environment (including MacOS X), there are several batch files that download and build all you need in order to get the binary on your machine:

For *nix folk:
http://osdn.dl.sourceforge.net/sourceforge/adobe-source/asl_net_setup.sh

For Win32 folk:
http://osdn.dl.sourceforge.net/sourceforge/adobe-source/asl_net_setup.bat

Once you have everything built, go to the top level "adobe-source" directory in a command line and type:

For *nix folk:
Code:
%  ./adobe/bin/bjam adobe/test/sudoku


For Win32 folk:
Code:
C:> .\adobe\bin\bjam.exe adobe\test\sudoku


One that is built, the Sudoku Assistant will be buried in the
Code:
adobe-source/bin.v2/adobe/test/sudoku
directory.

(Sorry for the mammoth build instructions... for us it is just a test app, after all.)

Blessings,
Foster

P.S. I can post Win32 and MacOS X binaries somewhere if there is enough demand. Just let me know.

P.P.S. I don't recommend stealing the UI (it's a command line, after all) but the dancing links implementation is free-as-in-beer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron