Fixed a minor bug.
[GoMoku3D.git] / ai_diagram / 128186.diagram
blobd519db8c4d6e6efedecabc46a312306653b6396f
1 format 49
3 activitycanvas 128058 activity_ref 128186 // defense
4   show_infonote default drawing_language default
5   xyzwh 72 16 1950 737 731
6   params
7     parametercanvas 128314 parameter_ref 128314 // level
8         xyzwh 789 555 1951 39 25
9     end
10     parametercanvas 129338 parameter_ref 128442 // defense
11         xyzwh 393 734 1951 55 25
12     end
13   end
14 end
15 activitynodecanvas 128186 activitynode_ref 129978 // initial
16   xyz 93 66 2005
17 expansionregioncanvas 128442 expansionregion_ref 128186 // 
18   color yellow
19   xyzwh 154 37 1955 621 352
20   nodes
21     expansionnodecanvas 128570 expansionnode_ref 128314 // GameMatrix::_lastRound
22         xyzwh 138 69 1956 33 11 label_xy 105 83
23     end
24     expansionnodecanvas 131642 expansionnode_ref 128442 // contromosse
25         xyzwh 675 383 1956 33 11 label_xy 709 396
26     end
27   end
28 end
29 activitynodecanvas 128826 activitynode_ref 130106 // decision
30   xyz 259 56 2010
31 activitynodecanvas 129082 activitynode_ref 130234 // flow_final
32   xyz 592 66 2010
33 activityactioncanvas 129466 activityaction_ref 130106 // activity action cerca le sequenze di _d1 - 1 pedine avversarie create dall'inserimento di _lastRound[i]
34   show_infonote default drawing_language default
35   show_opaque_action_definition default
36   xyzwh 170 123 2010 201 61
37 end
38 activityactioncanvas 129722 activityaction_ref 130234 // activity action calcola contromossa
39   show_infonote default drawing_language default
40   show_opaque_action_definition default
41   xyzwh 225 307 1995 89 47
42   pins
43     pincanvas 131002 pin_ref 129082 // contromossa
44       xyzwh 261 353 1997 11 11 label_xy 180 356
45     end
46   end
47 end
48 activitynodecanvas 130362 activitynode_ref 130490 // decision
49   xyz 257 221 2010
50 activityactioncanvas 131386 activityaction_ref 130362 // activity action cerca le sequenze di _d1 - 2 pedine avversarie create dall'inserimento di _lastRound[i]
51   show_infonote default drawing_language default
52   show_opaque_action_definition default
53   xyzwh 394 123 2000 195 67
54 end
55 activityactioncanvas 131770 activityaction_ref 130490 // activity action calcola contromosse possibili
56   show_infonote default drawing_language default
57   show_opaque_action_definition default
58   xyzwh 652 252 2000 103 61
59   pins
60     pincanvas 133050 pin_ref 129210 // contromosse
61       xyzwh 686 312 2002 11 11 label_xy 610 314
62     end
63   end
64 end
65 activitynodecanvas 131898 activitynode_ref 130618 // decision
66   xyz 690 135 2000
67 activitynodecanvas 133690 activitynode_ref 131002 // merge
68   xyz 407 633 2000
69 activitynodecanvas 134074 activitynode_ref 131130 // decision
70   xyz 678 548 2000
71 activityactioncanvas 134202 activityaction_ref 130618 // activity action defense = contromossa
72   show_infonote default drawing_language default
73   show_opaque_action_definition default
74   xyzwh 192 536 2000 151 41
75 end
76 activityactioncanvas 134714 activityaction_ref 130746 // activity action defense = Point()
77   show_infonote default drawing_language default
78   show_opaque_action_definition default
79   xyzwh 360 565 2000 117 41
80 end
81 activityactioncanvas 135354 activityaction_ref 130874 // activity action defense = contromosse[qrand() % contromosse.size()]
82   show_infonote default drawing_language default
83   show_opaque_action_definition default
84   xyzwh 583 627 2000 215 51
85 end
86 activitynodecanvas 135738 activitynode_ref 131258 // decision
87   xyz 678 415 2000
88 activitynodecanvas 135994 activitynode_ref 131386 // merge
89   xyz 405 485 2000
90 note 137530 "esiste almeno una sequenza di _d1 - 2 pedine avversarie"
91   xyzwh 520 199 2000 117 79
92 note 137786 "esiste almeno una sequenza di _d1 - 1 pedine avversarie"
93   xyzwh 356 266 2000 117 79
94 flowcanvas 128698 flow_ref 134458 // <flow>
95   
96   from ref 128186 z 2004 to ref 128570
97   show_infonote default drawing_language default write_horizontally default
98 end
99 flowcanvas 128954 flow_ref 134586 // <flow>
100   
101   from ref 128570 z 2006 to ref 128826
102   show_infonote default drawing_language default write_horizontally default
104 flowcanvas 129210 flow_ref 134714 // <flow>
105   
106   from ref 128826 z 2009 label "[_mat->elementAt(_lastRound[i]) == _ai->playerId()]" xyz 290 57 2009 to ref 129082
107   show_infonote default drawing_language default write_horizontally default
109 flowcanvas 129594 flow_ref 134842 // <flow>
110   
111   from ref 128826 z 2009 label "[else]" xyz 276 90 2009 to ref 129466
112   show_infonote default drawing_language default write_horizontally default
114 flowcanvas 130490 flow_ref 135226 // <flow>
115   
116   from ref 129466 z 2009 to ref 130362
117   show_infonote default drawing_language default write_horizontally default
119 flowcanvas 130618 flow_ref 135354 // <flow>
120   
121   from ref 130362 z 2009 label "[true]" xyz 276 273 2009 to ref 129722
122   show_infonote default drawing_language default write_horizontally default
124 flowcanvas 131514 flow_ref 135738 // <flow>
125   decenter_end 348
126   
127   from ref 130362 z 1999 label "[false]" xyz 353 220 1999 to point 459 237
128   line 132538 z 1999 to ref 131386
129   show_infonote default drawing_language default write_horizontally default
131 flowcanvas 132026 flow_ref 135866 // <flow>
132   decenter_begin 454
133   
134   from ref 131386 z 1999 to ref 131898
135   show_infonote default drawing_language default write_horizontally default
137 flowcanvas 132154 flow_ref 135994 // <flow>
138   
139   from ref 131898 z 1999 label "[true]" xyz 709 197 1999 to ref 131770
140   show_infonote default drawing_language default write_horizontally default
142 flowcanvas 133434 flow_ref 136378 // <flow>
143   
144   from ref 133050 z 1965 to ref 131642
145   show_infonote default drawing_language default write_horizontally default
147 flowcanvas 133818 flow_ref 136634 // <flow>
148   
149   from ref 133690 z 1960 to ref 129338
150   show_infonote default drawing_language default write_horizontally default
152 flowcanvas 134330 flow_ref 136890 // <flow>
153   
154   from ref 131002 z 1996 to ref 134202
155   show_infonote default drawing_language default write_horizontally default
157 flowcanvas 134458 flow_ref 137018 // <flow>
158   
159   from ref 134202 z 1999 to point 265 649
160   line 135226 z 1999 to ref 133690
161   show_infonote default drawing_language default write_horizontally default
163 flowcanvas 134970 flow_ref 137402 // <flow>
164   
165   from ref 134714 z 1999 to ref 133690
166   show_infonote default drawing_language default write_horizontally default
168 flowcanvas 135482 flow_ref 137530 // <flow>
169   
170   from ref 134074 z 1999 label "[else]" xyz 694 586 1999 to ref 135354
171   show_infonote default drawing_language default write_horizontally default
173 flowcanvas 135610 flow_ref 137658 // <flow>
174   
175   from ref 135354 z 1999 to ref 133690
176   show_infonote default drawing_language default write_horizontally default
178 flowcanvas 135866 flow_ref 137786 // <flow>
179   
180   from ref 131642 z 1965 to ref 135738
181   show_infonote default drawing_language default write_horizontally default
183 flowcanvas 136122 flow_ref 137914 // <flow>
184   
185   from ref 135738 z 1999 label "[contromosse.isEmpty()]" xyz 481 417 1999 to point 414 431
186   line 136250 z 1999 to ref 135994
187   show_infonote default drawing_language default write_horizontally default
189 flowcanvas 136378 flow_ref 138042 // <flow>
190   
191   from ref 135994 z 1999 to ref 134714
192   show_infonote default drawing_language default write_horizontally default
194 flowcanvas 136506 flow_ref 138170 // <flow>
195   
196   from ref 135738 z 1999 label "[else]" xyz 699 448 1999 to ref 134074
197   show_infonote default drawing_language default write_horizontally default
199 flowcanvas 136634 flow_ref 138298 // <flow>
200   
201   from ref 134074 z 1999 label "[(qrand() % 4) > level - 1]" xyz 523 549 1999 to point 509 564
202   line 136762 z 1999 to point 509 500
203   line 136890 z 1999 to ref 135994
204   show_infonote default drawing_language default write_horizontally default
206 flowcanvas 137146 flow_ref 138554 // <flow>
207   
208   from ref 128314 z 1960 to ref 134074
209   show_infonote default drawing_language default write_horizontally default
211 flowcanvas 137274 flow_ref 138682 // <flow>
212   
213   from ref 131898 z 1999 label "[false]" xyz 707 107 1999 to point 699 73
214   line 137402 z 1999 to ref 129082
215   show_infonote default drawing_language default write_horizontally default
217 line 137658 -_-_
218   from ref 137530 z 1999 to ref 131898
219 line 137914 -_-_
220   from ref 137786 z 1999 to ref 130362