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 Open Source Dancing Links Implementation

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

Joined: 12 Sep 2005
Posts: 14
:

Items
PostPosted: Mon Sep 12, 2005 9:47 pm    Post subject: Adobe Open Source Dancing Links Implementation Reply with quote

Hi all,

I am one of the developers in the Adobe Open Source Libraries effort (http://opensource.adobe.com). The Adobe Source Libraries (ASL) are a collection of C++ libraries building foundation technology to allow the construction of commercial applications by assembling generic algorithms through declarative descriptions.

I am also a Sudoku fan and have been working on a dancing links implementation in order to write a general sudoku puzzle solver/generator. The dancing links implementation is complete, and a small Sudoku command-line interactive client has been implemented as a test app to the algorithm.

While the client itself is clunky and the solver isn't extensive, the dancing links implementation is incredibly fast. The puzzle generator makes about 25 puzzles per second on my 1.67 GHz PowerBook G4, and can find the first solution to most sudoku puzzles using dancing links in less than 20 miliseconds. I have been looking at posts on this board recently and believe these are competitive times to other implementations posted already.

And it's all free-as-in-beer, licensed under the MIT Open Source License.

I invite all of you to take advantage of this open source effort. My hope is that you would not only contribute to the sudoku test app, but that you would also find other components in the Adobe Source Libraries to be of some use to you in your development projects.

Please note: the implementation isn't available yet as a download from the Sourceforge.net web site. It is however available in the ASL CVS sandbox. It will be available in downloadable form on or shortly after October 4, 2005.

Blessings,
Foster Brereton
Back to top
View user's profile Send private message
xyzzy

Joined: 24 Aug 2005
Posts: 80
:

Items
PostPosted: Tue Sep 13, 2005 7:25 am    Post subject: Re: Adobe Open Source Dancing Links Implementation Reply with quote

MontagFTB wrote:
Hi all,

While the client itself is clunky and the solver isn't extensive, the dancing links implementation is incredibly fast. The puzzle generator makes about 25 puzzles per second on my 1.67 GHz PowerBook G4, and can find the first solution to most sudoku puzzles using dancing links in less than 20 miliseconds. I have been looking at posts on this board recently and believe these are competitive times to other implementations posted already.


20 milliseconds, competitive? You'll need to get down to 20 microseconds if you want to be competitive. Check out these fast solvers being discussed: http://www.setbb.com/phpbb/viewtopic.php?t=222&start=15&mforum=sudoku
Back to top
View user's profile Send private message Visit poster's website
MontagFTB

Joined: 12 Sep 2005
Posts: 14
:

Items
PostPosted: Tue Sep 13, 2005 3:58 pm    Post subject: Reply with quote

Yes! Good! Come in and help make the code faster then, that's the whole point.

Blessings,
Foster
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Software 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