-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathspitz.sh
27 lines (26 loc) · 1.09 KB
/
spitz.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
if [ "$1" == "range_brc" ]; then
echo "Running the Range-BRC scheme on the Spizt dataset."
python3 -m ers.schemes.benchmark data/spitz-1024x1024.csv -1 range_brc runquery 100 small
elif [ "$1" == "linear" ]; then
echo "Running the Linear scheme on the Spizt dataset."
python3 -m ers.schemes.benchmark data/spitz-1024x1024.csv -1 linear runquery 100 small
elif [ "$1" == "qdag_src" ]; then
echo "Running the Qdag-SRC scheme on the Spizt dataset."
python3 -m ers.schemes.benchmark data/spitz-1024x1024.csv -1 qdag_src runquery 100 small
elif [ "$1" == "tdag_src" ]; then
echo "Running the Tdag-SRC scheme on the Spizt dataset."
python3 -m ers.schemes.benchmark data/spitz-1024x1024.csv -1 tdag_src runquery 100 small
elif [ "$1" == "quad_brc" ]; then
echo "Running the Quad-BRC scheme on the Spizt dataset."
python3 -m ers.schemes.benchmark data/spitz-1024x1024.csv -1 quad_brc runquery 100 small
else {
# Display Help
echo "Please specify one of the schemes below as an argument:"
echo " linear"
echo " range_brc"
echo " quad_brc"
echo " qdag_src"
echo " tdag_src"
}
fi