-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix alternative HDDL plan formats. (#12)
* Fix alternative HDDL plan formats. HDDL permits tasks to be entered in three different variant syntaxes. Previously, only the one emitted by PANDA was tested. Now the s-expression and comma-separated notations are also working. * Fix tests for CCL.
- Loading branch information
Showing
6 changed files
with
139 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
==> | ||
0 drive truck-0, city-loc-2, city-loc-1 | ||
1 pick-up truck-0, city-loc-1, package-0, capacity-0, capacity-1 | ||
2 drive truck-0, city-loc-1, city-loc-0 | ||
3 drop truck-0, city-loc-0, package-0, capacity-0, capacity-1 | ||
4 drive truck-0, city-loc-0, city-loc-1 | ||
5 pick-up truck-0, city-loc-1, package-1, capacity-0, capacity-1 | ||
6 drive truck-0, city-loc-1, city-loc-2 | ||
7 drop truck-0, city-loc-2, package-1, capacity-0, capacity-1 | ||
root 15 14 | ||
8 load truck-0, city-loc-1, package-0 -> m-load 1 | ||
9 unload truck-0, city-loc-0, package-0 -> m-unload 3 | ||
10 get-to truck-0, city-loc-1, -> m-drive-to 0 | ||
11 unload truck-0, city-loc-2, package-1 -> m-unload 7 | ||
12 get-to truck-0, city-loc-0 -> m-drive-to 2 | ||
13 load truck-0, city-loc-1, package-1 -> m-load 5 | ||
14 deliver package-0, city-loc-0 -> m-deliver 10 8 12 9 | ||
15 deliver package-1, city-loc-2 -> m-deliver 16 13 17 11 | ||
16 get-to truck-0, city-loc-1 -> m-drive-to 4 | ||
17 get-to truck-0, city-loc-2 -> m-drive-to 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
==> | ||
0 (drive truck-0 city-loc-2 city-loc-1) | ||
1 (pick-up truck-0 city-loc-1 package-0 capacity-0 capacity-1) | ||
2 (drive truck-0 city-loc-1 city-loc-0) | ||
3 (drop truck-0 city-loc-0 package-0 capacity-0 capacity-1) | ||
4 (drive truck-0 city-loc-0 city-loc-1) | ||
5 (pick-up truck-0 city-loc-1 package-1 capacity-0 capacity-1) | ||
6 (drive truck-0 city-loc-1 city-loc-2) | ||
7 (drop truck-0 city-loc-2 package-1 capacity-0 capacity-1) | ||
root 15 14 | ||
8 (load truck-0 city-loc-1 package-0) -> m-load 1 | ||
9 (unload truck-0 city-loc-0 package-0) -> m-unload 3 | ||
10 (get-to truck-0 city-loc-1) -> m-drive-to 0 | ||
11 (unload truck-0 city-loc-2 package-1) -> m-unload 7 | ||
12 (get-to truck-0 city-loc-0) -> m-drive-to 2 | ||
13 (load truck-0 city-loc-1 package-1) -> m-load 5 | ||
14 (deliver package-0 city-loc-0) -> m-deliver 10 8 12 9 | ||
15 (deliver package-1 city-loc-2) -> m-deliver 16 13 17 11 | ||
16 (get-to truck-0 city-loc-1) -> m-drive-to 4 | ||
17 (get-to truck-0 city-loc-2) -> m-drive-to 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"3.1.0" | ||
"3.1.1" |