Programs
These were designed to be compiled by gcc and run under Unix.
Compile using
gcc -o mk0 mk0.c -O3 gcc -o mk1 mk1.c -O3 gcc -o mk2 mk2.c -O3(I also used the options -funroll-loops and -mcpu=586, which made things a bit faster. The latter is machine-dependent.)
For a complete run, do:
mk0 >out0 mk1 < out0 >out1 mk2 -i out1 >out2For a partial run, change EPS in mk1.c to be -0.03 (or whatever), before doing the above.
If you just want to evaluate the equities of hand triples (rather than search for close ones), then you only need mk2. You can then type, e.g.,
mk2 -h'AcKc AdKd Tc4d'or
mk2 -i listif "list" is a file containing some hand triples in the above format.
On my computer (600MHz pentium clone), it takes about 1/16 second to evaluate a single hand triple, and about 1/34 second per hand triple if you are using the -i option to do many together.