alexr_rwx: (giant hair with cubism and sepia)
[personal profile] alexr_rwx
Been working on this off and on for a few months, but here it is! http://sudokudlx.appspot.com/

It's not that sudoku is particularly earth-shattering (is it still popular?) -- I wrote a fairly naive solver for it a few years ago. What's interesting about this is Knuth's extremely metal constraint-satisfaction algorithm, Dancing Links. It's very, very fast. And I think this implementation of it is clean enough to be reusable, maybe even for other people!

Over on that other blog, there will be a more thorough treatment about the algorithm, how to implement it, and how to apply it to sudoku, probably in a day or two.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

alexr_rwx: (Default)
Alex R

May 2022

S M T W T F S
1234 567
891011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 16th, 2025 05:59 pm
Powered by Dreamwidth Studios