2 # Generated python file of Graph GraphSyrControlAve
6 # Graph creation of GraphSyrControlAve
7 def DefGraphSyrControlAve() :
8 GraphSyrControlAve = Graph( 'GraphSyrControlAve' )
9 GraphSyrControlAve.SetName( 'GraphSyrControlAve' )
10 GraphSyrControlAve.SetAuthor( 'JR' )
11 GraphSyrControlAve.SetComment( 'Syracuse algorithm' )
12 GraphSyrControlAve.Coords( 0 , 0 )
14 # Creation of Factory Nodes
16 test_ISEVEN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISEVEN' )
17 test_ISEVEN.SetName( 'test_ISEVEN' )
18 test_ISEVEN.SetAuthor( '' )
19 test_ISEVEN.SetContainer( 'localhost/FactoryServer' )
20 test_ISEVEN.SetComment( 'C_ISEVEN from SyrComponent' )
21 test_ISEVEN.Coords( 370 , 455 )
22 Itest_ISEVENanInteger = test_ISEVEN.GetInPort( 'anInteger' )
23 Itest_ISEVENGate = test_ISEVEN.GetInPort( 'Gate' )
24 Otest_ISEVENBoolEven = test_ISEVEN.GetOutPort( 'BoolEven' )
25 Otest_ISEVENGate = test_ISEVEN.GetOutPort( 'Gate' )
27 test_ISONE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_ISONE' )
28 test_ISONE.SetName( 'test_ISONE' )
29 test_ISONE.SetAuthor( '' )
30 test_ISONE.SetContainer( 'localhost/FactoryServer' )
31 test_ISONE.SetComment( 'C_ISONE from SyrComponent' )
32 test_ISONE.Coords( 370 , 127 )
33 Itest_ISONEanInteger = test_ISONE.GetInPort( 'anInteger' )
34 Itest_ISONEGate = test_ISONE.GetInPort( 'Gate' )
35 Otest_ISONEBoolOne = test_ISONE.GetOutPort( 'BoolOne' )
36 Otest_ISONEGate = test_ISONE.GetOutPort( 'Gate' )
38 m3p1 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_M3P1' )
39 m3p1.SetName( 'm3p1' )
41 m3p1.SetContainer( 'localhost/FactoryServer' )
42 m3p1.SetComment( 'C_M3P1 from SyrComponent' )
43 m3p1.Coords( 789 , 0 )
44 Im3p1anOddInteger = m3p1.GetInPort( 'anOddInteger' )
45 Im3p1Gate = m3p1.GetInPort( 'Gate' )
46 Om3p1anEvenInteger = m3p1.GetOutPort( 'anEvenInteger' )
47 Om3p1Gate = m3p1.GetOutPort( 'Gate' )
49 div2 = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_DIV2' )
50 div2.SetName( 'div2' )
52 div2.SetContainer( 'localhost/FactoryServer' )
53 div2.SetComment( 'C_DIV2 from SyrComponent' )
54 div2.Coords( 789 , 276 )
55 Idiv2anEvenInteger = div2.GetInPort( 'anEvenInteger' )
56 Idiv2Gate = div2.GetInPort( 'Gate' )
57 Odiv2anInteger = div2.GetOutPort( 'anInteger' )
58 Odiv2Gate = div2.GetOutPort( 'Gate' )
60 incr = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_INCR' )
61 incr.SetName( 'incr' )
63 incr.SetContainer( 'localhost/FactoryServer' )
64 incr.SetComment( 'C_INCR from SyrComponent' )
65 incr.Coords( 790 , 136 )
66 IincraCount = incr.GetInPort( 'aCount' )
67 IincrGate = incr.GetInPort( 'Gate' )
68 OincraNewCount = incr.GetOutPort( 'aNewCount' )
69 OincrGate = incr.GetOutPort( 'Gate' )
71 C_MIN = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MIN' )
72 C_MIN.SetName( 'C_MIN' )
74 C_MIN.SetContainer( 'localhost/FactoryServer' )
75 C_MIN.SetComment( 'C_MIN from SyrComponent' )
76 C_MIN.Coords( 798 , 833 )
77 IC_MINaMinVal = C_MIN.GetInPort( 'aMinVal' )
78 IC_MINanInteger = C_MIN.GetInPort( 'anInteger' )
79 IC_MINGate = C_MIN.GetInPort( 'Gate' )
80 OC_MINaNewMinVal = C_MIN.GetOutPort( 'aNewMinVal' )
81 OC_MINGate = C_MIN.GetOutPort( 'Gate' )
83 C_MAX = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_MAX' )
84 C_MAX.SetName( 'C_MAX' )
86 C_MAX.SetContainer( 'localhost/FactoryServer' )
87 C_MAX.SetComment( 'C_MAX from SyrComponent' )
88 C_MAX.Coords( 798 , 668 )
89 IC_MAXaMaxVal = C_MAX.GetInPort( 'aMaxVal' )
90 IC_MAXanInteger = C_MAX.GetInPort( 'anInteger' )
91 IC_MAXGate = C_MAX.GetInPort( 'Gate' )
92 OC_MAXaNewMaxVal = C_MAX.GetOutPort( 'aNewMaxVal' )
93 OC_MAXGate = C_MAX.GetOutPort( 'Gate' )
95 C_AVERAGE = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_AVERAGE' )
96 C_AVERAGE.SetName( 'C_AVERAGE' )
97 C_AVERAGE.SetAuthor( '' )
98 C_AVERAGE.SetContainer( 'localhost/FactoryServer' )
99 C_AVERAGE.SetComment( 'C_AVERAGE from SyrComponent' )
100 C_AVERAGE.Coords( 784 , 476 )
101 IC_AVERAGEaListOfSyr = C_AVERAGE.GetInPort( 'aListOfSyr' )
102 IC_AVERAGEanInteger = C_AVERAGE.GetInPort( 'anInteger' )
103 IC_AVERAGEaCount = C_AVERAGE.GetInPort( 'aCount' )
104 IC_AVERAGEGate = C_AVERAGE.GetInPort( 'Gate' )
105 OC_AVERAGEaNewListOfSyr = C_AVERAGE.GetOutPort( 'aNewListOfSyr' )
106 OC_AVERAGEanAverage = C_AVERAGE.GetOutPort( 'anAverage' )
107 OC_AVERAGEGate = C_AVERAGE.GetOutPort( 'Gate' )
109 C_LISTOFSYR = GraphSyrControlAve.FNode( 'SyrComponent' , 'SyrComponent' , 'C_LISTOFSYR' )
110 C_LISTOFSYR.SetName( 'C_LISTOFSYR' )
111 C_LISTOFSYR.SetAuthor( '' )
112 C_LISTOFSYR.SetContainer( 'localhost/FactoryServer' )
113 C_LISTOFSYR.SetComment( 'C_LISTOFSYR from SyrComponent' )
114 C_LISTOFSYR.Coords( 4 , 363 )
115 IC_LISTOFSYRGate = C_LISTOFSYR.GetInPort( 'Gate' )
116 OC_LISTOFSYRaListOfSyr = C_LISTOFSYR.GetOutPort( 'aListOfSyr' )
117 OC_LISTOFSYRGate = C_LISTOFSYR.GetOutPort( 'Gate' )
119 # Creation of InLine Nodes
121 Pylabel_begin.append( 'def label_begin( NB , KB , MINB , MAXB , AVERAGEB , SYRLISTB ) :' )
122 Pylabel_begin.append( ' return NB,KB,MINB,MAXB,AVERAGEB,SYRLISTB' )
123 label_begin = GraphSyrControlAve.INode( 'label_begin' , Pylabel_begin )
124 label_begin.SetName( 'label_begin' )
125 label_begin.SetAuthor( '' )
126 label_begin.SetComment( 'Python function' )
127 label_begin.Coords( 183 , 219 )
128 Ilabel_beginNB = label_begin.InPort( 'NB' , 'long' )
129 Ilabel_beginKB = label_begin.InPort( 'KB' , 'long' )
130 Ilabel_beginMINB = label_begin.InPort( 'MINB' , 'long' )
131 Ilabel_beginMAXB = label_begin.InPort( 'MAXB' , 'long' )
132 Ilabel_beginAVERAGEB = label_begin.InPort( 'AVERAGEB' , 'double' )
133 Ilabel_beginSYRLISTB = label_begin.InPort( 'SYRLISTB' , 'ListOfSyr' )
134 Ilabel_beginGate = label_begin.GetInPort( 'Gate' )
135 Olabel_beginNT = label_begin.OutPort( 'NT' , 'long' )
136 Olabel_beginKT = label_begin.OutPort( 'KT' , 'long' )
137 Olabel_beginMIN = label_begin.OutPort( 'MIN' , 'long' )
138 Olabel_beginMAX = label_begin.OutPort( 'MAX' , 'long' )
139 Olabel_beginAVERAGE = label_begin.OutPort( 'AVERAGE' , 'double' )
140 Olabel_beginSYRLIST = label_begin.OutPort( 'SYRLIST' , 'ListOfSyr' )
141 Olabel_beginGate = label_begin.GetOutPort( 'Gate' )
143 # Creation of Switch Nodes
145 Pylabel_test.append( 'def L_OneEven( ValOne , ValEven , NT , KT , MIN , MAX , AVERAGE , SYRLIST ):' )
146 Pylabel_test.append( ' Finished = ValOne' )
147 Pylabel_test.append( ' if Finished == 0 :' )
148 Pylabel_test.append( ' Incr = 1' )
149 Pylabel_test.append( ' Even = ValEven' )
150 Pylabel_test.append( ' if Even == 0 :' )
151 Pylabel_test.append( ' Odd = 1' )
152 Pylabel_test.append( ' else :' )
153 Pylabel_test.append( ' Odd = 0' )
154 Pylabel_test.append( ' else :' )
155 Pylabel_test.append( ' Incr = 0' )
156 Pylabel_test.append( ' Even = 0' )
157 Pylabel_test.append( ' Odd = 0' )
158 Pylabel_test.append( ' Even = ValEven' )
159 Pylabel_test.append( ' return Finished,Incr,Even,Odd,NT,KT,MIN,MAX,AVERAGE,SYRLIST' )
160 label_test,EndL_OneEven = GraphSyrControlAve.SNode( 'L_OneEven' , Pylabel_test )
161 EndL_OneEven.SetName( 'EndL_OneEven' )
162 EndL_OneEven.SetAuthor( '' )
163 EndL_OneEven.SetComment( 'Compute Node' )
164 EndL_OneEven.Coords( 1064 , 379 )
166 EndL_OneEven.SetPyFunction( '' , PyEndL_OneEven )
167 IEndL_OneEvenMIN = EndL_OneEven.InPort( 'MIN' , 'long' )
168 IEndL_OneEvenMAX = EndL_OneEven.InPort( 'MAX' , 'long' )
169 IEndL_OneEvenAVERAGE = EndL_OneEven.InPort( 'AVERAGE' , 'double' )
170 IEndL_OneEvenDefault = EndL_OneEven.GetInPort( 'Default' )
171 OEndL_OneEvenMIN = EndL_OneEven.OutPort( 'MIN' , 'long' )
172 OEndL_OneEvenMAX = EndL_OneEven.OutPort( 'MAX' , 'long' )
173 OEndL_OneEvenAVERAGE = EndL_OneEven.OutPort( 'AVERAGE' , 'double' )
174 OEndL_OneEvenGate = EndL_OneEven.GetOutPort( 'Gate' )
175 label_test.SetName( 'label_test' )
176 label_test.SetAuthor( '' )
177 label_test.SetComment( 'Compute Node' )
178 label_test.Coords( 563 , 206 )
179 Ilabel_testValOne = label_test.InPort( 'ValOne' , 'long' )
180 Ilabel_testValEven = label_test.InPort( 'ValEven' , 'long' )
181 Ilabel_testNT = label_test.InPort( 'NT' , 'long' )
182 Ilabel_testKT = label_test.InPort( 'KT' , 'long' )
183 Ilabel_testMIN = label_test.InPort( 'MIN' , 'long' )
184 Ilabel_testMAX = label_test.InPort( 'MAX' , 'long' )
185 Ilabel_testAVERAGE = label_test.InPort( 'AVERAGE' , 'double' )
186 Ilabel_testSYRLIST = label_test.InPort( 'SYRLIST' , 'ListOfSyr' )
187 Ilabel_testGate = label_test.GetInPort( 'Gate' )
188 Olabel_testFinished = label_test.OutPort( 'Finished' , 'long' )
189 Olabel_testIncr = label_test.OutPort( 'Incr' , 'long' )
190 Olabel_testEven = label_test.OutPort( 'Even' , 'long' )
191 Olabel_testOdd = label_test.OutPort( 'Odd' , 'long' )
192 Olabel_testN = label_test.OutPort( 'N' , 'long' )
193 Olabel_testK = label_test.OutPort( 'K' , 'long' )
194 Olabel_testMINT = label_test.OutPort( 'MINT' , 'long' )
195 Olabel_testMAXT = label_test.OutPort( 'MAXT' , 'long' )
196 Olabel_testAVERAGET = label_test.OutPort( 'AVERAGET' , 'double' )
197 Olabel_testSYRLISTT = label_test.OutPort( 'SYRLISTT' , 'ListOfSyr' )
198 Olabel_testDefault = label_test.GetOutPort( 'Default' )
200 # Creation of GOTO Nodes
202 Pycontrol_m3p1.append( 'def C_NotOneIsEven( N , K , MINT , MAXT , AVERAGET , SYRLISTT ):' )
203 Pycontrol_m3p1.append( ' return 0,1,N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
204 control_m3p1 = GraphSyrControlAve.GNode( 'C_NotOneIsEven' , Pycontrol_m3p1 , 'label_test' )
205 control_m3p1.SetName( 'control_m3p1' )
206 control_m3p1.SetAuthor( '' )
207 control_m3p1.SetComment( 'Compute Node' )
208 control_m3p1.Coords( 1058 , 8 )
209 Icontrol_m3p1N = control_m3p1.InPort( 'N' , 'long' )
210 Icontrol_m3p1K = control_m3p1.InPort( 'K' , 'long' )
211 Icontrol_m3p1MINT = control_m3p1.InPort( 'MINT' , 'long' )
212 Icontrol_m3p1MAXT = control_m3p1.InPort( 'MAXT' , 'long' )
213 Icontrol_m3p1AVERAGET = control_m3p1.InPort( 'AVERAGET' , 'double' )
214 Icontrol_m3p1SYRLISTT = control_m3p1.InPort( 'SYRLISTT' , 'ListOfSyr' )
215 Icontrol_m3p1Gate = control_m3p1.GetInPort( 'Gate' )
216 Ocontrol_m3p1ValOne = control_m3p1.OutPort( 'ValOne' , 'long' )
217 Ocontrol_m3p1ValEven = control_m3p1.OutPort( 'ValEven' , 'long' )
218 Ocontrol_m3p1NT = control_m3p1.OutPort( 'NT' , 'long' )
219 Ocontrol_m3p1KT = control_m3p1.OutPort( 'KT' , 'long' )
220 Ocontrol_m3p1MIN = control_m3p1.OutPort( 'MIN' , 'long' )
221 Ocontrol_m3p1MAX = control_m3p1.OutPort( 'MAX' , 'long' )
222 Ocontrol_m3p1AVERAGE = control_m3p1.OutPort( 'AVERAGE' , 'double' )
223 Ocontrol_m3p1SYRLIST = control_m3p1.OutPort( 'SYRLIST' , 'ListOfSyr' )
224 Ocontrol_m3p1Gate = control_m3p1.GetOutPort( 'Gate' )
227 Pycontrol_div2.append( 'def control_div2( N , K , MINT , MAXT , AVERAGET , SYRLISTT ) :' )
228 Pycontrol_div2.append( ' return N,K,MINT,MAXT,AVERAGET,SYRLISTT' )
229 control_div2 = GraphSyrControlAve.GNode( 'control_div2' , Pycontrol_div2 , 'label_begin' )
230 control_div2.SetName( 'control_div2' )
231 control_div2.SetAuthor( '' )
232 control_div2.SetComment( 'Compute Node' )
233 control_div2.Coords( 1048 , 555 )
234 Icontrol_div2N = control_div2.InPort( 'N' , 'long' )
235 Icontrol_div2K = control_div2.InPort( 'K' , 'long' )
236 Icontrol_div2MINT = control_div2.InPort( 'MINT' , 'long' )
237 Icontrol_div2MAXT = control_div2.InPort( 'MAXT' , 'long' )
238 Icontrol_div2AVERAGET = control_div2.InPort( 'AVERAGET' , 'double' )
239 Icontrol_div2SYRLISTT = control_div2.InPort( 'SYRLISTT' , 'ListOfSyr' )
240 Icontrol_div2Gate = control_div2.GetInPort( 'Gate' )
241 Ocontrol_div2NB = control_div2.OutPort( 'NB' , 'long' )
242 Ocontrol_div2KB = control_div2.OutPort( 'KB' , 'long' )
243 Ocontrol_div2MINB = control_div2.OutPort( 'MINB' , 'long' )
244 Ocontrol_div2MAXB = control_div2.OutPort( 'MAXB' , 'long' )
245 Ocontrol_div2AVERAGEB = control_div2.OutPort( 'AVERAGEB' , 'double' )
246 Ocontrol_div2SYRLISTB = control_div2.OutPort( 'SYRLISTB' , 'ListOfSyr' )
247 Ocontrol_div2Gate = control_div2.GetOutPort( 'Gate' )
250 Ltest_ISEVENBoolEvenlabel_testValEven = GraphSyrControlAve.Link( Otest_ISEVENBoolEven , Ilabel_testValEven )
251 Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 1 , 545 , 269 )
252 Ltest_ISEVENBoolEvenlabel_testValEven.AddCoord( 2 , 545 , 535 )
254 Ltest_ISONEBoolOnelabel_testValOne = GraphSyrControlAve.Link( Otest_ISONEBoolOne , Ilabel_testValOne )
255 Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 1 , 546 , 241 )
256 Ltest_ISONEBoolOnelabel_testValOne.AddCoord( 2 , 545 , 208 )
258 Lm3p1anEvenIntegercontrol_m3p1N = GraphSyrControlAve.Link( Om3p1anEvenInteger , Icontrol_m3p1N )
259 Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 1 , 977 , 43 )
260 Lm3p1anEvenIntegercontrol_m3p1N.AddCoord( 2 , 976 , 81 )
262 Ldiv2anIntegercontrol_div2N = GraphSyrControlAve.Link( Odiv2anInteger , Icontrol_div2N )
263 Ldiv2anIntegercontrol_div2N.AddCoord( 1 , 1011 , 590 )
264 Ldiv2anIntegercontrol_div2N.AddCoord( 2 , 1010 , 357 )
266 LincraNewCountcontrol_div2K = GraphSyrControlAve.Link( OincraNewCount , Icontrol_div2K )
267 LincraNewCountcontrol_div2K.AddCoord( 1 , 964 , 618 )
268 LincraNewCountcontrol_div2K.AddCoord( 2 , 966 , 217 )
270 LincraNewCountcontrol_m3p1K = GraphSyrControlAve.Link( OincraNewCount , Icontrol_m3p1K )
271 LincraNewCountcontrol_m3p1K.AddCoord( 1 , 966 , 70 )
272 LincraNewCountcontrol_m3p1K.AddCoord( 2 , 966 , 216 )
274 LincraNewCountC_AVERAGEaCount = GraphSyrControlAve.Link( OincraNewCount , IC_AVERAGEaCount )
275 LincraNewCountC_AVERAGEaCount.AddCoord( 1 , 778 , 615 )
276 LincraNewCountC_AVERAGEaCount.AddCoord( 2 , 779 , 462 )
277 LincraNewCountC_AVERAGEaCount.AddCoord( 3 , 965 , 462 )
278 LincraNewCountC_AVERAGEaCount.AddCoord( 4 , 966 , 216 )
280 LC_MINaNewMinValcontrol_m3p1MINT = GraphSyrControlAve.Link( OC_MINaNewMinVal , Icontrol_m3p1MINT )
281 LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 1 , 991 , 100 )
282 LC_MINaNewMinValcontrol_m3p1MINT.AddCoord( 2 , 991 , 913 )
284 LC_MINaNewMinValcontrol_div2MINT = GraphSyrControlAve.Link( OC_MINaNewMinVal , Icontrol_div2MINT )
285 LC_MINaNewMinValcontrol_div2MINT.AddCoord( 1 , 990 , 646 )
286 LC_MINaNewMinValcontrol_div2MINT.AddCoord( 2 , 991 , 912 )
288 LC_MAXaNewMaxValcontrol_m3p1MAXT = GraphSyrControlAve.Link( OC_MAXaNewMaxVal , Icontrol_m3p1MAXT )
289 LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 1 , 974 , 130 )
290 LC_MAXaNewMaxValcontrol_m3p1MAXT.AddCoord( 2 , 974 , 747 )
292 LC_MAXaNewMaxValcontrol_div2MAXT = GraphSyrControlAve.Link( OC_MAXaNewMaxVal , Icontrol_div2MAXT )
293 LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 1 , 973 , 676 )
294 LC_MAXaNewMaxValcontrol_div2MAXT.AddCoord( 2 , 974 , 747 )
296 LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT = GraphSyrControlAve.Link( OC_AVERAGEaNewListOfSyr , Icontrol_m3p1SYRLISTT )
297 LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 1 , 1037 , 188 )
298 LC_AVERAGEaNewListOfSyrcontrol_m3p1SYRLISTT.AddCoord( 2 , 1038 , 556 )
300 LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT = GraphSyrControlAve.Link( OC_AVERAGEaNewListOfSyr , Icontrol_div2SYRLISTT )
301 LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 1 , 1038 , 735 )
302 LC_AVERAGEaNewListOfSyrcontrol_div2SYRLISTT.AddCoord( 2 , 1038 , 555 )
304 LC_AVERAGEanAveragecontrol_m3p1AVERAGET = GraphSyrControlAve.Link( OC_AVERAGEanAverage , Icontrol_m3p1AVERAGET )
305 LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 1 , 1027 , 158 )
306 LC_AVERAGEanAveragecontrol_m3p1AVERAGET.AddCoord( 2 , 1026 , 584 )
308 LC_AVERAGEanAveragecontrol_div2AVERAGET = GraphSyrControlAve.Link( OC_AVERAGEanAverage , Icontrol_div2AVERAGET )
309 LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 1 , 1027 , 706 )
310 LC_AVERAGEanAveragecontrol_div2AVERAGET.AddCoord( 2 , 1027 , 584 )
312 LC_LISTOFSYRaListOfSyrlabel_beginSYRLISTB = GraphSyrControlAve.Link( OC_LISTOFSYRaListOfSyr , Ilabel_beginSYRLISTB )
314 Llabel_beginNTtest_ISONEanInteger = GraphSyrControlAve.Link( Olabel_beginNT , Itest_ISONEanInteger )
315 Llabel_beginNTtest_ISONEanInteger.AddCoord( 1 , 362 , 207 )
316 Llabel_beginNTtest_ISONEanInteger.AddCoord( 2 , 362 , 299 )
318 Llabel_beginNTlabel_testNT = GraphSyrControlAve.Link( Olabel_beginNT , Ilabel_testNT )
320 Llabel_beginNTtest_ISEVENanInteger = GraphSyrControlAve.Link( Olabel_beginNT , Itest_ISEVENanInteger )
321 Llabel_beginNTtest_ISEVENanInteger.AddCoord( 1 , 361 , 534 )
322 Llabel_beginNTtest_ISEVENanInteger.AddCoord( 2 , 362 , 299 )
324 Llabel_beginKTlabel_testKT = GraphSyrControlAve.Link( Olabel_beginKT , Ilabel_testKT )
326 Llabel_beginMINlabel_testMIN = GraphSyrControlAve.Link( Olabel_beginMIN , Ilabel_testMIN )
328 Llabel_beginMAXlabel_testMAX = GraphSyrControlAve.Link( Olabel_beginMAX , Ilabel_testMAX )
330 Llabel_beginAVERAGElabel_testAVERAGE = GraphSyrControlAve.Link( Olabel_beginAVERAGE , Ilabel_testAVERAGE )
332 Llabel_beginSYRLISTlabel_testSYRLIST = GraphSyrControlAve.Link( Olabel_beginSYRLIST , Ilabel_testSYRLIST )
334 Llabel_testFinishedEndL_OneEvenDefault = GraphSyrControlAve.Link( Olabel_testFinished , IEndL_OneEvenDefault )
336 Llabel_testEvendiv2Gate = GraphSyrControlAve.Link( Olabel_testEven , Idiv2Gate )
337 Llabel_testEvendiv2Gate.AddCoord( 1 , 780 , 387 )
338 Llabel_testEvendiv2Gate.AddCoord( 2 , 779 , 299 )
340 Llabel_testOddm3p1Gate = GraphSyrControlAve.Link( Olabel_testOdd , Im3p1Gate )
341 Llabel_testOddm3p1Gate.AddCoord( 1 , 756 , 115 )
342 Llabel_testOddm3p1Gate.AddCoord( 2 , 756 , 328 )
344 Llabel_testNm3p1anOddInteger = GraphSyrControlAve.Link( Olabel_testN , Im3p1anOddInteger )
345 Llabel_testNm3p1anOddInteger.AddCoord( 1 , 740 , 80 )
346 Llabel_testNm3p1anOddInteger.AddCoord( 2 , 741 , 356 )
348 Llabel_testNdiv2anEvenInteger = GraphSyrControlAve.Link( Olabel_testN , Idiv2anEvenInteger )
350 Llabel_testNC_MINanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_MINanInteger )
351 Llabel_testNC_MINanInteger.AddCoord( 1 , 741 , 943 )
352 Llabel_testNC_MINanInteger.AddCoord( 2 , 740 , 357 )
354 Llabel_testNC_MAXanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_MAXanInteger )
355 Llabel_testNC_MAXanInteger.AddCoord( 1 , 742 , 778 )
356 Llabel_testNC_MAXanInteger.AddCoord( 2 , 741 , 359 )
358 Llabel_testNC_AVERAGEanInteger = GraphSyrControlAve.Link( Olabel_testN , IC_AVERAGEanInteger )
359 Llabel_testNC_AVERAGEanInteger.AddCoord( 1 , 742 , 584 )
360 Llabel_testNC_AVERAGEanInteger.AddCoord( 2 , 741 , 357 )
362 Llabel_testKincraCount = GraphSyrControlAve.Link( Olabel_testK , IincraCount )
363 Llabel_testKincraCount.AddCoord( 1 , 765 , 217 )
364 Llabel_testKincraCount.AddCoord( 2 , 764 , 385 )
366 Llabel_testMINTC_MINaMinVal = GraphSyrControlAve.Link( Olabel_testMINT , IC_MINaMinVal )
367 Llabel_testMINTC_MINaMinVal.AddCoord( 1 , 759 , 914 )
368 Llabel_testMINTC_MINaMinVal.AddCoord( 2 , 758 , 414 )
370 Llabel_testMINTEndL_OneEvenMIN = GraphSyrControlAve.Link( Olabel_testMINT , IEndL_OneEvenMIN )
372 Llabel_testMAXTC_MAXaMaxVal = GraphSyrControlAve.Link( Olabel_testMAXT , IC_MAXaMaxVal )
373 Llabel_testMAXTC_MAXaMaxVal.AddCoord( 1 , 729 , 749 )
374 Llabel_testMAXTC_MAXaMaxVal.AddCoord( 2 , 728 , 444 )
376 Llabel_testMAXTEndL_OneEvenMAX = GraphSyrControlAve.Link( Olabel_testMAXT , IEndL_OneEvenMAX )
378 Llabel_testAVERAGETEndL_OneEvenAVERAGE = GraphSyrControlAve.Link( Olabel_testAVERAGET , IEndL_OneEvenAVERAGE )
380 Llabel_testSYRLISTTC_AVERAGEaListOfSyr = GraphSyrControlAve.Link( Olabel_testSYRLISTT , IC_AVERAGEaListOfSyr )
381 Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 1 , 771 , 557 )
382 Llabel_testSYRLISTTC_AVERAGEaListOfSyr.AddCoord( 2 , 770 , 502 )
384 Lcontrol_m3p1Gatelabel_testGate = GraphSyrControlAve.Link( Ocontrol_m3p1Gate , Ilabel_testGate )
385 Lcontrol_m3p1Gatelabel_testGate.AddCoord( 1 , 553 , 536 )
386 Lcontrol_m3p1Gatelabel_testGate.AddCoord( 2 , 554 , 1025 )
387 Lcontrol_m3p1Gatelabel_testGate.AddCoord( 3 , 1242 , 1026 )
388 Lcontrol_m3p1Gatelabel_testGate.AddCoord( 4 , 1243 , 279 )
390 Lcontrol_div2Gatelabel_beginGate = GraphSyrControlAve.Link( Ocontrol_div2Gate , Ilabel_beginGate )
391 Lcontrol_div2Gatelabel_beginGate.AddCoord( 1 , 176 , 476 )
392 Lcontrol_div2Gatelabel_beginGate.AddCoord( 2 , 176 , 997 )
393 Lcontrol_div2Gatelabel_beginGate.AddCoord( 3 , 1217 , 996 )
394 Lcontrol_div2Gatelabel_beginGate.AddCoord( 4 , 1218 , 768 )
397 Ilabel_beginNB.Input( 31 )
398 Ilabel_beginKB.Input( 0 )
399 Ilabel_beginMINB.Input( 0 )
400 Ilabel_beginMAXB.Input( 0 )
401 Ilabel_beginAVERAGEB.Input( 0 )
403 # Output Ports of the graph
404 #Olabel_testIncr = label_test.GetOutPort( 'Incr' )
405 #OEndL_OneEvenMIN = EndL_OneEven.GetOutPort( 'MIN' )
406 #OEndL_OneEvenMAX = EndL_OneEven.GetOutPort( 'MAX' )
407 #OEndL_OneEvenAVERAGE = EndL_OneEven.GetOutPort( 'AVERAGE' )
408 return GraphSyrControlAve
411 GraphSyrControlAve = DefGraphSyrControlAve()