Commits

Author Commit Message Labels Comments Date
Shlomi Fish
Fixed some problems with the state_ia() in the optimization thread. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1494 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Solved the problems with using the -opt flag after recycling instances. This was exhibited in solving ranges by the range solver. Changes: t/t/range-parallel-solver.t: added a test to test for a large range of deals with "-l cool-jives -opt". This failed before this commit. - Also removed several unused "use" statements. t/t/valgrind.t: added a test to test for "1 2 1 -opt". This failed before this commit. t/t/intermediate-iterations-are-in-order.t: testing t…
Shlomi Fish
Removed some unsued code from t/t/range-parallel-solver.t . git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1492 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Added two scripts to analyse the distribution of the number of moves. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1491 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Now delimiting the moves in the fc_pro_range_solver. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1490 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Added svn:ignore for freecell-solver-fc-pro-range-solve . git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1489 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Got CMake to build the freecell-solver-fc-pro-range-solve. In the process got rid of warnings that gcc's -Wall reported. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1488 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Finished implementing the fc_pro_range_solver. This program is meant to solve and output moves compatible with Freecell Pro / Standard Notation. It also outputs the general total moves. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1487 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Got the fc_pro_range_solver.c to do the same thing as the normal one. Of course we still generate an fc-pro compatible position. TODO: implement the moves conversion. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1486 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Copied to the fc_pro_range_solver.s for working on it. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1485 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
More cleanups to the fc_pro_iface.c. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1484 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Added the fc_pro_iface_pos.h and cleaned up fc_pro_iface.c. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1483 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Added the fc_pro_iface.c from ext-ifaces/FC-Pro. It allows to create standard notation compatible moves. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1482 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Optimized get_board() in test_multi_parallel.c. It was very inane with repetitive sprintf(ret + strlen(ret)). git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1481 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Added the board-loop to iterate over the boards and check them for validity. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1480 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Now the executable is not called test. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1479 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Bug fixes and added validation to the position. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1478 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Changed the eol-style to LF because it confused svn. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1477 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Added generated files to svn:ignore. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1476 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Made fill_pos.cpp generated and removed it from the repository. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1475 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
CMake - now building fcs_hash.c only conditionally. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1474 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Renamed the "num_freecells" identifier into "num_vacant_freecells". (cleanup). git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1473 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Renamed the num_freestacks identifier into num_vacant_stacks. (cleanup). git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1472 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Now keeping the vacant resources number in the soft_thread. This is rather than passing it to the tests' function explicitly on each call. They can reference it there. Cleanup/Refactoring. TODO: rename num_freecells to num_vacant_freecells and num_freestacks to num_vacant_stacks. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1471 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
No longer passing reparent to the test functions - it's fetched from instance. reparent exists in instance, so there's no need to excessively pass it to each of the test functions that try out different moves. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1470 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Now invoking make under t/ so the compiled test programs will be up-to-date. Changed run-tests.pl to also invoke make. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1469 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Cleaned up the to_reparent_states handling, preparing for more cleanup. Now there are two to_reparent_states variables - _proto and _real: {{{{ * _proto is the one inputted by the user. * _real is calculated based on other factors such as whether the * scan method is FCS_METHOD_OPTIMIZE. }}}} As a result, we can simply read toreparent from the instance, instead of keep calculating it. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-…
Shlomi Fish
CMake: got -DCMAKE_BUILD_TYPE=profile to work. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1427 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Halfway through creating a "profile" BUILD_TYPE for CMake. The profile build_type fails, but a plain ./configure works fine. So we're committing just to preserve what we have so far. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1426 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
Shlomi Fish
Noted in USAGE that Frecell is the default configuration. git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/trunk@1425 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a
  1. Prev
  2. Next