Hi all,
scripts/convert-dbm-fc-solver-solution-to-fc-solve-solution.pl is now in the fc-solve Git repository:
https://bitbucket.org/shlomif/fc-solve/src/47e5b2bbcfd0/fc-solve/source/scripts/convert-dbm-fc-solver-solution-to-fc-solve-solution.pl
What this Perl program does is convert the successful solutions of the dbm_fc_solver to a
"fc-solve -p -t -sam"-like format which can be passed to verify-solitaire-solution. Here is an example
use:
<<<
shlomif[fcs]:$trunk/fc-solve/source$ perl scripts/convert-dbm-fc-solver-solution-to-fc-solve-solution.pl \
--freecells-num=2 t/t/data/sample-solutions/375783.dbm-sol |
verify-solitaire-solution --freecells-num 2 -
Solution is OK.
>>>
This program requires the latest version of the Games-Solitaire-Verify CPAN distribution, which can be found
under the top-level directory repository.
The motivation for this program was to be able to verify the solutions of dbm_fc_solver, and after fixing some
bugs in it, all the files I tried were correctly verified.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap
Chuck Norris once wrote a 10 million lines C++ program in Microsoft Notepad
without having to use the backspace key. And it compiled without errors or
warnings, and was 100% bugāfree.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Received on Thu Aug 23 2012 - 07:29:19 IDT