summaryrefslogtreecommitdiff
path: root/chapter05/docs/05-graph3.svg
blob: 5b6f0c86abb59ec8c39f956dbe73bf89decd4875 (plain)
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.43.0 (0)
 -->
<!-- Title: chapter05 Pages: 1 -->
<svg width="298pt" height="492pt"
 viewBox="0.00 0.00 298.00 492.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 488)">
<title>chapter05</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-488 294,-488 294,4 -4,4"/>
<g id="clust1" class="cluster">
<title>cluster_Nodes</title>
<polygon fill="none" stroke="black" points="8,-8 8,-476 282,-476 282,-8 8,-8"/>
</g>
<!-- Start2 -->
<g id="node1" class="node">
<title>Start2</title>
<polygon fill="yellow" stroke="transparent" points="97,-439 97,-464 178,-464 178,-439 97,-439"/>
<polygon fill="none" stroke="black" points="97,-439 97,-464 178,-464 178,-439 97,-439"/>
<text text-anchor="start" x="119" y="-447.8" font-family="Times,serif" font-size="14.00">Start</text>
<polygon fill="none" stroke="black" points="97,-408 97,-439 178,-439 178,-408 97,-408"/>
<polygon fill="yellow" stroke="transparent" points="102,-413 102,-434 142,-434 142,-413 102,-413"/>
<polygon fill="none" stroke="black" points="102,-413 102,-434 142,-434 142,-413 102,-413"/>
<text text-anchor="start" x="105" y="-419.8" font-family="Times,serif" font-size="14.00">$ctrl</text>
<polygon fill="none" stroke="black" points="142,-413 142,-434 173,-434 173,-413 142,-413"/>
<text text-anchor="start" x="145" y="-419.8" font-family="Times,serif" font-size="14.00">arg</text>
</g>
<!-- Stop3 -->
<g id="node2" class="node">
<title>Stop3</title>
<polygon fill="yellow" stroke="black" points="157,-52 103,-52 103,-16 157,-16 157,-52"/>
<text text-anchor="middle" x="130" y="-30.3" font-family="Times,serif" font-size="14.00">Stop</text>
</g>
<!-- Return19 -->
<g id="node12" class="node">
<title>Return19</title>
<polygon fill="yellow" stroke="black" points="163,-124 97,-124 97,-88 163,-88 163,-124"/>
<text text-anchor="middle" x="130" y="-102.3" font-family="Times,serif" font-size="14.00">Return</text>
</g>
<!-- Stop3&#45;&gt;Return19 -->
<g id="edge1" class="edge">
<title>Stop3&#45;&gt;Return19</title>
<path fill="none" stroke="red" d="M130,-52.3C130,-60.02 130,-69.29 130,-77.89"/>
<polygon fill="red" stroke="red" points="126.5,-77.9 130,-87.9 133.5,-77.9 126.5,-77.9"/>
<text text-anchor="middle" x="127" y="-54.9" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- Con_7 -->
<g id="node3" class="node">
<title>Con_7</title>
<ellipse fill="none" stroke="black" cx="43" cy="-436" rx="27" ry="18"/>
<text text-anchor="middle" x="43" y="-432.3" font-family="Times,serif" font-size="14.00">#1</text>
</g>
<!-- EQNode8 -->
<g id="node4" class="node">
<title>EQNode8</title>
<ellipse fill="none" stroke="black" cx="63" cy="-350" rx="27" ry="18"/>
<text text-anchor="middle" x="63" y="-346.3" font-family="Times,serif" font-size="14.00">==</text>
</g>
<!-- EQNode8&#45;&gt;Start2 -->
<g id="edge2" class="edge">
<title>EQNode8&#45;&gt;Start2:p1</title>
<path fill="none" stroke="black" d="M85.51,-360.31C108.56,-370.43 142.57,-387.19 154.05,-402.35"/>
<polygon fill="black" stroke="black" points="150.97,-404.07 158,-412 157.45,-401.42 150.97,-404.07"/>
<text text-anchor="middle" x="88.51" y="-362.91" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- EQNode8&#45;&gt;Con_7 -->
<g id="edge3" class="edge">
<title>EQNode8&#45;&gt;Con_7</title>
<path fill="none" stroke="black" d="M58.95,-368C56.21,-379.5 52.54,-394.93 49.41,-408.08"/>
<polygon fill="black" stroke="black" points="45.95,-407.49 47.04,-418.03 52.76,-409.11 45.95,-407.49"/>
<text text-anchor="middle" x="55.95" y="-370.6" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- If9 -->
<g id="node5" class="node">
<title>If9</title>
<polygon fill="yellow" stroke="transparent" points="24,-267 24,-292 118,-292 118,-267 24,-267"/>
<polygon fill="none" stroke="black" points="24,-267 24,-292 118,-292 118,-267 24,-267"/>
<text text-anchor="start" x="65.5" y="-275.8" font-family="Times,serif" font-size="14.00">If</text>
<polygon fill="none" stroke="black" points="24,-236 24,-267 118,-267 118,-236 24,-236"/>
<polygon fill="yellow" stroke="transparent" points="29,-241 29,-262 69,-262 69,-241 29,-241"/>
<polygon fill="none" stroke="black" points="29,-241 29,-262 69,-262 69,-241 29,-241"/>
<text text-anchor="start" x="32" y="-247.8" font-family="Times,serif" font-size="14.00">True</text>
<polygon fill="yellow" stroke="transparent" points="69,-241 69,-262 113,-262 113,-241 69,-241"/>
<polygon fill="none" stroke="black" points="69,-241 69,-262 113,-262 113,-241 69,-241"/>
<text text-anchor="start" x="72" y="-247.8" font-family="Times,serif" font-size="14.00">False</text>
</g>
<!-- If9&#45;&gt;Start2 -->
<g id="edge4" class="edge">
<title>If9&#45;&gt;Start2:p0</title>
<path fill="none" stroke="red" d="M42.97,-296.24C27.91,-316.97 14.73,-344.58 27,-368 40.05,-392.9 56.78,-386.79 79,-404 85.54,-409.07 87.43,-415.44 91.34,-419.37"/>
<polygon fill="red" stroke="red" points="90.41,-422.76 101,-423 92.87,-416.2 90.41,-422.76"/>
<text text-anchor="middle" x="39.97" y="-298.84" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- If9&#45;&gt;EQNode8 -->
<g id="edge5" class="edge">
<title>If9&#45;&gt;EQNode8</title>
<path fill="none" stroke="black" d="M68.02,-296.28C67.23,-304.58 66.38,-313.48 65.61,-321.56"/>
<polygon fill="black" stroke="black" points="62.12,-321.31 64.66,-331.6 69.09,-321.97 62.12,-321.31"/>
<text text-anchor="middle" x="65.02" y="-298.88" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Con_13 -->
<g id="node6" class="node">
<title>Con_13</title>
<ellipse fill="none" stroke="black" cx="247" cy="-350" rx="27" ry="18"/>
<text text-anchor="middle" x="247" y="-346.3" font-family="Times,serif" font-size="14.00">#2</text>
</g>
<!-- Add14 -->
<g id="node7" class="node">
<title>Add14</title>
<ellipse fill="none" stroke="black" cx="243" cy="-264" rx="27" ry="18"/>
<text text-anchor="middle" x="243" y="-260.3" font-family="Times,serif" font-size="14.00">+</text>
</g>
<!-- Add14&#45;&gt;Start2 -->
<g id="edge6" class="edge">
<title>Add14&#45;&gt;Start2:p1</title>
<path fill="none" stroke="black" d="M235.08,-281.55C223.08,-306.49 200.67,-352.43 191,-368 180.22,-385.36 164.4,-387.36 159.5,-401.83"/>
<polygon fill="black" stroke="black" points="156,-401.6 158,-412 162.92,-402.62 156,-401.6"/>
<text text-anchor="middle" x="232.08" y="-284.15" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Add14&#45;&gt;Con_13 -->
<g id="edge7" class="edge">
<title>Add14&#45;&gt;Con_13</title>
<path fill="none" stroke="black" d="M243.81,-282C244.35,-293.31 245.07,-308.42 245.69,-321.43"/>
<polygon fill="black" stroke="black" points="242.21,-321.92 246.18,-331.74 249.2,-321.58 242.21,-321.92"/>
<text text-anchor="middle" x="240.81" y="-284.6" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Con_15 -->
<g id="node8" class="node">
<title>Con_15</title>
<ellipse fill="none" stroke="black" cx="155" cy="-350" rx="27" ry="18"/>
<text text-anchor="middle" x="155" y="-346.3" font-family="Times,serif" font-size="14.00">#3</text>
</g>
<!-- Sub16 -->
<g id="node9" class="node">
<title>Sub16</title>
<ellipse fill="none" stroke="black" cx="171" cy="-264" rx="27" ry="18"/>
<text text-anchor="middle" x="171" y="-260.3" font-family="Times,serif" font-size="14.00">&#45;</text>
</g>
<!-- Sub16&#45;&gt;Start2 -->
<g id="edge8" class="edge">
<title>Sub16&#45;&gt;Start2:p1</title>
<path fill="none" stroke="black" d="M155.57,-278.95C143,-291.44 126.2,-310.97 119,-332 113.82,-347.14 113.32,-353.04 119,-368 126.82,-388.61 149.21,-387.16 156.01,-401.9"/>
<polygon fill="black" stroke="black" points="152.64,-402.86 158,-412 159.5,-401.51 152.64,-402.86"/>
<text text-anchor="middle" x="152.57" y="-281.55" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Sub16&#45;&gt;Con_15 -->
<g id="edge9" class="edge">
<title>Sub16&#45;&gt;Con_15</title>
<path fill="none" stroke="black" d="M167.76,-282C165.57,-293.5 162.63,-308.93 160.13,-322.08"/>
<polygon fill="black" stroke="black" points="156.67,-321.55 158.23,-332.03 163.54,-322.86 156.67,-321.55"/>
<text text-anchor="middle" x="164.76" y="-284.6" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Region17 -->
<g id="node10" class="node">
<title>Region17</title>
<polygon fill="yellow" stroke="black" points="124,-196 58,-196 58,-160 124,-160 124,-196"/>
<text text-anchor="middle" x="91" y="-174.3" font-family="Times,serif" font-size="14.00">Region</text>
</g>
<!-- Region17&#45;&gt;If9 -->
<g id="edge10" class="edge">
<title>Region17&#45;&gt;If9:p0</title>
<path fill="none" stroke="red" d="M70.98,-196.12C62.36,-205.06 53.52,-216.84 50.29,-229.84"/>
<polygon fill="red" stroke="red" points="46.78,-229.64 49,-240 53.73,-230.52 46.78,-229.64"/>
<text text-anchor="middle" x="67.98" y="-198.72" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Region17&#45;&gt;If9 -->
<g id="edge11" class="edge">
<title>Region17&#45;&gt;If9:p1</title>
<path fill="none" stroke="red" d="M91,-196.09C91,-205.55 91,-217.77 91,-229.69"/>
<polygon fill="red" stroke="red" points="87.5,-230 91,-240 94.5,-230 87.5,-230"/>
<text text-anchor="middle" x="88" y="-198.69" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Phi_a18 -->
<g id="node11" class="node">
<title>Phi_a18</title>
<ellipse fill="lightyellow" stroke="black" cx="170" cy="-178" rx="27" ry="18"/>
<text text-anchor="middle" x="170" y="-174.3" font-family="Times,serif" font-size="14.00">φ_a</text>
</g>
<!-- Region17&#45;&gt;Phi_a18 -->
<!-- Phi_a18&#45;&gt;Add14 -->
<g id="edge13" class="edge">
<title>Phi_a18&#45;&gt;Add14</title>
<path fill="none" stroke="black" d="M183.05,-194.02C194.26,-206.92 210.59,-225.71 223.38,-240.42"/>
<polygon fill="black" stroke="black" points="220.86,-242.86 230.06,-248.11 226.14,-238.27 220.86,-242.86"/>
<text text-anchor="middle" x="180.05" y="-196.62" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Phi_a18&#45;&gt;Sub16 -->
<g id="edge14" class="edge">
<title>Phi_a18&#45;&gt;Sub16</title>
<path fill="none" stroke="black" d="M170.21,-196.4C170.34,-207.74 170.52,-222.77 170.67,-235.68"/>
<polygon fill="black" stroke="black" points="167.18,-235.95 170.8,-245.9 174.18,-235.86 167.18,-235.95"/>
<text text-anchor="middle" x="167.21" y="-199" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Return19&#45;&gt;Region17 -->
<g id="edge15" class="edge">
<title>Return19&#45;&gt;Region17</title>
<path fill="none" stroke="red" d="M120.36,-124.3C115.87,-132.36 110.44,-142.11 105.48,-151.02"/>
<polygon fill="red" stroke="red" points="102.34,-149.46 100.53,-159.9 108.45,-152.86 102.34,-149.46"/>
<text text-anchor="middle" x="117.36" y="-126.9" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- Return19&#45;&gt;Phi_a18 -->
<g id="edge16" class="edge">
<title>Return19&#45;&gt;Phi_a18</title>
<path fill="none" stroke="black" d="M139.89,-124.3C144.68,-132.68 150.52,-142.9 155.77,-152.1"/>
<polygon fill="black" stroke="black" points="152.77,-153.91 160.77,-160.86 158.85,-150.44 152.77,-153.91"/>
<text text-anchor="middle" x="136.89" y="-126.9" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
</g>
</svg>