-
Notifications
You must be signed in to change notification settings - Fork 0
/
problem-1.pddl
128 lines (128 loc) · 3.75 KB
/
problem-1.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
(define (problem snake-empty-5x5-1-5-10-11170)
(:domain snake)
(:objects
pos0-0 pos0-1 pos0-2 pos0-3 pos0-4 pos1-0 pos1-1 pos1-2 pos1-3 pos1-4 pos2-0 pos2-1 pos2-2 pos2-3 pos2-4 pos3-0 pos3-1 pos3-2 pos3-3 pos3-4 pos4-0 pos4-1 pos4-2 pos4-3 pos4-4
)
(:init
(ISADJACENT pos0-0 pos1-0)
(ISADJACENT pos0-0 pos0-1)
(ISADJACENT pos0-1 pos1-1)
(ISADJACENT pos0-1 pos0-2)
(ISADJACENT pos0-1 pos0-0)
(ISADJACENT pos0-2 pos1-2)
(ISADJACENT pos0-2 pos0-3)
(ISADJACENT pos0-2 pos0-1)
(ISADJACENT pos0-3 pos1-3)
(ISADJACENT pos0-3 pos0-4)
(ISADJACENT pos0-3 pos0-2)
(ISADJACENT pos0-4 pos1-4)
(ISADJACENT pos0-4 pos0-3)
(ISADJACENT pos1-0 pos2-0)
(ISADJACENT pos1-0 pos1-1)
(ISADJACENT pos1-0 pos0-0)
(ISADJACENT pos1-1 pos2-1)
(ISADJACENT pos1-1 pos1-2)
(ISADJACENT pos1-1 pos0-1)
(ISADJACENT pos1-1 pos1-0)
(ISADJACENT pos1-2 pos2-2)
(ISADJACENT pos1-2 pos1-3)
(ISADJACENT pos1-2 pos0-2)
(ISADJACENT pos1-2 pos1-1)
(ISADJACENT pos1-3 pos2-3)
(ISADJACENT pos1-3 pos1-4)
(ISADJACENT pos1-3 pos0-3)
(ISADJACENT pos1-3 pos1-2)
(ISADJACENT pos1-4 pos2-4)
(ISADJACENT pos1-4 pos0-4)
(ISADJACENT pos1-4 pos1-3)
(ISADJACENT pos2-0 pos3-0)
(ISADJACENT pos2-0 pos2-1)
(ISADJACENT pos2-0 pos1-0)
(ISADJACENT pos2-1 pos3-1)
(ISADJACENT pos2-1 pos2-2)
(ISADJACENT pos2-1 pos1-1)
(ISADJACENT pos2-1 pos2-0)
(ISADJACENT pos2-2 pos3-2)
(ISADJACENT pos2-2 pos2-3)
(ISADJACENT pos2-2 pos1-2)
(ISADJACENT pos2-2 pos2-1)
(ISADJACENT pos2-3 pos3-3)
(ISADJACENT pos2-3 pos2-4)
(ISADJACENT pos2-3 pos1-3)
(ISADJACENT pos2-3 pos2-2)
(ISADJACENT pos2-4 pos3-4)
(ISADJACENT pos2-4 pos1-4)
(ISADJACENT pos2-4 pos2-3)
(ISADJACENT pos3-0 pos4-0)
(ISADJACENT pos3-0 pos3-1)
(ISADJACENT pos3-0 pos2-0)
(ISADJACENT pos3-1 pos4-1)
(ISADJACENT pos3-1 pos3-2)
(ISADJACENT pos3-1 pos2-1)
(ISADJACENT pos3-1 pos3-0)
(ISADJACENT pos3-2 pos4-2)
(ISADJACENT pos3-2 pos3-3)
(ISADJACENT pos3-2 pos2-2)
(ISADJACENT pos3-2 pos3-1)
(ISADJACENT pos3-3 pos4-3)
(ISADJACENT pos3-3 pos3-4)
(ISADJACENT pos3-3 pos2-3)
(ISADJACENT pos3-3 pos3-2)
(ISADJACENT pos3-4 pos4-4)
(ISADJACENT pos3-4 pos2-4)
(ISADJACENT pos3-4 pos3-3)
(ISADJACENT pos4-0 pos4-1)
(ISADJACENT pos4-0 pos3-0)
(ISADJACENT pos4-1 pos4-2)
(ISADJACENT pos4-1 pos3-1)
(ISADJACENT pos4-1 pos4-0)
(ISADJACENT pos4-2 pos4-3)
(ISADJACENT pos4-2 pos3-2)
(ISADJACENT pos4-2 pos4-1)
(ISADJACENT pos4-3 pos4-4)
(ISADJACENT pos4-3 pos3-3)
(ISADJACENT pos4-3 pos4-2)
(ISADJACENT pos4-4 pos3-4)
(ISADJACENT pos4-4 pos4-3)
(tailsnake pos3-0)
(headsnake pos4-0)
(nextsnake pos4-0 pos3-0)
(blocked pos3-0)
(blocked pos4-0)
(spawn pos2-0)
(NEXTSPAWN pos1-0 dummypoint)
(NEXTSPAWN pos2-0 pos1-4)
(NEXTSPAWN pos1-4 pos1-1)
(NEXTSPAWN pos1-1 pos0-1)
(NEXTSPAWN pos0-1 pos3-3)
(NEXTSPAWN pos3-3 pos4-2)
(NEXTSPAWN pos4-2 pos3-4)
(NEXTSPAWN pos3-4 pos0-0)
(NEXTSPAWN pos0-0 pos1-2)
(NEXTSPAWN pos1-2 pos1-0)
(ispoint pos0-4)
(ispoint pos3-1)
(ispoint pos1-3)
(ispoint pos2-4)
(ispoint pos4-1)
)
(:goal
(and
(not (ispoint pos0-4))
(not (ispoint pos3-1))
(not (ispoint pos1-3))
(not (ispoint pos2-4))
(not (ispoint pos4-1))
(not (ispoint pos2-0))
(not (ispoint pos1-4))
(not (ispoint pos1-1))
(not (ispoint pos0-1))
(not (ispoint pos3-3))
(not (ispoint pos4-2))
(not (ispoint pos3-4))
(not (ispoint pos0-0))
(not (ispoint pos1-2))
(not (ispoint pos1-0))
)
)
)