6 <component-name>?</component-name>
7 <interface-name>?</interface-name>
8 <node-name>SyrStruct</node-name>
10 <coupled-node>?</coupled-node>
12 <service-name>SyrStruct</service-name>
15 <inParameter-type>string</inParameter-type>
16 <inParameter-name>SyrComponent__aContainer</inParameter-name> </inParameter>
18 <inParameter-type>string</inParameter-type>
19 <inParameter-name>SyrComponent__aComponent</inParameter-name> </inParameter>
21 <inParameter-type>long</inParameter-type>
22 <inParameter-name>forN__N</inParameter-name> </inParameter>
24 <inParameter-type>long</inParameter-type>
25 <inParameter-name>forN__K</inParameter-name> </inParameter>
27 <inParameter-type>long</inParameter-type>
28 <inParameter-name>forN__min</inParameter-name> </inParameter>
30 <inParameter-type>long</inParameter-type>
31 <inParameter-name>forN__max</inParameter-name> </inParameter>
33 <inParameter-type>long</inParameter-type>
34 <inParameter-name>fori__i</inParameter-name> </inParameter> </inParameter-list>
37 <outParameter-type>long</outParameter-type>
38 <outParameter-name>EndOfforN__N</outParameter-name> </outParameter>
40 <outParameter-type>long</outParameter-type>
41 <outParameter-name>EndOfforN__K</outParameter-name> </outParameter>
43 <outParameter-type>objref</outParameter-type>
44 <outParameter-name>EndOfforN__SyrComponent</outParameter-name> </outParameter>
46 <outParameter-type>long</outParameter-type>
47 <outParameter-name>EndOfforN__min</outParameter-name> </outParameter>
49 <outParameter-type>long</outParameter-type>
50 <outParameter-name>EndOfforN__max</outParameter-name> </outParameter>
52 <outParameter-type>objref</outParameter-type>
53 <outParameter-name>EndOfwhileNotOne__SyrComponent</outParameter-name> </outParameter>
55 <outParameter-type>long</outParameter-type>
56 <outParameter-name>EndOfwhileNotOne__N</outParameter-name> </outParameter>
58 <outParameter-type>long</outParameter-type>
59 <outParameter-name>EndOffori__i</outParameter-name> </outParameter>
61 <outParameter-type>objref</outParameter-type>
62 <outParameter-name>EndOfwhileEven__SyrComponent</outParameter-name> </outParameter> </outParameter-list> </service>
65 <creation-date>4/8/2003 - 17:56:20</creation-date>
66 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
67 <editor-release>1.04</editor-release>
69 <container>?</container>
70 <comment>Syracuse algorithm</comment>
71 <x-position>0</x-position>
72 <y-position>0</y-position> </node> </info-list>
75 <component-name>SyrComponent</component-name>
76 <interface-name>SyrComponent</interface-name>
77 <node-name>m3</node-name>
79 <coupled-node>?</coupled-node>
81 <service-name>C_M3</service-name>
84 <inParameter-type>long</inParameter-type>
85 <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
88 <outParameter-type>long</outParameter-type>
89 <outParameter-name>anInteger</outParameter-name> </outParameter> </outParameter-list> </service>
92 <creation-date>19/1/2005 - 13:1:13</creation-date>
93 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
94 <editor-release>1.04</editor-release>
96 <container>localhost/FactoryServer</container>
97 <comment>C_M3 from SyrComponent</comment>
98 <x-position>672</x-position>
99 <y-position>28</y-position> </node>
101 <component-name>SyrComponent</component-name>
102 <interface-name>SyrComponent</interface-name>
103 <node-name>m3incr</node-name>
105 <coupled-node>?</coupled-node>
107 <service-name>C_INCR</service-name>
110 <inParameter-type>long</inParameter-type>
111 <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
114 <outParameter-type>long</outParameter-type>
115 <outParameter-name>aNewCount</outParameter-name> </outParameter> </outParameter-list> </service>
118 <creation-date>19/1/2005 - 13:1:13</creation-date>
119 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
120 <editor-release>1.04</editor-release>
122 <container>localhost/FactoryServer</container>
123 <comment>C_INCR from SyrComponent</comment>
124 <x-position>899</x-position>
125 <y-position>28</y-position> </node>
127 <component-name>SyrComponent</component-name>
128 <interface-name>SyrComponent</interface-name>
129 <node-name>incra</node-name>
131 <coupled-node>?</coupled-node>
133 <service-name>C_INCR</service-name>
136 <inParameter-type>long</inParameter-type>
137 <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
140 <outParameter-type>long</outParameter-type>
141 <outParameter-name>aNewCount</outParameter-name> </outParameter> </outParameter-list> </service>
144 <creation-date>19/1/2005 - 13:1:13</creation-date>
145 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
146 <editor-release>1.04</editor-release>
148 <container>localhost/FactoryServer</container>
149 <comment>C_INCR from SyrComponent</comment>
150 <x-position>824</x-position>
151 <y-position>218</y-position> </node>
153 <component-name>SyrComponent</component-name>
154 <interface-name>SyrComponent</interface-name>
155 <node-name>div2</node-name>
157 <coupled-node>?</coupled-node>
159 <service-name>C_DIV2</service-name>
162 <inParameter-type>long</inParameter-type>
163 <inParameter-name>anEvenInteger</inParameter-name> </inParameter> </inParameter-list>
166 <outParameter-type>long</outParameter-type>
167 <outParameter-name>anInteger</outParameter-name> </outParameter> </outParameter-list> </service>
170 <creation-date>19/1/2005 - 13:1:13</creation-date>
171 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
172 <editor-release>1.04</editor-release>
174 <container>localhost/FactoryServer</container>
175 <comment>C_DIV2 from SyrComponent</comment>
176 <x-position>817</x-position>
177 <y-position>431</y-position> </node>
179 <component-name>SyrComponent</component-name>
180 <interface-name>SyrComponent</interface-name>
181 <node-name>incrb</node-name>
183 <coupled-node>?</coupled-node>
185 <service-name>C_INCR</service-name>
188 <inParameter-type>long</inParameter-type>
189 <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
192 <outParameter-type>long</outParameter-type>
193 <outParameter-name>aNewCount</outParameter-name> </outParameter> </outParameter-list> </service>
196 <creation-date>19/1/2005 - 13:1:13</creation-date>
197 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
198 <editor-release>1.04</editor-release>
200 <container>localhost/FactoryServer</container>
201 <comment>C_INCR from SyrComponent</comment>
202 <x-position>821</x-position>
203 <y-position>574</y-position> </node>
205 <component-name>?</component-name>
206 <interface-name>?</interface-name>
207 <node-name>SyrComponent</node-name>
209 <coupled-node>?</coupled-node>
211 <service-name>SyrComponent</service-name>
214 <inParameter-type>string</inParameter-type>
215 <inParameter-name>aContainer</inParameter-name> </inParameter>
217 <inParameter-type>string</inParameter-type>
218 <inParameter-name>aComponent</inParameter-name> </inParameter> </inParameter-list>
221 <outParameter-type>objref</outParameter-type>
222 <outParameter-name>SyrComponentobjref</outParameter-name> </outParameter> </outParameter-list> </service>
226 <FuncName>SyrComponent</FuncName>
227 <PyFunc><![CDATA[from LifeCycleCORBA import * ]]></PyFunc>
228 <PyFunc><![CDATA[def SyrComponent( aContainer , aComponent ) : ]]></PyFunc>
229 <PyFunc><![CDATA[ orb = CORBA.ORB_init([], CORBA.ORB_ID) ]]></PyFunc>
230 <PyFunc><![CDATA[ lcc = LifeCycleCORBA(orb) ]]></PyFunc>
231 <PyFunc><![CDATA[ ComponentRef = lcc.FindOrLoadComponent( aContainer , aComponent ) ]]></PyFunc>
232 <PyFunc><![CDATA[ return ComponentRef ]]></PyFunc> </PyFunction> </PyFunction-list>
233 <creation-date>19/1/2005 - 13:1:13</creation-date>
234 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
235 <editor-release>1.04</editor-release>
237 <container>?</container>
238 <comment>SyrComponent( aContainer , aComponent )</comment>
239 <x-position>0</x-position>
240 <y-position>0</y-position> </node>
242 <component-name>?</component-name>
243 <interface-name>?</interface-name>
244 <node-name>forN</node-name>
246 <coupled-node>EndOfforN</coupled-node>
248 <service-name>forN</service-name>
251 <inParameter-type>long</inParameter-type>
252 <inParameter-name>N</inParameter-name> </inParameter>
254 <inParameter-type>long</inParameter-type>
255 <inParameter-name>K</inParameter-name> </inParameter>
257 <inParameter-type>objref</inParameter-type>
258 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
260 <inParameter-type>long</inParameter-type>
261 <inParameter-name>min</inParameter-name> </inParameter>
263 <inParameter-type>long</inParameter-type>
264 <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
267 <outParameter-type>long</outParameter-type>
268 <outParameter-name>N</outParameter-name> </outParameter>
270 <outParameter-type>long</outParameter-type>
271 <outParameter-name>K</outParameter-name> </outParameter>
273 <outParameter-type>objref</outParameter-type>
274 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
276 <outParameter-type>long</outParameter-type>
277 <outParameter-name>min</outParameter-name> </outParameter>
279 <outParameter-type>long</outParameter-type>
280 <outParameter-name>max</outParameter-name> </outParameter> </outParameter-list> </service>
284 <FuncName>InitN</FuncName>
285 <PyFunc><![CDATA[def InitN( NN , K , SyrComponent , min , max ) : ]]></PyFunc>
286 <PyFunc><![CDATA[ N = max ]]></PyFunc>
287 <PyFunc><![CDATA[ if min > 0 : ]]></PyFunc>
288 <PyFunc><![CDATA[ if max >= min : ]]></PyFunc>
289 <PyFunc><![CDATA[ N = min ]]></PyFunc>
290 <PyFunc><![CDATA[ return N,K,SyrComponent,min,max ]]></PyFunc> </PyFunction>
292 <FuncName>MoreN</FuncName>
293 <PyFunc><![CDATA[def MoreN( NN , KK , SyrComponent , min , max ) : ]]></PyFunc>
294 <PyFunc><![CDATA[ N = NN ]]></PyFunc>
295 <PyFunc><![CDATA[ OutLoop = 0 ]]></PyFunc>
296 <PyFunc><![CDATA[ if max > NN : ]]></PyFunc>
297 <PyFunc><![CDATA[ OutLoop = 1 ]]></PyFunc>
298 <PyFunc><![CDATA[ return OutLoop,N,0,SyrComponent,min,max ]]></PyFunc> </PyFunction>
300 <FuncName>NextN</FuncName>
301 <PyFunc><![CDATA[def NextN( NN , KK , SyrComponent , min , max ) : ]]></PyFunc>
302 <PyFunc><![CDATA[ N = NN + 1 ]]></PyFunc>
303 <PyFunc><![CDATA[ K = KK ]]></PyFunc>
304 <PyFunc><![CDATA[ return N,K,SyrComponent,min,max ]]></PyFunc> </PyFunction> </PyFunction-list>
305 <creation-date>19/1/2005 - 13:1:13</creation-date>
306 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
307 <editor-release>1.04</editor-release>
309 <container>?</container>
310 <comment>InitN , MoreN , NextN</comment>
311 <x-position>20</x-position>
312 <y-position>302</y-position> </node>
314 <component-name>?</component-name>
315 <interface-name>?</interface-name>
316 <node-name>EndOfforN</node-name>
318 <coupled-node>forN</coupled-node>
320 <service-name>EndOfforN</service-name>
323 <inParameter-type>long</inParameter-type>
324 <inParameter-name>N</inParameter-name> </inParameter>
326 <inParameter-type>long</inParameter-type>
327 <inParameter-name>K</inParameter-name> </inParameter>
329 <inParameter-type>objref</inParameter-type>
330 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
332 <inParameter-type>long</inParameter-type>
333 <inParameter-name>min</inParameter-name> </inParameter>
335 <inParameter-type>long</inParameter-type>
336 <inParameter-name>max</inParameter-name> </inParameter> </inParameter-list>
339 <outParameter-type>long</outParameter-type>
340 <outParameter-name>N</outParameter-name> </outParameter>
342 <outParameter-type>long</outParameter-type>
343 <outParameter-name>K</outParameter-name> </outParameter>
345 <outParameter-type>objref</outParameter-type>
346 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
348 <outParameter-type>long</outParameter-type>
349 <outParameter-name>min</outParameter-name> </outParameter>
351 <outParameter-type>long</outParameter-type>
352 <outParameter-name>max</outParameter-name> </outParameter> </outParameter-list> </service>
356 <FuncName>?</FuncName>
357 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
358 <creation-date>19/1/2005 - 13:1:13</creation-date>
359 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
360 <editor-release>1.04</editor-release>
362 <container>?</container>
363 <comment>Compute Node</comment>
364 <x-position>1590</x-position>
365 <y-position>331</y-position> </node>
367 <component-name>?</component-name>
368 <interface-name>?</interface-name>
369 <node-name>whileNotOne</node-name>
371 <coupled-node>EndOfwhileNotOne</coupled-node>
373 <service-name>whileNotOne</service-name>
376 <inParameter-type>objref</inParameter-type>
377 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
379 <inParameter-type>long</inParameter-type>
380 <inParameter-name>N</inParameter-name> </inParameter>
382 <inParameter-type>long</inParameter-type>
383 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
386 <outParameter-type>objref</outParameter-type>
387 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
389 <outParameter-type>long</outParameter-type>
390 <outParameter-name>N</outParameter-name> </outParameter>
392 <outParameter-type>long</outParameter-type>
393 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
397 <FuncName>InitNotOne</FuncName>
398 <PyFunc><![CDATA[import threading]]></PyFunc>
399 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
400 <PyFunc><![CDATA[def InitNotOne( SyrComponent , N , K ) :]]></PyFunc>
401 <PyFunc><![CDATA[ return SyrComponent,N,K]]></PyFunc> </PyFunction>
403 <FuncName>MoreNotOne</FuncName>
404 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
405 <PyFunc><![CDATA[def MoreNotOne( SyrComponent , N , K ) :]]></PyFunc>
406 <PyFunc><![CDATA[ OutLoop = 1 - SyrComponent.C_ISONE( N )]]></PyFunc>
407 <PyFunc><![CDATA[ return OutLoop,SyrComponent,N,K ]]></PyFunc> </PyFunction>
409 <FuncName>NextNotOne</FuncName>
410 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
411 <PyFunc><![CDATA[def NextNotOne( SyrComponent , N , K ) :]]></PyFunc>
412 <PyFunc><![CDATA[ return SyrComponent,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
413 <creation-date>19/1/2005 - 13:1:13</creation-date>
414 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
415 <editor-release>1.04</editor-release>
417 <container>?</container>
418 <comment>InitNotOne , MoreNotOne , NextNotOne</comment>
419 <x-position>215</x-position>
420 <y-position>282</y-position> </node>
422 <component-name>?</component-name>
423 <interface-name>?</interface-name>
424 <node-name>EndOfwhileNotOne</node-name>
426 <coupled-node>whileNotOne</coupled-node>
428 <service-name>EndOfwhileNotOne</service-name>
431 <inParameter-type>objref</inParameter-type>
432 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
434 <inParameter-type>long</inParameter-type>
435 <inParameter-name>N</inParameter-name> </inParameter>
437 <inParameter-type>long</inParameter-type>
438 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
441 <outParameter-type>objref</outParameter-type>
442 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
444 <outParameter-type>long</outParameter-type>
445 <outParameter-name>N</outParameter-name> </outParameter>
447 <outParameter-type>long</outParameter-type>
448 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
452 <FuncName>?</FuncName>
453 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
454 <creation-date>19/1/2005 - 13:1:13</creation-date>
455 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
456 <editor-release>1.04</editor-release>
458 <container>?</container>
459 <comment>Compute Node</comment>
460 <x-position>1405</x-position>
461 <y-position>311</y-position> </node>
463 <component-name>?</component-name>
464 <interface-name>?</interface-name>
465 <node-name>fori</node-name>
467 <coupled-node>EndOffori</coupled-node>
469 <service-name>fori</service-name>
472 <inParameter-type>long</inParameter-type>
473 <inParameter-name>i</inParameter-name> </inParameter>
475 <inParameter-type>long</inParameter-type>
476 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
479 <outParameter-type>long</outParameter-type>
480 <outParameter-name>i</outParameter-name> </outParameter>
482 <outParameter-type>long</outParameter-type>
483 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
487 <FuncName>Initfori</FuncName>
488 <PyFunc><![CDATA[def Initfori( ii , K ) : ]]></PyFunc>
489 <PyFunc><![CDATA[ ii = 0 ]]></PyFunc>
490 <PyFunc><![CDATA[ return ii,K ]]></PyFunc> </PyFunction>
492 <FuncName>Morefori</FuncName>
493 <PyFunc><![CDATA[from time import * ]]></PyFunc>
494 <PyFunc><![CDATA[def Morefori( ii , K ) : ]]></PyFunc>
495 <PyFunc><![CDATA[ OutLoop = 0 ]]></PyFunc>
496 <PyFunc><![CDATA[ if ii < 2 : ]]></PyFunc>
497 <PyFunc><![CDATA[ OutLoop = 1 ]]></PyFunc>
498 <PyFunc><![CDATA[ return OutLoop,ii,K ]]></PyFunc> </PyFunction>
500 <FuncName>Nextfori</FuncName>
501 <PyFunc><![CDATA[def Nextfori( ii , K ) : ]]></PyFunc>
502 <PyFunc><![CDATA[ ii = ii + 1 ]]></PyFunc>
503 <PyFunc><![CDATA[ return ii,K ]]></PyFunc> </PyFunction> </PyFunction-list>
504 <creation-date>19/1/2005 - 13:1:13</creation-date>
505 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
506 <editor-release>1.04</editor-release>
508 <container>?</container>
509 <comment>Initfori, Morefori, Nextfori</comment>
510 <x-position>641</x-position>
511 <y-position>238</y-position> </node>
513 <component-name>?</component-name>
514 <interface-name>?</interface-name>
515 <node-name>EndOffori</node-name>
517 <coupled-node>fori</coupled-node>
519 <service-name>EndOffori</service-name>
522 <inParameter-type>long</inParameter-type>
523 <inParameter-name>i</inParameter-name> </inParameter>
525 <inParameter-type>long</inParameter-type>
526 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
529 <outParameter-type>long</outParameter-type>
530 <outParameter-name>i</outParameter-name> </outParameter>
532 <outParameter-type>long</outParameter-type>
533 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
537 <FuncName>?</FuncName>
538 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
539 <creation-date>19/1/2005 - 13:1:13</creation-date>
540 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
541 <editor-release>1.04</editor-release>
543 <container>?</container>
544 <comment>Compute Node</comment>
545 <x-position>1009</x-position>
546 <y-position>238</y-position> </node>
548 <component-name>?</component-name>
549 <interface-name>?</interface-name>
550 <node-name>whileEven</node-name>
552 <coupled-node>EndOfwhileEven</coupled-node>
554 <service-name>whileEven</service-name>
557 <inParameter-type>objref</inParameter-type>
558 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
560 <inParameter-type>long</inParameter-type>
561 <inParameter-name>N</inParameter-name> </inParameter>
563 <inParameter-type>long</inParameter-type>
564 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
567 <outParameter-type>objref</outParameter-type>
568 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
570 <outParameter-type>long</outParameter-type>
571 <outParameter-name>N</outParameter-name> </outParameter>
573 <outParameter-type>long</outParameter-type>
574 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
578 <FuncName>InitEven</FuncName>
579 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
580 <PyFunc><![CDATA[def InitEven( SyrComponent , N , K ) :]]></PyFunc>
581 <PyFunc><![CDATA[ return SyrComponent,N,K]]></PyFunc> </PyFunction>
583 <FuncName>MoreEven</FuncName>
584 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
585 <PyFunc><![CDATA[def MoreEven( SyrComponent , N , K ) :]]></PyFunc>
586 <PyFunc><![CDATA[ OutLoop = SyrComponent.C_ISEVEN( N )]]></PyFunc>
587 <PyFunc><![CDATA[ return OutLoop,SyrComponent,N,K ]]></PyFunc> </PyFunction>
589 <FuncName>NextEven</FuncName>
590 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
591 <PyFunc><![CDATA[def NextEven( SyrComponent , N , K ) :]]></PyFunc>
592 <PyFunc><![CDATA[ return SyrComponent,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
593 <creation-date>19/1/2005 - 13:1:13</creation-date>
594 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
595 <editor-release>1.04</editor-release>
597 <container>?</container>
598 <comment>InitEven, MoreEven, NextEven</comment>
599 <x-position>632</x-position>
600 <y-position>451</y-position> </node>
602 <component-name>?</component-name>
603 <interface-name>?</interface-name>
604 <node-name>EndOfwhileEven</node-name>
606 <coupled-node>whileEven</coupled-node>
608 <service-name>EndOfwhileEven</service-name>
611 <inParameter-type>objref</inParameter-type>
612 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
614 <inParameter-type>long</inParameter-type>
615 <inParameter-name>N</inParameter-name> </inParameter>
617 <inParameter-type>long</inParameter-type>
618 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
621 <outParameter-type>objref</outParameter-type>
622 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
624 <outParameter-type>long</outParameter-type>
625 <outParameter-name>N</outParameter-name> </outParameter>
627 <outParameter-type>long</outParameter-type>
628 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
632 <FuncName>?</FuncName>
633 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
634 <creation-date>19/1/2005 - 13:1:13</creation-date>
635 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
636 <editor-release>1.04</editor-release>
638 <container>?</container>
639 <comment>Compute Node</comment>
640 <x-position>1006</x-position>
641 <y-position>451</y-position> </node>
643 <component-name>?</component-name>
644 <interface-name>?</interface-name>
645 <node-name>ifNotEven</node-name>
647 <coupled-node>EndOfifNotEven</coupled-node>
649 <service-name>ifNotEven</service-name>
652 <inParameter-type>objref</inParameter-type>
653 <inParameter-name>SyrComponent</inParameter-name> </inParameter>
655 <inParameter-type>long</inParameter-type>
656 <inParameter-name>N</inParameter-name> </inParameter>
658 <inParameter-type>long</inParameter-type>
659 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
662 <outParameter-type>long</outParameter-type>
663 <outParameter-name>Odd</outParameter-name> </outParameter>
665 <outParameter-type>long</outParameter-type>
666 <outParameter-name>Even</outParameter-name> </outParameter>
668 <outParameter-type>objref</outParameter-type>
669 <outParameter-name>SyrComponent</outParameter-name> </outParameter>
671 <outParameter-type>long</outParameter-type>
672 <outParameter-name>N</outParameter-name> </outParameter>
674 <outParameter-type>long</outParameter-type>
675 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
679 <FuncName>ifNotEven</FuncName>
680 <PyFunc><![CDATA[import SyrComponent_idl]]></PyFunc>
681 <PyFunc><![CDATA[def ifNotEven( SyrComponent , N , K ) :]]></PyFunc>
682 <PyFunc><![CDATA[ Even = SyrComponent.C_ISEVEN( N )]]></PyFunc>
683 <PyFunc><![CDATA[ Odd = 1 - Even]]></PyFunc>
684 <PyFunc><![CDATA[ return Odd,Even,SyrComponent,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
685 <creation-date>19/1/2005 - 13:1:13</creation-date>
686 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
687 <editor-release>1.04</editor-release>
689 <container>?</container>
690 <comment>ifNotEven</comment>
691 <x-position>407</x-position>
692 <y-position>282</y-position> </node>
694 <component-name>?</component-name>
695 <interface-name>?</interface-name>
696 <node-name>EndOfifNotEven</node-name>
698 <coupled-node>ifNotEven</coupled-node>
700 <service-name>EndOfifNotEven</service-name>
703 <inParameter-type>long</inParameter-type>
704 <inParameter-name>N</inParameter-name> </inParameter>
706 <inParameter-type>long</inParameter-type>
707 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
710 <outParameter-type>long</outParameter-type>
711 <outParameter-name>N</outParameter-name> </outParameter>
713 <outParameter-type>long</outParameter-type>
714 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
718 <FuncName>?</FuncName>
719 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
720 <creation-date>19/1/2005 - 13:1:13</creation-date>
721 <lastmodification-date>19/1/2005 - 13:1:13</lastmodification-date>
722 <editor-release>1.04</editor-release>
724 <container>?</container>
725 <comment>Compute Node</comment>
726 <x-position>1220</x-position>
727 <y-position>331</y-position> </node> </node-list>
730 <fromnode-name>m3</fromnode-name>
731 <fromserviceparameter-name>anInteger</fromserviceparameter-name>
732 <tonode-name>m3incr</tonode-name>
733 <toserviceparameter-name>aCount</toserviceparameter-name>
734 <coord-list/> </link>
736 <fromnode-name>m3incr</fromnode-name>
737 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
738 <tonode-name>EndOfifNotEven</tonode-name>
739 <toserviceparameter-name>N</toserviceparameter-name>
746 <y>100</y> </coord> </coord-list> </link>
748 <fromnode-name>incra</fromnode-name>
749 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
750 <tonode-name>EndOffori</tonode-name>
751 <toserviceparameter-name>K</toserviceparameter-name>
752 <coord-list/> </link>
754 <fromnode-name>div2</fromnode-name>
755 <fromserviceparameter-name>anInteger</fromserviceparameter-name>
756 <tonode-name>EndOfwhileEven</tonode-name>
757 <toserviceparameter-name>N</toserviceparameter-name>
758 <coord-list/> </link>
760 <fromnode-name>incrb</fromnode-name>
761 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
762 <tonode-name>EndOfwhileEven</tonode-name>
763 <toserviceparameter-name>K</toserviceparameter-name>
770 <y>645</y> </coord> </coord-list> </link>
772 <fromnode-name>SyrComponent</fromnode-name>
773 <fromserviceparameter-name>SyrComponentobjref</fromserviceparameter-name>
774 <tonode-name>forN</tonode-name>
775 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
788 <y>71</y> </coord> </coord-list> </link>
790 <fromnode-name>forN</fromnode-name>
791 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
792 <tonode-name>EndOfforN</tonode-name>
793 <toserviceparameter-name>DoLoop</toserviceparameter-name>
794 <coord-list/> </link>
796 <fromnode-name>forN</fromnode-name>
797 <fromserviceparameter-name>N</fromserviceparameter-name>
798 <tonode-name>whileNotOne</tonode-name>
799 <toserviceparameter-name>N</toserviceparameter-name>
800 <coord-list/> </link>
802 <fromnode-name>forN</fromnode-name>
803 <fromserviceparameter-name>N</fromserviceparameter-name>
804 <tonode-name>EndOfforN</tonode-name>
805 <toserviceparameter-name>N</toserviceparameter-name>
806 <coord-list/> </link>
808 <fromnode-name>forN</fromnode-name>
809 <fromserviceparameter-name>K</fromserviceparameter-name>
810 <tonode-name>whileNotOne</tonode-name>
811 <toserviceparameter-name>K</toserviceparameter-name>
812 <coord-list/> </link>
814 <fromnode-name>forN</fromnode-name>
815 <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
816 <tonode-name>EndOfforN</tonode-name>
817 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
818 <coord-list/> </link>
820 <fromnode-name>forN</fromnode-name>
821 <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
822 <tonode-name>whileNotOne</tonode-name>
823 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
830 <y>373</y> </coord> </coord-list> </link>
832 <fromnode-name>forN</fromnode-name>
833 <fromserviceparameter-name>min</fromserviceparameter-name>
834 <tonode-name>EndOfforN</tonode-name>
835 <toserviceparameter-name>min</toserviceparameter-name>
836 <coord-list/> </link>
838 <fromnode-name>forN</fromnode-name>
839 <fromserviceparameter-name>max</fromserviceparameter-name>
840 <tonode-name>EndOfforN</tonode-name>
841 <toserviceparameter-name>max</toserviceparameter-name>
842 <coord-list/> </link>
844 <fromnode-name>EndOfforN</fromnode-name>
845 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
846 <tonode-name>forN</tonode-name>
847 <toserviceparameter-name>DoLoop</toserviceparameter-name>
848 <coord-list/> </link>
850 <fromnode-name>whileNotOne</fromnode-name>
851 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
852 <tonode-name>EndOfwhileNotOne</tonode-name>
853 <toserviceparameter-name>DoLoop</toserviceparameter-name>
854 <coord-list/> </link>
856 <fromnode-name>whileNotOne</fromnode-name>
857 <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
858 <tonode-name>EndOfwhileNotOne</tonode-name>
859 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
860 <coord-list/> </link>
862 <fromnode-name>whileNotOne</fromnode-name>
863 <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
864 <tonode-name>ifNotEven</tonode-name>
865 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
866 <coord-list/> </link>
868 <fromnode-name>whileNotOne</fromnode-name>
869 <fromserviceparameter-name>N</fromserviceparameter-name>
870 <tonode-name>ifNotEven</tonode-name>
871 <toserviceparameter-name>N</toserviceparameter-name>
872 <coord-list/> </link>
874 <fromnode-name>whileNotOne</fromnode-name>
875 <fromserviceparameter-name>K</fromserviceparameter-name>
876 <tonode-name>ifNotEven</tonode-name>
877 <toserviceparameter-name>K</toserviceparameter-name>
878 <coord-list/> </link>
880 <fromnode-name>EndOfwhileNotOne</fromnode-name>
881 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
882 <tonode-name>whileNotOne</tonode-name>
883 <toserviceparameter-name>DoLoop</toserviceparameter-name>
884 <coord-list/> </link>
886 <fromnode-name>EndOfwhileNotOne</fromnode-name>
887 <fromserviceparameter-name>K</fromserviceparameter-name>
888 <tonode-name>EndOfforN</tonode-name>
889 <toserviceparameter-name>K</toserviceparameter-name>
890 <coord-list/> </link>
892 <fromnode-name>fori</fromnode-name>
893 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
894 <tonode-name>EndOffori</tonode-name>
895 <toserviceparameter-name>DoLoop</toserviceparameter-name>
896 <coord-list/> </link>
898 <fromnode-name>fori</fromnode-name>
899 <fromserviceparameter-name>i</fromserviceparameter-name>
900 <tonode-name>EndOffori</tonode-name>
901 <toserviceparameter-name>i</toserviceparameter-name>
902 <coord-list/> </link>
904 <fromnode-name>fori</fromnode-name>
905 <fromserviceparameter-name>K</fromserviceparameter-name>
906 <tonode-name>incra</tonode-name>
907 <toserviceparameter-name>aCount</toserviceparameter-name>
908 <coord-list/> </link>
910 <fromnode-name>EndOffori</fromnode-name>
911 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
912 <tonode-name>fori</tonode-name>
913 <toserviceparameter-name>DoLoop</toserviceparameter-name>
914 <coord-list/> </link>
916 <fromnode-name>EndOffori</fromnode-name>
917 <fromserviceparameter-name>K</fromserviceparameter-name>
918 <tonode-name>EndOfifNotEven</tonode-name>
919 <toserviceparameter-name>K</toserviceparameter-name>
926 <y>289</y> </coord> </coord-list> </link>
928 <fromnode-name>whileEven</fromnode-name>
929 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
930 <tonode-name>EndOfwhileEven</tonode-name>
931 <toserviceparameter-name>DoLoop</toserviceparameter-name>
932 <coord-list/> </link>
934 <fromnode-name>whileEven</fromnode-name>
935 <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
936 <tonode-name>EndOfwhileEven</tonode-name>
937 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
938 <coord-list/> </link>
940 <fromnode-name>whileEven</fromnode-name>
941 <fromserviceparameter-name>N</fromserviceparameter-name>
942 <tonode-name>div2</tonode-name>
943 <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
944 <coord-list/> </link>
946 <fromnode-name>whileEven</fromnode-name>
947 <fromserviceparameter-name>K</fromserviceparameter-name>
948 <tonode-name>incrb</tonode-name>
949 <toserviceparameter-name>aCount</toserviceparameter-name>
956 <y>522</y> </coord> </coord-list> </link>
958 <fromnode-name>EndOfwhileEven</fromnode-name>
959 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
960 <tonode-name>whileEven</tonode-name>
961 <toserviceparameter-name>DoLoop</toserviceparameter-name>
962 <coord-list/> </link>
964 <fromnode-name>EndOfwhileEven</fromnode-name>
965 <fromserviceparameter-name>N</fromserviceparameter-name>
966 <tonode-name>EndOfifNotEven</tonode-name>
967 <toserviceparameter-name>N</toserviceparameter-name>
974 <y>502</y> </coord> </coord-list> </link>
976 <fromnode-name>EndOfwhileEven</fromnode-name>
977 <fromserviceparameter-name>K</fromserviceparameter-name>
978 <tonode-name>EndOfifNotEven</tonode-name>
979 <toserviceparameter-name>K</toserviceparameter-name>
986 <y>522</y> </coord> </coord-list> </link>
988 <fromnode-name>ifNotEven</fromnode-name>
989 <fromserviceparameter-name>Odd</fromserviceparameter-name>
990 <tonode-name>m3</tonode-name>
991 <toserviceparameter-name>Gate</toserviceparameter-name>
998 <y>313</y> </coord> </coord-list> </link>
1000 <fromnode-name>ifNotEven</fromnode-name>
1001 <fromserviceparameter-name>Odd</fromserviceparameter-name>
1002 <tonode-name>fori</tonode-name>
1003 <toserviceparameter-name>Gate</toserviceparameter-name>
1004 <coord-list/> </link>
1006 <fromnode-name>ifNotEven</fromnode-name>
1007 <fromserviceparameter-name>Even</fromserviceparameter-name>
1008 <tonode-name>whileEven</tonode-name>
1009 <toserviceparameter-name>Gate</toserviceparameter-name>
1016 <y>334</y> </coord> </coord-list> </link>
1018 <fromnode-name>ifNotEven</fromnode-name>
1019 <fromserviceparameter-name>SyrComponent</fromserviceparameter-name>
1020 <tonode-name>whileEven</tonode-name>
1021 <toserviceparameter-name>SyrComponent</toserviceparameter-name>
1028 <y>354</y> </coord> </coord-list> </link>
1030 <fromnode-name>ifNotEven</fromnode-name>
1031 <fromserviceparameter-name>N</fromserviceparameter-name>
1032 <tonode-name>whileEven</tonode-name>
1033 <toserviceparameter-name>N</toserviceparameter-name>
1040 <y>373</y> </coord> </coord-list> </link>
1042 <fromnode-name>ifNotEven</fromnode-name>
1043 <fromserviceparameter-name>N</fromserviceparameter-name>
1044 <tonode-name>m3</tonode-name>
1045 <toserviceparameter-name>anOddInteger</toserviceparameter-name>
1052 <y>372</y> </coord> </coord-list> </link>
1054 <fromnode-name>ifNotEven</fromnode-name>
1055 <fromserviceparameter-name>K</fromserviceparameter-name>
1056 <tonode-name>whileEven</tonode-name>
1057 <toserviceparameter-name>K</toserviceparameter-name>
1064 <y>396</y> </coord> </coord-list> </link>
1066 <fromnode-name>ifNotEven</fromnode-name>
1067 <fromserviceparameter-name>K</fromserviceparameter-name>
1068 <tonode-name>fori</tonode-name>
1069 <toserviceparameter-name>K</toserviceparameter-name>
1076 <y>395</y> </coord> </coord-list> </link>
1078 <fromnode-name>ifNotEven</fromnode-name>
1079 <fromserviceparameter-name>Default</fromserviceparameter-name>
1080 <tonode-name>EndOfifNotEven</tonode-name>
1081 <toserviceparameter-name>Default</toserviceparameter-name>
1094 <y>418</y> </coord> </coord-list> </link>
1096 <fromnode-name>EndOfifNotEven</fromnode-name>
1097 <fromserviceparameter-name>N</fromserviceparameter-name>
1098 <tonode-name>EndOfwhileNotOne</tonode-name>
1099 <toserviceparameter-name>N</toserviceparameter-name>
1100 <coord-list/> </link>
1102 <fromnode-name>EndOfifNotEven</fromnode-name>
1103 <fromserviceparameter-name>K</fromserviceparameter-name>
1104 <tonode-name>EndOfwhileNotOne</tonode-name>
1105 <toserviceparameter-name>K</toserviceparameter-name>
1106 <coord-list/> </link> </link-list>
1109 <fromnode-name>SyrStruct</fromnode-name>
1110 <fromserviceparameter-name>SyrComponent__aContainer</fromserviceparameter-name>
1111 <tonode-name>SyrComponent</tonode-name>
1112 <toserviceparameter-name>aContainer</toserviceparameter-name>
1114 <value-type>18</value-type>
1115 <value>FactoryServer</value> </data-value>
1116 <coord-list/> </data>
1118 <fromnode-name>SyrStruct</fromnode-name>
1119 <fromserviceparameter-name>SyrComponent__aComponent</fromserviceparameter-name>
1120 <tonode-name>SyrComponent</tonode-name>
1121 <toserviceparameter-name>aComponent</toserviceparameter-name>
1123 <value-type>18</value-type>
1124 <value>SyrComponent</value> </data-value>
1125 <coord-list/> </data>
1127 <fromnode-name>SyrStruct</fromnode-name>
1128 <fromserviceparameter-name>forN__N</fromserviceparameter-name>
1129 <tonode-name>forN</tonode-name>
1130 <toserviceparameter-name>N</toserviceparameter-name>
1132 <value-type>3</value-type>
1133 <value>0</value> </data-value>
1134 <coord-list/> </data>
1136 <fromnode-name>SyrStruct</fromnode-name>
1137 <fromserviceparameter-name>forN__K</fromserviceparameter-name>
1138 <tonode-name>forN</tonode-name>
1139 <toserviceparameter-name>K</toserviceparameter-name>
1141 <value-type>3</value-type>
1142 <value>0</value> </data-value>
1143 <coord-list/> </data>
1145 <fromnode-name>SyrStruct</fromnode-name>
1146 <fromserviceparameter-name>forN__min</fromserviceparameter-name>
1147 <tonode-name>forN</tonode-name>
1148 <toserviceparameter-name>min</toserviceparameter-name>
1150 <value-type>3</value-type>
1151 <value>5</value> </data-value>
1152 <coord-list/> </data>
1154 <fromnode-name>SyrStruct</fromnode-name>
1155 <fromserviceparameter-name>forN__max</fromserviceparameter-name>
1156 <tonode-name>forN</tonode-name>
1157 <toserviceparameter-name>max</toserviceparameter-name>
1159 <value-type>3</value-type>
1160 <value>9</value> </data-value>
1161 <coord-list/> </data>
1163 <fromnode-name>SyrStruct</fromnode-name>
1164 <fromserviceparameter-name>fori__i</fromserviceparameter-name>
1165 <tonode-name>fori</tonode-name>
1166 <toserviceparameter-name>i</toserviceparameter-name>
1168 <value-type>3</value-type>
1169 <value>0</value> </data-value>
1170 <coord-list/> </data> </data-list> </dataflow></supergraph>