-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsweep.sh
More file actions
12 lines (12 loc) · 832 Bytes
/
sweep.sh
File metadata and controls
12 lines (12 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
make clean && make phase1 phase2 phase3
mkdir -p results/
for i in {1..7}; do
mkdir -p results/testcase$i
/phase1 tests/testcase$i/graph.json tests/testcase$i/queries1.json results/testcase$i/output1.json
./phase2 tests/testcase$i/graph.json tests/testcase$i/queries2.json results/testcase$i/output2.json
./phase3 tests/testcase$i/graph.json tests/testcase$i/queries3.json results/testcase$i/output3.json
python3 alns_solver.py tests/testcase$i/graph.json tests/testcase$i/queries3.json results/testcase$i/output3_lib.json
python3 vrp_evaluator.py tests/testcase$i/graph.json tests/testcase$i/queries3.json results/testcase$i/output3.json results/testcase$i/output3_lib.json > results/testcase$i/out_p3.txt
mv accuracy_comparison.png results/testcase$i/
mv quality_comparison.png results/testcase$i/
done