forked from Jiaoyang-Li/MAPF-LNS2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
laptop.sh
38 lines (31 loc) · 1.24 KB
/
laptop.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
#!/bin/sh
timelimit=10
name=random-32-32-20
map=../../MAPF-instances/mapf-map/$name.map
scen=../../MAPF-instances/mapf-scen-random/scen-random/$name-random
output=$name-random
for k in $(seq 300 50 300)
do
for i in $(seq 1 1 25)
do
echo $k agents on instance $name-random-$i
#./lns -m $map -a $scen-$i.scen -k $k -t $timelimit -s 0 --solver=LNS --initAlgo=EECBS --replanAlgo=PP --neighborSize=8 --initDestoryStrategy=Adaptive --initLNS=0 --maxIterations=0
./lns -m $map -a $scen-$i.scen -k $k -t $timelimit -s 0 --solver=LNS --initAlgo=PP --replanAlgo=PP --neighborSize=8 --initDestoryStrategy=Adaptive
done
done
exit
timelimit=60
name=Paris_1_256
map=../../MAPF-instances/mapf-map/$name.map
scen=../../MAPF-instances/mapf-scen-random/scen-random/$name-random
output=$name-random
for k in $(seq 700 50 700)
do
for i in $(seq 1 1 25)
do
echo $k agents on instance $name-random-$i
./lns -m $map -a $scen-$i.scen -k $k -t $timelimit -s 0 --solver=LNS --initAlgo=PP --replanAlgo=PP --neighborSize=8 --initDestoryStrategy=Adaptive
./lns -m $map -a $scen-$i.scen -k $k -t $timelimit -s 0 --solver=LNS --initAlgo=PP --replanAlgo=PP --neighborSize=8 --initDestoryStrategy=Adaptive --initLNS=0 --maxIterations=0
done
done
exit