projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a79d8bc
)
Adding the learning script
author
Hamed Gorjiara
<hgorjiar@uci.edu>
Wed, 3 Oct 2018 17:53:15 +0000
(10:53 -0700)
committer
Hamed Gorjiara
<hgorjiar@uci.edu>
Wed, 3 Oct 2018 17:53:15 +0000
(10:53 -0700)
src/learn.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/src/learn.sh
b/src/learn.sh
new file mode 100755
(executable)
index 0000000..
221fea5
--- /dev/null
+++ b/
src/learn.sh
@@ -0,0
+1,18
@@
+#!/bin/bash
+# run as the following:
+# ./learn.sh [hexiom]
+# ./learn.sh [nqueens]
+# ./learn.sh [sudoku-csolver]
+# ./learn.sh [killerSudoku]
+
+
+
+BIN=./bin
+DUMP=$(find . -name "*.dump")
+cd $BIN
+for d in $DUMP; do
+ if [[ $d = *$@* ]]; then
+ echo $d
+ ./run.sh deserializerautotune "."$d
+ fi
+done