forked from mcapino/adpp-journal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprepare-picoagents-experiment.sh
More file actions
executable file
·38 lines (22 loc) · 991 Bytes
/
Copy pathprepare-picoagents-experiment.sh
File metadata and controls
executable file
·38 lines (22 loc) · 991 Bytes
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
#!/bin/bash
# how many instances will be generated for each data point (i.e. for each number of robots in each instanceset)
N=20
SUFFIX="-Distributed"
# list of environments
ENVS="empty-hall-r22-docks warehouse-r25-docks ubremen-r27-docks "
# run the experiment for each environment
for ENV in $ENVS
do
# cleanup
rm -fr instances/$ENV
mkdir -p instances/$ENV
cp admap-solver/target/admap-1.0-SNAPSHOT-jar-with-dependencies.jar solver.jar # copy the binaries
echo "-------------------------------------------------------"
echo " Generating instances for $ENV instanceset"
echo "-------------------------------------------------------"
# generate N random instances for each number of robots
instanceset-generators/$ENV.sh $N $SUFFIX
done
echo "----------------------------------------------------------"
echo " Done! Instances have been generated to instances/ directory."
echo "-----------------------------------------------------------"