I added mutiple pass per puzzle to my solver by allowing mutiple -q... options
this almost captures the analysis in this thread
what's missing is a bit of memory after each pass
and a way of accessing that memory when all passes are done for a given puzzle
you can now append ;
name=
expression... to each -q option
the
names can be accessed in -e expressions and -f formats
this provides the per-pass memory needed for the final analysis for each puzzle
pick up version 2008-01-12 and try with these options (listed one per line -- put them all on one)
it will print the grid and jf score * 10 as a comment (expressions are integer)
there may be a diff in the 7 and 8 (70 and 80) scores because my X constraints are a bit stronger than the (7.) list
the C ?: ternary operator is cumbersome but effective
- Code: Select all
-BG
-q'FN;v_1=V'
-q'{FNBTHW2W3}{W4}-G;v_2=V&&h2;h_2=h2;b_2=b2;i_2=i2'
-q'{FN}{W4}-G;v_3=V&h2;h_3=h2;b_3=b2;i_3=i2'
-q'{FNBTHW2W3X}{W4}-G;v_4=V&&h2;h_4=h2'
-f'%v%,#%,%(v_1?(v_2?(v_3?((b_2>b_3||b_2==b_3&&i_2>=i_3)?(S?(C1?((v_4&&h_4)?80:70):60):50):((b_2==b_3)?42:41)):30):20):10)x'