-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-random.sh
37 lines (29 loc) · 1.15 KB
/
run-random.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
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
# Enable command echo
set -v
rm results.pickle
# Run experiments
# echo "Run experiments"
# python icarus.py --results results.pickle config/random.py
# echo "Simulation is finished"
# echo "Get Results: Latency and Hit Ratios"
# python printresults.py results.pickle > results/random-irm.txt
# echo "Results are saved to file results.txt"
echo "Run experiments"
python icarus.py --results results.pickle config/random.py
echo "Simulation is finished"
echo "Get Results: Latency and Hit Ratios"
python printresults.py results.pickle > results/random-irm.txt
echo "Results are saved to file results.txt"
# echo "Run experiments"
# python icarus.py --results results.pickle config/random2.py
# echo "Simulation is finished"
# echo "Get Results: Latency and Hit Ratios"
# python printresults.py results.pickle > results/random2-irm.txt
# echo "Results are saved to file results.txt"
# echo "Run experiments"
# python icarus.py --results results.pickle config/random3.py
# echo "Simulation is finished"
# echo "Get Results: Latency and Hit Ratios"
# python printresults.py results.pickle > results/random3-irm.txt
# echo "Results are saved to file results.txt"