-
Notifications
You must be signed in to change notification settings - Fork 1
/
task_b2.pddl
99 lines (98 loc) · 3.9 KB
/
task_b2.pddl
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
(define (problem auto_warehouse_easy)
(:domain auto_warehouse)
(:objects
p0 p1 p2 p3 - pallet
robot0 robot1 - agent
H0X10Y19 H0X9Y10 H0X6Y4 H0X10Y10 H3X5Y11 H3X2Y6 H2X10Y5 H3X2Y20 H3X5Y12 - location
)
(:init (= (total-cost) 0)
(at robot0 H0X9Y10) (at robot1 H3X5Y11)
(avail robot0) (avail robot1)
(at p0 H3X5Y12) (at p1 H0X10Y10) (at p2 H0X10Y10) (at p3 H3X2Y20)
(avail p0) (avail p1) (avail p2) (avail p3)
(= (distance H0X10Y19 H0X10Y19) 0)
(= (distance H0X10Y19 H0X9Y10) 7)
(= (distance H0X9Y10 H0X10Y19) 6)
(= (distance H0X10Y19 H0X6Y4) 8)
(= (distance H0X6Y4 H0X10Y19) 6)
(= (distance H0X10Y19 H0X10Y10) 7)
(= (distance H0X10Y10 H0X10Y19) 5)
(= (distance H0X10Y19 H3X5Y11) 6)
(= (distance H3X5Y11 H0X10Y19) 5)
(= (distance H0X10Y19 H3X2Y6) 8)
(= (distance H3X2Y6 H0X10Y19) 6)
(= (distance H0X10Y19 H2X10Y5) 11)
(= (distance H2X10Y5 H0X10Y19) 7)
(= (distance H0X10Y19 H3X2Y20) 6)
(= (distance H3X2Y20 H0X10Y19) 4)
(= (distance H0X10Y19 H3X5Y12) 6)
(= (distance H3X5Y12 H0X10Y19) 6)
(= (distance H0X9Y10 H0X9Y10) 0)
(= (distance H0X9Y10 H0X6Y4) 5)
(= (distance H0X6Y4 H0X9Y10) 4)
(= (distance H0X9Y10 H0X10Y10) 1)
(= (distance H0X10Y10 H0X9Y10) 1)
(= (distance H0X9Y10 H3X5Y11) 4)
(= (distance H3X5Y11 H0X9Y10) 3)
(= (distance H0X9Y10 H3X2Y6) 5)
(= (distance H3X2Y6 H0X9Y10) 4)
(= (distance H0X9Y10 H2X10Y5) 8)
(= (distance H2X10Y5 H0X9Y10) 4)
(= (distance H0X9Y10 H3X2Y20) 6)
(= (distance H3X2Y20 H0X9Y10) 5)
(= (distance H0X9Y10 H3X5Y12) 4)
(= (distance H3X5Y12 H0X9Y10) 3)
(= (distance H0X6Y4 H0X6Y4) 0)
(= (distance H0X6Y4 H0X10Y10) 3)
(= (distance H0X10Y10 H0X6Y4) 5)
(= (distance H0X6Y4 H3X5Y11) 4)
(= (distance H3X5Y11 H0X6Y4) 4)
(= (distance H0X6Y4 H3X2Y6) 4)
(= (distance H3X2Y6 H0X6Y4) 3)
(= (distance H0X6Y4 H2X10Y5) 7)
(= (distance H2X10Y5 H0X6Y4) 4)
(= (distance H0X6Y4 H3X2Y20) 6)
(= (distance H3X2Y20 H0X6Y4) 5)
(= (distance H0X6Y4 H3X5Y12) 4)
(= (distance H3X5Y12 H0X6Y4) 4)
(= (distance H0X10Y10 H0X10Y10) 0)
(= (distance H0X10Y10 H3X5Y11) 4)
(= (distance H3X5Y11 H0X10Y10) 2)
(= (distance H0X10Y10 H3X2Y6) 6)
(= (distance H3X2Y6 H0X10Y10) 4)
(= (distance H0X10Y10 H2X10Y5) 9)
(= (distance H2X10Y5 H0X10Y10) 5)
(= (distance H0X10Y10 H3X2Y20) 5)
(= (distance H3X2Y20 H0X10Y10) 5)
(= (distance H0X10Y10 H3X5Y12) 3)
(= (distance H3X5Y12 H0X10Y10) 3)
(= (distance H3X5Y11 H3X5Y11) 0)
(= (distance H3X5Y11 H3X2Y6) 4)
(= (distance H3X2Y6 H3X5Y11) 6)
(= (distance H3X5Y11 H2X10Y5) 6)
(= (distance H2X10Y5 H3X5Y11) 5)
(= (distance H3X5Y11 H3X2Y20) 5)
(= (distance H3X2Y20 H3X5Y11) 3)
(= (distance H3X5Y11 H3X5Y12) 1)
(= (distance H3X5Y12 H3X5Y11) 1)
(= (distance H3X2Y6 H3X2Y6) 0)
(= (distance H3X2Y6 H2X10Y5) 6)
(= (distance H2X10Y5 H3X2Y6) 5)
(= (distance H3X2Y6 H3X2Y20) 6)
(= (distance H3X2Y20 H3X2Y6) 4)
(= (distance H3X2Y6 H3X5Y12) 5)
(= (distance H3X5Y12 H3X2Y6) 4)
(= (distance H2X10Y5 H2X10Y5) 0)
(= (distance H2X10Y5 H3X2Y20) 7)
(= (distance H3X2Y20 H2X10Y5) 9)
(= (distance H2X10Y5 H3X5Y12) 6)
(= (distance H3X5Y12 H2X10Y5) 7)
(= (distance H3X2Y20 H3X2Y20) 0)
(= (distance H3X2Y20 H3X5Y12) 4)
(= (distance H3X5Y12 H3X2Y20) 6)
(= (distance H3X5Y12 H3X5Y12) 0)
)
(:goal (and (at p0 H3X2Y6) (at p1 H2X10Y5) (at p2 H0X10Y19) (at p3 H0X6Y4) )
)
(:metric minimize (total-cost))
)