forked from potassco/pddl-instances
-
Notifications
You must be signed in to change notification settings - Fork 1
/
p10.pddl
141 lines (141 loc) · 3.26 KB
/
p10.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
(define (problem termes-00746-0144-4x4x9-random_towers_4x4_9_1_11)
(:domain termes)
; termes-00746-0144-4x4x9-random_towers_4x4_9_1_11
; Initial state:
; 0 R0D 0 0
; 0 0 0 0
; 0 0 0 0
; 0 0 0 0
; Goal state:
; 0 0 9 0
; 0 0 0 0
; 0 0 0 0
; 0 0 0 0
; Maximal height: 9
(:objects
n0 - numb
n1 - numb
n2 - numb
n3 - numb
n4 - numb
n5 - numb
n6 - numb
n7 - numb
n8 - numb
n9 - numb
pos-0-0 - position
pos-0-1 - position
pos-0-2 - position
pos-0-3 - position
pos-1-0 - position
pos-1-1 - position
pos-1-2 - position
pos-1-3 - position
pos-2-0 - position
pos-2-1 - position
pos-2-2 - position
pos-2-3 - position
pos-3-0 - position
pos-3-1 - position
pos-3-2 - position
pos-3-3 - position
)
(:init
(height pos-0-0 n0)
(height pos-0-1 n0)
(height pos-0-2 n0)
(height pos-0-3 n0)
(height pos-1-0 n0)
(height pos-1-1 n0)
(height pos-1-2 n0)
(height pos-1-3 n0)
(height pos-2-0 n0)
(height pos-2-1 n0)
(height pos-2-2 n0)
(height pos-2-3 n0)
(height pos-3-0 n0)
(height pos-3-1 n0)
(height pos-3-2 n0)
(height pos-3-3 n0)
(at pos-1-0)
(SUCC n1 n0)
(SUCC n2 n1)
(SUCC n3 n2)
(SUCC n4 n3)
(SUCC n5 n4)
(SUCC n6 n5)
(SUCC n7 n6)
(SUCC n8 n7)
(SUCC n9 n8)
(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-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-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-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)
(IS-DEPOT pos-1-0)
)
(:goal
(and
(height pos-0-0 n0)
(height pos-0-1 n0)
(height pos-0-2 n0)
(height pos-0-3 n0)
(height pos-1-0 n0)
(height pos-1-1 n0)
(height pos-1-2 n0)
(height pos-1-3 n0)
(height pos-2-0 n9)
(height pos-2-1 n0)
(height pos-2-2 n0)
(height pos-2-3 n0)
(height pos-3-0 n0)
(height pos-3-1 n0)
(height pos-3-2 n0)
(height pos-3-3 n0)
(not (has-block))
)
)
)