-
Notifications
You must be signed in to change notification settings - Fork 1
/
Session_History_Graph.dot
302 lines (302 loc) · 9.94 KB
/
Session_History_Graph.dot
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
digraph "history" {
graph [
fontsize = "14"
fontname = "Times-Roman"
fontcolor = "black"
nodesep = "1.5"
ranksep = "1.5"
]
node [
fontsize = "14"
fontname = "Times-Roman"
fontcolor = "black"
shape = "ellipse"
style = "solid"
]
edge [
fontsize = "14"
fontname = "Times-Roman"
fontcolor = "black"
style = "solid"
]
"0" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "x_axis_range = \{1,2,3,4,5,6,7\},y_axis_range = \{1,2,3,4,5\},maze = \{(1\|-\>1),(1\|-\>2),(1\|-\>3),(1\|-\>4),(1\|-\>5),(2\|-\>1),(2\|-\>2),(2\|-\>3),(2\|-\>4),(2\|-\>5),(3\|-\>1),(3\|-\>2),(3\|-\>3),(3\|-\>4),(3\|-\>5),(4\|-\>1),(4\|-\>2),(4\|-\>3),(4\|-\>4),(4\|-\>5),(5\|-\>1),(5\|-\>2),(5\|-\>3),(5\|-\>4),(5\|-\>5),(6\|-\>1),(6\|-\>2),(6\|-\>3),(6\|-\>4),(6\|-\>5),(7\|-\>1),(7\|-\>2),(7\|-\>3),(7\|-\>4),(7\|-\>5)\},\ninternal_walls = \{(1\|-\>3),(2\|-\>1),(2\|-\>3),(2\|-\>5),(3\|-\>3),(4\|-\>2),(4\|-\>3),(4\|-\>4),(6\|-\>1),(6\|-\>2),(6\|-\>4),(7\|-\>4)\},entrance_square(1) = 1,exit_square(1) = 5"
shape = "box"
style = "solid"
color = "#99BF38"
]
"1" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 1,robotYPosition = 1,currentPosition = (1\|-\>1),\nvisitedSquares(1) = (1\|-\>1)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"2" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "repeated (2)\nrobotXPosition = 1,robotYPosition = 2,currentPosition = (1\|-\>2),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"3" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 2,robotYPosition = 2,currentPosition = (2\|-\>2),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"17" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 3,robotYPosition = 2,currentPosition = (3\|-\>2),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"19" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "repeated (2)\nrobotXPosition = 3,robotYPosition = 1,currentPosition = (3\|-\>1),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"22" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "repeated (2)\nrobotXPosition = 4,robotYPosition = 1,currentPosition = (4\|-\>1),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"23" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 5,robotYPosition = 1,currentPosition = (5\|-\>1),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"45" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "repeated (2)\nrobotXPosition = 5,robotYPosition = 5,currentPosition = (5\|-\>5),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"48" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 4,robotYPosition = 5,currentPosition = (4\|-\>5),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5),visitedSquares(9) = (4\|-\>5)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"50" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 3,robotYPosition = 5,currentPosition = (3\|-\>5),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5),visitedSquares(9) = (4\|-\>5),\nvisitedSquares(10) = (3\|-\>5)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"52" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 3,robotYPosition = 4,currentPosition = (3\|-\>4),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5),visitedSquares(9) = (4\|-\>5),\nvisitedSquares(10) = (3\|-\>5),visitedSquares(11) = (3\|-\>4)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"54" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "repeated (3)\nrobotXPosition = 2,robotYPosition = 4,currentPosition = (2\|-\>4),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5),visitedSquares(9) = (4\|-\>5),\nvisitedSquares(10) = (3\|-\>5),visitedSquares(11) = (3\|-\>4),visitedSquares(12) = (2\|-\>4)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"56" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "robotXPosition = 1,robotYPosition = 4,currentPosition = (1\|-\>4),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5),visitedSquares(9) = (4\|-\>5),\nvisitedSquares(10) = (3\|-\>5),visitedSquares(11) = (3\|-\>4),visitedSquares(12) = (2\|-\>4),\nvisitedSquares(13) = (1\|-\>4)"
shape = "box"
style = "solid"
color = "#99BF38"
]
"57" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "repeated (6)\nrobotXPosition = 1,robotYPosition = 5,currentPosition = (1\|-\>5),\nvisitedSquares(1) = (1\|-\>1),visitedSquares(2) = (1\|-\>2),visitedSquares(3) = (2\|-\>2),\nvisitedSquares(4) = (3\|-\>2),visitedSquares(5) = (3\|-\>1),visitedSquares(6) = (4\|-\>1),\nvisitedSquares(7) = (5\|-\>1),visitedSquares(8) = (5\|-\>5),visitedSquares(9) = (4\|-\>5),\nvisitedSquares(10) = (3\|-\>5),visitedSquares(11) = (3\|-\>4),visitedSquares(12) = (2\|-\>4),\nvisitedSquares(13) = (1\|-\>4),visitedSquares(14) = (1\|-\>5)"
shape = "doubleoctagon"
style = "solid"
color = "#99BF38"
]
"root" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
penwidth = "2"
label = "root"
shape = "invtriangle"
style = "solid"
color = "#99BF38"
]
"root" -> "0" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "SETUP_CONSTANTS"
style = "dotted"
color = "black"
]
"0" -> "1" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "INITIALISATION"
style = "solid"
color = "#006391"
]
"1" -> "2" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveNorth--\>Moved_North"
style = "solid"
color = "#006391"
]
"2" -> "3" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveEast--\>Moved_East"
style = "solid"
color = "#006391"
]
"3" -> "17" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveEast--\>Moved_East"
style = "solid"
color = "#006391"
]
"17" -> "19" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveSouth--\>Moved_South"
style = "solid"
color = "#006391"
]
"19" -> "22" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveEast--\>Moved_East"
style = "solid"
color = "#006391"
]
"22" -> "23" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveEast--\>Moved_East"
style = "solid"
color = "#006391"
]
"23" -> "45" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "Teleport(5,5)--\>Teleported"
style = "solid"
color = "#006391"
]
"45" -> "48" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveWest--\>Moved_West"
style = "solid"
color = "#006391"
]
"48" -> "50" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveWest--\>Moved_West"
style = "solid"
color = "#006391"
]
"50" -> "52" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveSouth--\>Moved_South"
style = "solid"
color = "#006391"
]
"52" -> "54" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveWest--\>Moved_West"
style = "solid"
color = "#006391"
]
"54" -> "56" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveWest--\>Moved_West"
style = "solid"
color = "#006391"
]
"56" -> "57" [
fontsize = "12"
fontname = "Times-Roman"
fontcolor = "black"
label = "MoveNorth--\>Moved_North"
style = "solid"
color = "#006391"
]
}