From 088a205c050f3f32c35230b2f53d6eb4349767da Mon Sep 17 00:00:00 2001 From: Hamed Gorjiara Date: Fri, 4 Jan 2019 13:03:46 -0800 Subject: [PATCH] Edit --- common.sh | 1 + hexiom/learn.sh | 2 +- killerSudoku/learn.sh | 2 +- nqueens/learn.sh | 2 +- sudoku-csolver/learn.sh | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common.sh b/common.sh index 18bd051e..12ca7119 100755 --- a/common.sh +++ b/common.sh @@ -4,6 +4,7 @@ OFILE=result.csv TEMP="temp.out" DUMPDIR="dumps" TIMEMAX=5000s +TIMEOUT=1000 ROUND=15 BUDGET=15 TUNERCONF="onehottuner.conf binarytuner.conf unarytuner.conf" diff --git a/hexiom/learn.sh b/hexiom/learn.sh index ae16dcf8..0d60b57a 100755 --- a/hexiom/learn.sh +++ b/hexiom/learn.sh @@ -28,5 +28,5 @@ declare -a LearningSet=("${BDIR}38.dump ${BDIR}41.dump ${BDIR}43.dump ${BDIR}44. echo ${LearningSet[$1]} cd $BIN ./run.sh serializestatictuner -./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF +./run.sh runmultituner $2 $BUDGET $ROUND $TIMEOUT ${LearningSet[$1]} - $TUNERCONF diff --git a/killerSudoku/learn.sh b/killerSudoku/learn.sh index f955bf01..54e9d5c7 100755 --- a/killerSudoku/learn.sh +++ b/killerSudoku/learn.sh @@ -28,5 +28,5 @@ declare -a LearningSet=("${BDIR}2-25-5.dump ${BDIR}2-25.dump ${BDIR}36x36-591.du echo ${LearningSet[$1]} cd $BIN ./run.sh serializestatictuner -./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF +./run.sh runmultituner $2 $BUDGET $ROUND $TIMEOUT ${LearningSet[$1]} - $TUNERCONF diff --git a/nqueens/learn.sh b/nqueens/learn.sh index 07b98543..6a56fe63 100755 --- a/nqueens/learn.sh +++ b/nqueens/learn.sh @@ -28,5 +28,5 @@ declare -a LearningSet=("${BDIR}96.dump ${BDIR}112.dump ${BDIR}144.dump ${BDIR}1 echo ${LearningSet[$1]} cd $BIN ./run.sh serializestatictuner -./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF +./run.sh runmultituner $2 $BUDGET $ROUND $TIMEOUT ${LearningSet[$1]} - $TUNERCONF diff --git a/sudoku-csolver/learn.sh b/sudoku-csolver/learn.sh index c9d33acc..8d6506dd 100755 --- a/sudoku-csolver/learn.sh +++ b/sudoku-csolver/learn.sh @@ -28,5 +28,5 @@ declare -a LearningSet=("${BDIR}36x36-591.dump ${BDIR}36x36-592.dump ${BDIR}36x3 echo ${LearningSet[$1]} cd $BIN ./run.sh serializestatictuner -./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF +./run.sh runmultituner $2 $BUDGET $ROUND $TIMEOUT ${LearningSet[$1]} - $TUNERCONF -- 2.34.1