-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRobot.dot
93 lines (45 loc) · 7.57 KB
/
Robot.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
digraph history {
graph [nodesep=1.5, ranksep=1.5];
1 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="repeated (2)\nx_position = 1,y_position = 2,moving_direction = North,\nroute(1) = (1\|-\>1)"];
3 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 2,y_position = 2,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2)"];
22 [shape=doubleoctagon, color="#99BF38", fontsize=12, penwidth=2, label="repeated (3)\nx_position = 1,y_position = 1,moving_direction = North,\nroute = []"];
23 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 3,y_position = 2,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2)"];
42 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="repeated (2)\nx_position = 3,y_position = 1,moving_direction = South,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2)"];
71 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 5,y_position = 2,moving_direction = South,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1)"];
82 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="repeated (4)\nx_position = 5,y_position = 3,moving_direction = North,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2)"];
101 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 5,y_position = 4,moving_direction = North,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3)"];
121 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 5,y_position = 5,moving_direction = North,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4)"];
159 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 3,y_position = 4,moving_direction = North,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5)"];
163 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 2,y_position = 4,moving_direction = West,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4)"];
181 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 3,y_position = 4,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4)"];
215 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 1,y_position = 4,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4),route(12) = (3\|-\>4)"];
220 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 1,y_position = 5,moving_direction = North,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4),route(12) = (3\|-\>4),\nroute(13) = (1\|-\>4)"];
239 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 1,y_position = 4,moving_direction = South,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4),route(12) = (3\|-\>4),\nroute(13) = (1\|-\>4),route(14) = (1\|-\>5)"];
259 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="x_position = 2,y_position = 4,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4),route(12) = (3\|-\>4),\nroute(13) = (1\|-\>4),route(14) = (1\|-\>5),route(15) = (1\|-\>4)"];
290 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="repeated (3)\nx_position = 5,y_position = 3,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4),route(12) = (3\|-\>4),\nroute(13) = (1\|-\>4),route(14) = (1\|-\>5),route(15) = (1\|-\>4),\nroute(16) = (2\|-\>4)"];
315 [shape=box, color="#99BF38", fontsize=12, penwidth=2, label="repeated (3)\nx_position = 1,y_position = 5,moving_direction = East,\nroute(1) = (1\|-\>1),route(2) = (1\|-\>2),route(3) = (2\|-\>2),\nroute(4) = (3\|-\>2),route(5) = (3\|-\>1),route(6) = (5\|-\>2),\nroute(7) = (5\|-\>3),route(8) = (5\|-\>4),route(9) = (5\|-\>5),\nroute(10) = (3\|-\>4),route(11) = (2\|-\>4),route(12) = (3\|-\>4),\nroute(13) = (1\|-\>4),route(14) = (1\|-\>5),route(15) = (1\|-\>4),\nroute(16) = (2\|-\>4),route(17) = (5\|-\>3)"];
root [shape=invtriangle, color="#99BF38", fontsize=12, penwidth=2, label="root"];
root -> 1 [style = dotted, color = black, label="EXECUTE(100)", fontsize=12];
1 -> 22 [color = "#006391", label="resetRobot", fontsize=12];
22 -> 22 [color = "#006391", label="resetRobot", fontsize=12];
22 -> 1 [color = "#006391", label="moveNorth--\>MOVED_SUCCESSFULLY", fontsize=12];
1 -> 3 [color = "#006391", label="moveEast--\>MOVED_SUCCESSFULLY", fontsize=12];
3 -> 23 [color = "#006391", label="moveEast--\>MOVED_SUCCESSFULLY", fontsize=12];
3 -> 23 [color = "#006391", label="teleport(3,2)--\>MOVED_SUCCESSFULLY", fontsize=12];
23 -> 42 [color = "#006391", label="moveSouth--\>MOVED_SUCCESSFULLY", fontsize=12];
42 -> 71 [color = "#006391", label="teleport(5,2)--\>MOVED_SUCCESSFULLY", fontsize=12];
71 -> 82 [color = "#006391", label="moveNorth--\>MOVED_SUCCESSFULLY", fontsize=12];
82 -> 101 [color = "#006391", label="moveNorth--\>MOVED_SUCCESSFULLY", fontsize=12];
82 -> 101 [color = "#006391", label="teleport(5,4)--\>MOVED_SUCCESSFULLY", fontsize=12];
101 -> 121 [color = "#006391", label="moveNorth--\>MOVED_SUCCESSFULLY", fontsize=12];
121 -> 159 [color = "#006391", label="teleport(3,4)--\>MOVED_SUCCESSFULLY", fontsize=12];
159 -> 163 [color = "#006391", label="moveWest--\>MOVED_SUCCESSFULLY", fontsize=12];
163 -> 181 [color = "#006391", label="moveEast--\>MOVED_SUCCESSFULLY", fontsize=12];
181 -> 215 [color = "#006391", label="teleport(1,4)--\>MOVED_SUCCESSFULLY", fontsize=12];
215 -> 220 [color = "#006391", label="moveNorth--\>MOVED_SUCCESSFULLY", fontsize=12];
220 -> 239 [color = "#006391", label="moveSouth--\>MOVED_SUCCESSFULLY", fontsize=12];
239 -> 259 [color = "#006391", label="moveEast--\>MOVED_SUCCESSFULLY", fontsize=12];
259 -> 290 [color = "#006391", label="teleport(5,3)--\>MOVED_SUCCESSFULLY", fontsize=12];
290 -> 315 [color = "#006391", label="teleport(1,5)--\>MOVED_SUCCESSFULLY", fontsize=12];
315 -> 22 [color = "#006391", label="resetRobot", fontsize=12];
}