BDIR=../Benchmarks/hexiom/learningset/
#Checking the number of
-if [ "$#" -lt 1 ]; then
+if [ "$#" -lt 2 ]; then
echo "Illegal number of argument"
- echo "./learn.sh [LearningSet]"
+ echo "./learn.sh [LearningSet] [TunerType]"
exit 1
fi
if [ "$1" -gt 2 ]; then
echo "Only 3 sets are available for learning. Parameter should be less than 3"
- echo "./bench.sh [NUMBER] [--csolver/--dump]"
exit 1
fi
echo ${LearningSet[$1]}
cd $BIN
./run.sh serializestatictuner
-./run.sh runmultituner $BUDGET $ROUND ${LearningSet[$1]} - $TUNERCONF
+./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF
BDIR=../Benchmarks/sudoku-csolver/learningset/
#Checking the number of
-if [ "$#" -lt 1 ]; then
+if [ "$#" -lt 2 ]; then
echo "Illegal number of argument"
- echo "./learn.sh [LearningSet]"
+ echo "./learn.sh [LearningSet] [TunerType]"
exit 1
fi
if [ "$1" -gt 2 ]; then
echo "Only 3 sets are available for learning. Parameter should be less than 3"
- echo "./bench.sh [NUMBER] [--csolver/--dump]"
exit 1
fi
echo ${LearningSet[$1]}
cd $BIN
./run.sh serializestatictuner
-./run.sh runmultituner $BUDGET $ROUND ${LearningSet[$1]} - $TUNERCONF
+./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF
#Variables
source ../common.sh
-PARAMETERS="64 96 112 128 144 160 192 224 256 288 320 352 384 416 448 480 512"
+PARAMETERS="64 96 112 128 144 160 192 224 256 288 320 352 384"
#Checking the number of
if [ "$#" -lt 1 ]; then
#Checking the number of
if [ "$#" -lt 1 ]; then
echo "Illegal number of argument"
- echo "./learn.sh [LearningSet]"
+ echo "./learn.sh [LearningSet] [TunerType]"
exit 1
fi
if [ "$1" -gt 2 ]; then
echo "Only 3 sets are available for learning. Parameter should be less than 3"
- echo "./bench.sh [NUMBER] [--csolver/--dump]"
exit 1
fi
echo ${LearningSet[$1]}
cd $BIN
./run.sh serializestatictuner
-./run.sh runmultituner $BUDGET $ROUND ${LearningSet[$1]} - $TUNERCONF
+./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF
BDIR=../Benchmarks/sudoku-csolver/learningset/
#Checking the number of
-if [ "$#" -lt 1 ]; then
+if [ "$#" -lt 2 ]; then
echo "Illegal number of argument"
- echo "./learn.sh [LearningSet]"
+ echo "./learn.sh [LearningSet] [TunerType]"
exit 1
fi
if [ "$1" -gt 2 ]; then
echo "Only 3 sets are available for learning. Parameter should be less than 3"
- echo "./bench.sh [NUMBER] [--csolver/--dump]"
exit 1
fi
echo ${LearningSet[$1]}
cd $BIN
./run.sh serializestatictuner
-./run.sh runmultituner $BUDGET $ROUND ${LearningSet[$1]} - $TUNERCONF
+./run.sh runmultituner $2 $BUDGET $ROUND $TIMEMAX ${LearningSet[$1]} - $TUNERCONF