diff options
| author | Tom Harley | 2020-01-23 13:03:25 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-01-23 13:03:25 +0000 |
| commit | f3d375722130e448802c046af2d75f66a06de498 (patch) | |
| tree | 0c82bd620be0401c6b9ba69c3314dfe0d9522eae /bin/run-all.sh | |
| download | machinarium-master.tar.gz machinarium-master.zip | |
Diffstat (limited to 'bin/run-all.sh')
| -rwxr-xr-x | bin/run-all.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/run-all.sh b/bin/run-all.sh new file mode 100755 index 0000000..1c35388 --- /dev/null +++ b/bin/run-all.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +s="$1" + +echo '"file","s-total-time","sr-clause-out","s-solve-time","sr-total-time","s-satisfiable","sr-timeout","s-nodes","s-timeout","s-sols","s-setup","flags"' + +for p in P1/*.param ; do + for a in "" \ +{," -Dup_down_bounds"}\ +{," -Dopposite_move_check"}\ +{," -Dfill_all"}\ +{," -Dno_block_moves"}\ +{," -Dno_repeat_moves"} ; do + echo "$s" "$p" $a + done +done | xargs -L 1 -P $(nproc) sh run.sh |
