forked from potassco/pddl-instances
-
Notifications
You must be signed in to change notification settings - Fork 1
/
p17.pddl
159 lines (159 loc) · 3.81 KB
/
p17.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
(define (problem termes-00444-0080-4x5x4-empire)
(:domain termes)
; termes-00444-0080-4x5x4-empire
; Initial state:
; 0 0 R0D 0
; 0 0 0 0
; 0 0 0 0
; 0 0 0 0
; 0 0 0 0
; Goal state:
; 0 0 0 0
; 3 3 3 3
; 3 4 4 3
; 3 4 4 3
; 3 3 3 3
; Maximal height: 4
(:objects
n0 - numb
n1 - numb
n2 - numb
n3 - numb
n4 - numb
pos-0-0 - position
pos-0-1 - position
pos-0-2 - position
pos-0-3 - position
pos-0-4 - position
pos-1-0 - position
pos-1-1 - position
pos-1-2 - position
pos-1-3 - position
pos-1-4 - position
pos-2-0 - position
pos-2-1 - position
pos-2-2 - position
pos-2-3 - position
pos-2-4 - position
pos-3-0 - position
pos-3-1 - position
pos-3-2 - position
pos-3-3 - position
pos-3-4 - position
)
(:init
(height pos-0-0 n0)
(height pos-0-1 n0)
(height pos-0-2 n0)
(height pos-0-3 n0)
(height pos-0-4 n0)
(height pos-1-0 n0)
(height pos-1-1 n0)
(height pos-1-2 n0)
(height pos-1-3 n0)
(height pos-1-4 n0)
(height pos-2-0 n0)
(height pos-2-1 n0)
(height pos-2-2 n0)
(height pos-2-3 n0)
(height pos-2-4 n0)
(height pos-3-0 n0)
(height pos-3-1 n0)
(height pos-3-2 n0)
(height pos-3-3 n0)
(height pos-3-4 n0)
(at pos-2-0)
(SUCC n1 n0)
(SUCC n2 n1)
(SUCC n3 n2)
(SUCC n4 n3)
(NEIGHBOR pos-0-0 pos-1-0)
(NEIGHBOR pos-0-0 pos-0-1)
(NEIGHBOR pos-0-1 pos-1-1)
(NEIGHBOR pos-0-1 pos-0-0)
(NEIGHBOR pos-0-1 pos-0-2)
(NEIGHBOR pos-0-2 pos-1-2)
(NEIGHBOR pos-0-2 pos-0-1)
(NEIGHBOR pos-0-2 pos-0-3)
(NEIGHBOR pos-0-3 pos-1-3)
(NEIGHBOR pos-0-3 pos-0-2)
(NEIGHBOR pos-0-3 pos-0-4)
(NEIGHBOR pos-0-4 pos-1-4)
(NEIGHBOR pos-0-4 pos-0-3)
(NEIGHBOR pos-1-0 pos-0-0)
(NEIGHBOR pos-1-0 pos-2-0)
(NEIGHBOR pos-1-0 pos-1-1)
(NEIGHBOR pos-1-1 pos-0-1)
(NEIGHBOR pos-1-1 pos-2-1)
(NEIGHBOR pos-1-1 pos-1-0)
(NEIGHBOR pos-1-1 pos-1-2)
(NEIGHBOR pos-1-2 pos-0-2)
(NEIGHBOR pos-1-2 pos-2-2)
(NEIGHBOR pos-1-2 pos-1-1)
(NEIGHBOR pos-1-2 pos-1-3)
(NEIGHBOR pos-1-3 pos-0-3)
(NEIGHBOR pos-1-3 pos-2-3)
(NEIGHBOR pos-1-3 pos-1-2)
(NEIGHBOR pos-1-3 pos-1-4)
(NEIGHBOR pos-1-4 pos-0-4)
(NEIGHBOR pos-1-4 pos-2-4)
(NEIGHBOR pos-1-4 pos-1-3)
(NEIGHBOR pos-2-0 pos-1-0)
(NEIGHBOR pos-2-0 pos-3-0)
(NEIGHBOR pos-2-0 pos-2-1)
(NEIGHBOR pos-2-1 pos-1-1)
(NEIGHBOR pos-2-1 pos-3-1)
(NEIGHBOR pos-2-1 pos-2-0)
(NEIGHBOR pos-2-1 pos-2-2)
(NEIGHBOR pos-2-2 pos-1-2)
(NEIGHBOR pos-2-2 pos-3-2)
(NEIGHBOR pos-2-2 pos-2-1)
(NEIGHBOR pos-2-2 pos-2-3)
(NEIGHBOR pos-2-3 pos-1-3)
(NEIGHBOR pos-2-3 pos-3-3)
(NEIGHBOR pos-2-3 pos-2-2)
(NEIGHBOR pos-2-3 pos-2-4)
(NEIGHBOR pos-2-4 pos-1-4)
(NEIGHBOR pos-2-4 pos-3-4)
(NEIGHBOR pos-2-4 pos-2-3)
(NEIGHBOR pos-3-0 pos-2-0)
(NEIGHBOR pos-3-0 pos-3-1)
(NEIGHBOR pos-3-1 pos-2-1)
(NEIGHBOR pos-3-1 pos-3-0)
(NEIGHBOR pos-3-1 pos-3-2)
(NEIGHBOR pos-3-2 pos-2-2)
(NEIGHBOR pos-3-2 pos-3-1)
(NEIGHBOR pos-3-2 pos-3-3)
(NEIGHBOR pos-3-3 pos-2-3)
(NEIGHBOR pos-3-3 pos-3-2)
(NEIGHBOR pos-3-3 pos-3-4)
(NEIGHBOR pos-3-4 pos-2-4)
(NEIGHBOR pos-3-4 pos-3-3)
(IS-DEPOT pos-2-0)
)
(:goal
(and
(height pos-0-0 n0)
(height pos-0-1 n3)
(height pos-0-2 n3)
(height pos-0-3 n3)
(height pos-0-4 n3)
(height pos-1-0 n0)
(height pos-1-1 n3)
(height pos-1-2 n4)
(height pos-1-3 n4)
(height pos-1-4 n3)
(height pos-2-0 n0)
(height pos-2-1 n3)
(height pos-2-2 n4)
(height pos-2-3 n4)
(height pos-2-4 n3)
(height pos-3-0 n0)
(height pos-3-1 n3)
(height pos-3-2 n3)
(height pos-3-3 n3)
(height pos-3-4 n3)
(not (has-block))
)
)
)