chiark / gitweb /
Written a post-analyser for the search output.
authorSimon Tatham <anakin@pobox.com>
Wed, 12 Mar 2014 20:21:09 +0000 (20:21 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 12 Mar 2014 20:21:09 +0000 (20:21 +0000)
commita0e19749b5c7edccf558fc336fff917d837fa103
treeff0ef1d3b5dcc2c811a2fc4a3ae192e378b0f6c7
parent0418506e9f67ca705d53cc70d9a29d2cc8dccb40
Written a post-analyser for the search output.

This converts the floats into rationals by what I think is a more or
less sensible method (selecting the lowest possible denominator and
then double-checking afterwards that the result of rounding to
multiples of 1/d is still a legal dissection and doesn't decrease the
min frag by more than rounding error) and collapses the matrix
dissections into mere descriptions of how the sticks are cut up.
print.py [new file with mode: 0755]