-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
31 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
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,50 +1,34 @@ | ||
(define (problem simpleProblem) | ||
(:domain simple-supermarket) | ||
(:objects | ||
x1 x2 x3 x0 - location | ||
x0 x1 x2 x3 - location | ||
a1 - agent | ||
i1 i2 i3 i4 i5 i6 i7 i8 i9 - item | ||
i1 - item | ||
c1 - car | ||
|
||
) | ||
(:init | ||
|
||
(at a1 x0) | ||
|
||
(at c1 x0) | ||
(at i1 x1) | ||
(at i2 x1) | ||
(at i3 x1) | ||
(at i4 x2) | ||
(at i5 x2) | ||
(at i6 x2) | ||
(at i7 x3) | ||
(at i8 x3) | ||
(at i9 x3) | ||
|
||
|
||
(haspath x0 x1) | ||
(haspath x1 x0) | ||
(haspath x0 x2) | ||
(haspath x2 x0) | ||
(haspath x0 x3) | ||
(haspath x3 x0) | ||
(haspath x1 x2) | ||
(haspath x2 x3) | ||
(haspath x2 x1) | ||
(haspath x3 x2) | ||
|
||
(= (numberofcarrings a1) 0) | ||
(= (capacity a1) 3) | ||
|
||
) | ||
|
||
(:goal | ||
(and | ||
(at i1 x0) | ||
(at i2 x0) | ||
(at i3 x0) | ||
(at i4 x0) | ||
(at i5 x0) | ||
(at i6 x0) | ||
(at i7 x0) | ||
(at i8 x0) | ||
(at i9 x0) | ||
|
||
|
||
) | ||
) | ||
|
||
|
||
|
||
|
||
) |