forked from cloudsecuritygroup/ers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cali.sh
27 lines (26 loc) · 1.13 KB
/
cali.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 California dataset."
python3 -m ers.schemes.benchmark data/cali-1024x1024.pickle -1 range_brc runquery 100 small
elif [ "$1" == "linear" ]; then
echo "Running the Linear scheme on the California dataset."
python3 -m ers.schemes.benchmark data/cali-1024x1024.pickle -1 linear runquery 100 small
elif [ "$1" == "qdag_src" ]; then
echo "Running the Qdag-SRC scheme on the California dataset."
python3 -m ers.schemes.benchmark data/cali-1024x1024.pickle -1 qdag_src runquery 100 small
elif [ "$1" == "tdag_src" ]; then
echo "Running the Tdag-SRC scheme on the California dataset."
python3 -m ers.schemes.benchmark data/cali-1024x1024.pickle -1 tdag_src runquery 100 small
elif [ "$1" == "quad_brc" ]; then
echo "Running the Quad-BRC scheme on the California dataset."
python3 -m ers.schemes.benchmark data/cali-1024x1024.pickle -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