-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun_SYMBA_all
executable file
·35 lines (34 loc) · 1.1 KB
/
run_SYMBA_all
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
#!/bin/bash
#
# This file is part of Planning-Trace-Alignment.
#
# Planning-Trace-Alignment is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Planning-Trace-Alignment is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Planning-Trace-Alignment. If not, see <https://www.gnu.org/licenses/>.
#
#
cd seq-opt-symba-2
date1=$(date +%s%N | cut -b1-13)
searchtime=0
traces=0
for f in Conformance_Checking/domain*.pddl
do
traces=$(($traces+1))
f2="${f/domain/problem}"
./plan $f $f2 out.txt >/dev/null
done
date2=$(date +%s%N | cut -b1-13)
diff=$(($date2-$date1))
#echo $date1
#echo $date2
echo "the duration is: $diff ms. for $traces traces"
#>/dev/null