Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Feb 29, 2012
  1. Version bump to 1.1.2

    authored
  2. Version bump to 1.1.1

    authored
  3. - Added legal license (MIT license).

    authored
    - Made the Rakefile nicer by actually printing out error messages when loading gems goes fails.
    - Shortened the gem summary so it doesn't get elided on rubygems.org.
Commits on Feb 28, 2012
  1. Version bump to 1.1.0

    authored
  2. Fixed 'puzzlinkes' typo.

    authored
  3. Fixed several typos in the README. Fixed some comments in dancing_lin…

    authored
    …ks.rb. Renamed Node#choose and Node#unchoose to Node#choose_except_self_column and Node#unchoose_except_self_column. Renamed LinkMatrix#remove_row to Node#choose. These changes make it a lot clearer what is going on. Hopefully nobody is relying on thos functions yet.
Commits on Feb 27, 2012
  1. Deleted my other attempts. Started dumbing down the README.rdoc file …

    authored
    …so it looks OK on github. This means we can't link to classes and methods.
  2. Got the specs to pass on Ruby 1.8.7. Some issues were caused by our u…

    authored
    …se of 'Set' in dancing_links.rb; apparently it doesn't always enumerate its elemnents in the same order that they were provided.
  3. Got rid of find_each_exact_cover_recursive, replacing it with each_ex…

    authored
    …act_cover_recursive which can find all the exact covers. I didn't realize that Donald Knuth's algorithm was capable of finding all the exact covers because I misinterpreted the pseudocode, but now when I look back it's pretty clear that it can.
  4. A lot more work on README.rdoc. Added the templates to the documentat…

    authored
    …ion of the different classes so people can get an instant idea of what the class represents, and because its convenient to have that code on hand when you are writing a new puzzle file. Added examples/solve_sudoku.rb.
Commits on Feb 25, 2012
  1. dancing_links.rb: Made the #add_row method filter out duplicate colum…

    authored
    …n ids (by converting to a Set) because otherwise it causes obscure bugs in each_exact_cover.
Commits on Feb 20, 2012
  1. Renamed the node.cover and node.uncover functions to node.choose and …

    authored
    …node.unchoose to avoid confusion and make the meaning clearer.
  2. Made some improvements to time_test.rb. I am shocked that the puzzle …

    authored
    …that took over an hour to solve when I first made the gem now takes a mere 5 seconds.
  3. Made time_test.rb so we can evaluate if a change to the library has a…

    authored
    … major effect on the performance.
Something went wrong with that request. Please try again.