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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
|
<?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: chapter10 Pages: 1 -->
<svg width="518pt" height="564pt"
viewBox="0.00 0.00 518.00 564.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 560)">
<title>chapter10</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-560 514,-560 514,4 -4,4"/>
<g id="clust1" class="cluster">
<title>cluster_Nodes</title>
<polygon fill="none" stroke="black" points="8,-8 8,-548 502,-548 502,-8 8,-8"/>
</g>
<!-- Start2 -->
<g id="node1" class="node">
<title>Start2</title>
<polygon fill="yellow" stroke="transparent" points="212,-511 212,-536 487,-536 487,-511 212,-511"/>
<polygon fill="none" stroke="black" points="212,-511 212,-536 487,-536 487,-511 212,-511"/>
<text text-anchor="start" x="331" y="-519.8" font-family="Times,serif" font-size="14.00">Start</text>
<polygon fill="none" stroke="black" points="212,-480 212,-511 487,-511 487,-480 212,-480"/>
<polygon fill="yellow" stroke="transparent" points="217,-485 217,-506 257,-506 257,-485 217,-485"/>
<polygon fill="none" stroke="black" points="217,-485 217,-506 257,-506 257,-485 217,-485"/>
<text text-anchor="start" x="220" y="-491.8" font-family="Times,serif" font-size="14.00">$ctrl</text>
<polygon fill="none" stroke="black" points="257,-485 257,-506 288,-506 288,-485 257,-485"/>
<text text-anchor="start" x="260" y="-491.8" font-family="Times,serif" font-size="14.00">arg</text>
<polygon fill="none" stroke="black" points="288,-485 288,-506 385,-506 385,-485 288,-485"/>
<text text-anchor="start" x="291" y="-491.8" font-family="Times,serif" font-size="14.00">$Vector2D_x</text>
<polygon fill="none" stroke="black" points="385,-485 385,-506 482,-506 482,-485 385,-485"/>
<text text-anchor="start" x="388" y="-491.8" font-family="Times,serif" font-size="14.00">$Vector2D_y</text>
</g>
<!-- Stop3 -->
<g id="node2" class="node">
<title>Stop3</title>
<polygon fill="yellow" stroke="black" points="386,-52 332,-52 332,-16 386,-16 386,-52"/>
<text text-anchor="middle" x="359" y="-30.3" font-family="Times,serif" font-size="14.00">Stop</text>
</g>
<!-- Return24 -->
<g id="node16" class="node">
<title>Return24</title>
<polygon fill="yellow" stroke="black" points="392,-124 326,-124 326,-88 392,-88 392,-124"/>
<text text-anchor="middle" x="359" y="-102.3" font-family="Times,serif" font-size="14.00">Return</text>
</g>
<!-- Stop3->Return24 -->
<g id="edge1" class="edge">
<title>Stop3->Return24</title>
<path fill="none" stroke="red" d="M359,-52.3C359,-60.02 359,-69.29 359,-77.89"/>
<polygon fill="red" stroke="red" points="355.5,-77.9 359,-87.9 362.5,-77.9 355.5,-77.9"/>
<text text-anchor="middle" x="356" y="-54.9" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- New8 -->
<g id="node3" class="node">
<title>New8</title>
<ellipse fill="none" stroke="black" cx="247" cy="-408" rx="98.58" ry="18"/>
<text text-anchor="middle" x="247" y="-404.3" font-family="Times,serif" font-size="14.00">New Ptr(Vector2D)</text>
</g>
<!-- New8->Start2 -->
<g id="edge2" class="edge">
<title>New8->Start2:p0</title>
<path fill="none" stroke="green" d="M243.39,-426.19C241,-438.85 238.14,-456.79 237.27,-474"/>
<polygon fill="green" stroke="green" points="233.77,-473.91 237,-484 240.76,-474.1 233.77,-473.91"/>
<text text-anchor="middle" x="240.39" y="-428.79" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- Con_9 -->
<g id="node4" class="node">
<title>Con_9</title>
<ellipse fill="none" stroke="black" cx="103" cy="-408" rx="27" ry="18"/>
<text text-anchor="middle" x="103" y="-404.3" font-family="Times,serif" font-size="14.00">#0</text>
</g>
<!-- Store10 -->
<g id="node5" class="node">
<title>Store10</title>
<ellipse fill="none" stroke="black" cx="124" cy="-322" rx="36.29" ry="18"/>
<text text-anchor="middle" x="124" y="-318.3" font-family="Times,serif" font-size="14.00">Store</text>
</g>
<!-- Store10->Start2 -->
<g id="edge3" class="edge">
<title>Store10->Start2:p2</title>
<path fill="none" stroke="black" d="M102.14,-336.54C89.28,-345.86 74.18,-359.52 67,-376 55.64,-402.08 48.58,-418.32 67,-440 103.77,-483.27 308.02,-430.84 333.41,-474.03"/>
<polygon fill="black" stroke="black" points="330.1,-475.2 336,-484 336.87,-473.44 330.1,-475.2"/>
<text text-anchor="middle" x="99.14" y="-339.14" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Store10->New8 -->
<g id="edge4" class="edge">
<title>Store10->New8</title>
<path fill="none" stroke="black" d="M144.59,-337.06C163.55,-350.01 191.99,-369.44 214.1,-384.53"/>
<polygon fill="black" stroke="black" points="212.3,-387.54 222.53,-390.29 216.25,-381.76 212.3,-387.54"/>
<text text-anchor="middle" x="141.59" y="-339.66" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Store10->Con_9 -->
<g id="edge5" class="edge">
<title>Store10->Con_9</title>
<path fill="none" stroke="black" d="M119.75,-340C116.88,-351.5 113.02,-366.93 109.73,-380.08"/>
<polygon fill="black" stroke="black" points="106.27,-379.48 107.24,-390.03 113.06,-381.17 106.27,-379.48"/>
<text text-anchor="middle" x="116.75" y="-342.6" font-family="Helvetica,sans-Serif" font-size="8.00">3</text>
</g>
<!-- Store11 -->
<g id="node6" class="node">
<title>Store11</title>
<ellipse fill="none" stroke="black" cx="326" cy="-322" rx="36.29" ry="18"/>
<text text-anchor="middle" x="326" y="-318.3" font-family="Times,serif" font-size="14.00">Store</text>
</g>
<!-- Store11->Start2 -->
<g id="edge6" class="edge">
<title>Store11->Start2:p3</title>
<path fill="none" stroke="black" d="M336.29,-339.76C342.27,-349.98 349.67,-363.45 355,-376 366.65,-403.43 357.77,-415.68 375,-440 391.62,-463.46 424.6,-454.4 432.35,-474.07"/>
<polygon fill="black" stroke="black" points="428.9,-474.71 434,-484 435.81,-473.56 428.9,-474.71"/>
<text text-anchor="middle" x="333.29" y="-342.36" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Store11->New8 -->
<g id="edge7" class="edge">
<title>Store11->New8</title>
<path fill="none" stroke="black" d="M311.14,-338.8C299.53,-351.15 283.18,-368.53 269.89,-382.66"/>
<polygon fill="black" stroke="black" points="267.18,-380.44 262.88,-390.12 272.28,-385.23 267.18,-380.44"/>
<text text-anchor="middle" x="308.14" y="-341.4" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Store11->Con_9 -->
<g id="edge8" class="edge">
<title>Store11->Con_9</title>
<path fill="none" stroke="black" d="M294.91,-331.44C243.56,-345.42 145.98,-372.24 139,-376 134.01,-378.69 129.1,-382.17 124.59,-385.82"/>
<polygon fill="black" stroke="black" points="122.22,-383.24 116.98,-392.45 126.82,-388.52 122.22,-383.24"/>
<text text-anchor="middle" x="291.91" y="-334.04" font-family="Helvetica,sans-Serif" font-size="8.00">3</text>
</g>
<!-- Con_12 -->
<g id="node7" class="node">
<title>Con_12</title>
<ellipse fill="none" stroke="black" cx="43" cy="-322" rx="27" ry="18"/>
<text text-anchor="middle" x="43" y="-318.3" font-family="Times,serif" font-size="14.00">#1</text>
</g>
<!-- Store13 -->
<g id="node8" class="node">
<title>Store13</title>
<ellipse fill="none" stroke="black" cx="146" cy="-250" rx="36.29" ry="18"/>
<text text-anchor="middle" x="146" y="-246.3" font-family="Times,serif" font-size="14.00">Store</text>
</g>
<!-- Store13->New8 -->
<g id="edge10" class="edge">
<title>Store13->New8</title>
<path fill="none" stroke="black" d="M153.54,-267.95C163.49,-290.05 180.7,-327.38 189,-340 198.92,-355.08 211.92,-370.41 223.11,-382.59"/>
<polygon fill="black" stroke="black" points="220.75,-385.2 230.14,-390.11 225.86,-380.41 220.75,-385.2"/>
<text text-anchor="middle" x="150.54" y="-270.55" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Store13->Store10 -->
<g id="edge9" class="edge">
<title>Store13->Store10</title>
<path fill="none" stroke="black" d="M140.67,-267.95C138.22,-275.74 135.26,-285.18 132.51,-293.92"/>
<polygon fill="black" stroke="black" points="129.09,-293.14 129.43,-303.72 135.77,-295.23 129.09,-293.14"/>
<text text-anchor="middle" x="137.67" y="-270.55" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Store13->Con_12 -->
<g id="edge11" class="edge">
<title>Store13->Con_12</title>
<path fill="none" stroke="black" d="M125.16,-265.17C109.24,-275.98 87.18,-290.98 69.92,-302.7"/>
<polygon fill="black" stroke="black" points="67.7,-299.98 61.4,-308.5 71.63,-305.77 67.7,-299.98"/>
<text text-anchor="middle" x="122.16" y="-267.77" font-family="Helvetica,sans-Serif" font-size="8.00">3</text>
</g>
<!-- If14 -->
<g id="node9" class="node">
<title>If14</title>
<polygon fill="yellow" stroke="transparent" points="392,-411 392,-436 486,-436 486,-411 392,-411"/>
<polygon fill="none" stroke="black" points="392,-411 392,-436 486,-436 486,-411 392,-411"/>
<text text-anchor="start" x="433.5" y="-419.8" font-family="Times,serif" font-size="14.00">If</text>
<polygon fill="none" stroke="black" points="392,-380 392,-411 486,-411 486,-380 392,-380"/>
<polygon fill="yellow" stroke="transparent" points="397,-385 397,-406 437,-406 437,-385 397,-385"/>
<polygon fill="none" stroke="black" points="397,-385 397,-406 437,-406 437,-385 397,-385"/>
<text text-anchor="start" x="400" y="-391.8" font-family="Times,serif" font-size="14.00">True</text>
<polygon fill="yellow" stroke="transparent" points="437,-385 437,-406 481,-406 481,-385 437,-385"/>
<polygon fill="none" stroke="black" points="437,-385 437,-406 481,-406 481,-385 437,-385"/>
<text text-anchor="start" x="440" y="-391.8" font-family="Times,serif" font-size="14.00">False</text>
</g>
<!-- If14->Start2 -->
<g id="edge12" class="edge">
<title>If14->Start2:p0</title>
<path fill="none" stroke="red" d="M383.85,-434.38C379.19,-436.34 374.53,-438.24 370,-440 315.48,-461.2 246.02,-426.45 237.8,-473.79"/>
<polygon fill="red" stroke="red" points="234.3,-473.76 237,-484 241.27,-474.31 234.3,-473.76"/>
<text text-anchor="middle" x="380.85" y="-427.98" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- If14->Start2 -->
<g id="edge13" class="edge">
<title>If14->Start2:p1</title>
<path fill="none" stroke="black" d="M383.86,-433.77C346.61,-450.49 300.83,-471.05 281.42,-479.77"/>
<polygon fill="black" stroke="black" points="279.69,-476.71 272,-484 282.56,-483.1 279.69,-476.71"/>
<text text-anchor="middle" x="380.86" y="-436.37" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Con_18 -->
<g id="node10" class="node">
<title>Con_18</title>
<ellipse fill="none" stroke="black" cx="225" cy="-322" rx="27" ry="18"/>
<text text-anchor="middle" x="225" y="-318.3" font-family="Times,serif" font-size="14.00">#2</text>
</g>
<!-- Store19 -->
<g id="node11" class="node">
<title>Store19</title>
<ellipse fill="none" stroke="black" cx="281" cy="-250" rx="36.29" ry="18"/>
<text text-anchor="middle" x="281" y="-246.3" font-family="Times,serif" font-size="14.00">Store</text>
</g>
<!-- Store19->New8 -->
<g id="edge15" class="edge">
<title>Store19->New8</title>
<path fill="none" stroke="black" d="M277.3,-267.99C271.45,-294.81 260.03,-347.21 253,-379.46"/>
<polygon fill="black" stroke="black" points="249.51,-379.04 250.8,-389.55 256.35,-380.53 249.51,-379.04"/>
<text text-anchor="middle" x="274.3" y="-270.59" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Store19->Store11 -->
<g id="edge14" class="edge">
<title>Store19->Store11</title>
<path fill="none" stroke="black" d="M291.66,-267.59C297.1,-276.05 303.83,-286.51 309.88,-295.92"/>
<polygon fill="black" stroke="black" points="307.06,-298.01 315.41,-304.53 312.95,-294.23 307.06,-298.01"/>
<text text-anchor="middle" x="288.66" y="-270.19" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Store19->Con_18 -->
<g id="edge16" class="edge">
<title>Store19->Con_18</title>
<path fill="none" stroke="black" d="M268.29,-266.88C261.03,-275.96 251.79,-287.51 243.71,-297.61"/>
<polygon fill="black" stroke="black" points="240.79,-295.66 237.27,-305.66 246.25,-300.04 240.79,-295.66"/>
<text text-anchor="middle" x="265.29" y="-269.48" font-family="Helvetica,sans-Serif" font-size="8.00">3</text>
</g>
<!-- Con_20 -->
<g id="node12" class="node">
<title>Con_20</title>
<ellipse fill="none" stroke="black" cx="427" cy="-322" rx="27" ry="18"/>
<text text-anchor="middle" x="427" y="-318.3" font-family="Times,serif" font-size="14.00">#3</text>
</g>
<!-- Store21 -->
<g id="node13" class="node">
<title>Store21</title>
<ellipse fill="none" stroke="black" cx="381" cy="-250" rx="36.29" ry="18"/>
<text text-anchor="middle" x="381" y="-246.3" font-family="Times,serif" font-size="14.00">Store</text>
</g>
<!-- Store21->New8 -->
<g id="edge18" class="edge">
<title>Store21->New8</title>
<path fill="none" stroke="black" d="M383.48,-267.99C385.36,-287.16 385.53,-318.48 371,-340 355.77,-362.56 330.37,-378.17 306.51,-388.6"/>
<polygon fill="black" stroke="black" points="305.01,-385.43 297.11,-392.49 307.69,-391.9 305.01,-385.43"/>
<text text-anchor="middle" x="380.48" y="-270.59" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Store21->Store11 -->
<g id="edge17" class="edge">
<title>Store21->Store11</title>
<path fill="none" stroke="black" d="M368.24,-267.24C361.3,-276.07 352.58,-287.17 344.87,-296.99"/>
<polygon fill="black" stroke="black" points="342.11,-294.83 338.69,-304.85 347.62,-299.15 342.11,-294.83"/>
<text text-anchor="middle" x="365.24" y="-269.84" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Store21->Con_20 -->
<g id="edge19" class="edge">
<title>Store21->Con_20</title>
<path fill="none" stroke="black" d="M391.67,-267.24C397.44,-276.02 404.68,-287.04 411.1,-296.81"/>
<polygon fill="black" stroke="black" points="408.29,-298.9 416.71,-305.33 414.14,-295.06 408.29,-298.9"/>
<text text-anchor="middle" x="388.67" y="-269.84" font-family="Helvetica,sans-Serif" font-size="8.00">3</text>
</g>
<!-- Region22 -->
<g id="node14" class="node">
<title>Region22</title>
<polygon fill="yellow" stroke="black" points="494,-196 428,-196 428,-160 494,-160 494,-196"/>
<text text-anchor="middle" x="461" y="-174.3" font-family="Times,serif" font-size="14.00">Region</text>
</g>
<!-- Region22->If14 -->
<g id="edge20" class="edge">
<title>Region22->If14:p0</title>
<path fill="none" stroke="red" d="M468.66,-196.11C481.18,-226.8 502.33,-292.46 478,-340 464.62,-366.15 427.64,-354.5 418.88,-373.99"/>
<polygon fill="red" stroke="red" points="415.4,-373.53 417,-384 422.28,-374.82 415.4,-373.53"/>
<text text-anchor="middle" x="465.66" y="-198.71" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Phi_Vector2D_y23 -->
<g id="node15" class="node">
<title>Phi_Vector2D_y23</title>
<ellipse fill="lightyellow" stroke="black" cx="310" cy="-178" rx="79.89" ry="18"/>
<text text-anchor="middle" x="310" y="-174.3" font-family="Times,serif" font-size="14.00">φ_$Vector2D_y</text>
</g>
<!-- Phi_Vector2D_y23->Store19 -->
<g id="edge23" class="edge">
<title>Phi_Vector2D_y23->Store19</title>
<path fill="none" stroke="black" d="M302.98,-195.95C299.63,-204.03 295.55,-213.88 291.82,-222.89"/>
<polygon fill="black" stroke="black" points="288.55,-221.63 287.96,-232.21 295.02,-224.31 288.55,-221.63"/>
<text text-anchor="middle" x="299.98" y="-198.55" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Phi_Vector2D_y23->Store21 -->
<g id="edge24" class="edge">
<title>Phi_Vector2D_y23->Store21</title>
<path fill="none" stroke="black" d="M327.19,-195.95C336.48,-205.1 348.07,-216.53 358.11,-226.43"/>
<polygon fill="black" stroke="black" points="355.85,-229.12 365.42,-233.64 360.76,-224.13 355.85,-229.12"/>
<text text-anchor="middle" x="324.19" y="-198.55" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Phi_Vector2D_y23->Region22 -->
<g id="edge22" class="edge">
<title>Phi_Vector2D_y23->Region22</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M390.22,-178C399.33,-178 408.43,-178 417.54,-178"/>
<polygon fill="black" stroke="black" points="417.82,-181.5 427.82,-178 417.82,-174.5 417.82,-181.5"/>
<text text-anchor="middle" x="393.22" y="-171.6" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- Return24->New8 -->
<g id="edge26" class="edge">
<title>Return24->New8</title>
<path fill="none" stroke="black" d="M373.77,-124.44C381.82,-134.45 391.63,-147.49 399,-160 416.77,-190.17 455.73,-269.74 463,-304 466.32,-319.65 472.49,-327.12 463,-340 453.78,-352.52 373.24,-375.2 313.19,-390.68"/>
<polygon fill="black" stroke="black" points="312.19,-387.32 303.37,-393.19 313.93,-394.1 312.19,-387.32"/>
<text text-anchor="middle" x="370.77" y="-127.04" font-family="Helvetica,sans-Serif" font-size="8.00">1</text>
</g>
<!-- Return24->Store13 -->
<g id="edge27" class="edge">
<title>Return24->Store13</title>
<path fill="none" stroke="black" d="M325.78,-114.7C296.32,-122.65 253.09,-137.15 221,-160 196.73,-177.27 175.54,-204.17 161.93,-223.87"/>
<polygon fill="black" stroke="black" points="158.9,-222.11 156.23,-232.36 164.71,-226.01 158.9,-222.11"/>
<text text-anchor="middle" x="322.78" y="-108.3" font-family="Helvetica,sans-Serif" font-size="8.00">2</text>
</g>
<!-- Return24->Region22 -->
<g id="edge25" class="edge">
<title>Return24->Region22</title>
<path fill="none" stroke="red" d="M383.95,-124.12C397.04,-133.11 413.26,-144.24 427.44,-153.97"/>
<polygon fill="red" stroke="red" points="425.73,-157.04 435.95,-159.81 429.69,-151.27 425.73,-157.04"/>
<text text-anchor="middle" x="380.95" y="-126.72" font-family="Helvetica,sans-Serif" font-size="8.00">0</text>
</g>
<!-- Return24->Phi_Vector2D_y23 -->
<g id="edge28" class="edge">
<title>Return24->Phi_Vector2D_y23</title>
<path fill="none" stroke="black" d="M346.89,-124.3C341.13,-132.53 334.14,-142.52 327.79,-151.58"/>
<polygon fill="black" stroke="black" points="324.84,-149.7 321.97,-159.9 330.58,-153.71 324.84,-149.7"/>
<text text-anchor="middle" x="343.89" y="-126.9" font-family="Helvetica,sans-Serif" font-size="8.00">3</text>
</g>
</g>
</svg>
|