6 <component-name>?</component-name>
7 <interface-name>?</interface-name>
8 <node-name>GraphSyrControlDefault</node-name>
10 <coupled-node>?</coupled-node>
12 <service-name>GraphSyrControlDefault</service-name>
15 <inParameter-type>long</inParameter-type>
16 <inParameter-name>label_begin__NB</inParameter-name> </inParameter>
18 <inParameter-type>long</inParameter-type>
19 <inParameter-name>label_begin__KB</inParameter-name> </inParameter> </inParameter-list>
22 <outParameter-type>long</outParameter-type>
23 <outParameter-name>test__Incr</outParameter-name> </outParameter>
25 <outParameter-type>long</outParameter-type>
26 <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
29 <creation-date>19/3/2003 - 16:49:51</creation-date>
30 <lastmodification-date>20/1/2005 - 13:15:44</lastmodification-date>
31 <editor-release>1.04</editor-release>
33 <container>?</container>
34 <comment>Syracuse algorithm</comment>
35 <x-position>0</x-position>
36 <y-position>0</y-position> </node> </info-list>
39 <component-name>SyrComponent</component-name>
40 <interface-name>SyrComponent</interface-name>
41 <node-name>test_ISEVEN</node-name>
43 <coupled-node>?</coupled-node>
45 <service-name>C_ISEVEN</service-name>
48 <inParameter-type>long</inParameter-type>
49 <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
52 <outParameter-type>long</outParameter-type>
53 <outParameter-name>BoolEven</outParameter-name> </outParameter> </outParameter-list> </service>
56 <creation-date>20/1/2005 - 13:15:28</creation-date>
57 <lastmodification-date>20/1/2005 - 13:15:28</lastmodification-date>
58 <editor-release>1.04</editor-release>
60 <container>localhost/FactoryServer</container>
61 <comment>C_ISEVEN from SyrComponent</comment>
62 <x-position>204</x-position>
63 <y-position>444</y-position> </node>
65 <component-name>SyrComponent</component-name>
66 <interface-name>SyrComponent</interface-name>
67 <node-name>test_ISONE</node-name>
69 <coupled-node>?</coupled-node>
71 <service-name>C_ISONE</service-name>
74 <inParameter-type>long</inParameter-type>
75 <inParameter-name>anInteger</inParameter-name> </inParameter> </inParameter-list>
78 <outParameter-type>long</outParameter-type>
79 <outParameter-name>BoolOne</outParameter-name> </outParameter> </outParameter-list> </service>
82 <creation-date>20/1/2005 - 13:15:28</creation-date>
83 <lastmodification-date>20/1/2005 - 13:15:28</lastmodification-date>
84 <editor-release>1.04</editor-release>
86 <container>localhost/FactoryServer</container>
87 <comment>C_ISONE from SyrComponent</comment>
88 <x-position>201</x-position>
89 <y-position>52</y-position> </node>
91 <component-name>SyrComponent</component-name>
92 <interface-name>SyrComponent</interface-name>
93 <node-name>m3p1</node-name>
95 <coupled-node>?</coupled-node>
97 <service-name>C_M3P1</service-name>
100 <inParameter-type>long</inParameter-type>
101 <inParameter-name>anOddInteger</inParameter-name> </inParameter> </inParameter-list>
104 <outParameter-type>long</outParameter-type>
105 <outParameter-name>anEvenInteger</outParameter-name> </outParameter> </outParameter-list> </service>
108 <creation-date>20/1/2005 - 13:15:28</creation-date>
109 <lastmodification-date>20/1/2005 - 13:15:28</lastmodification-date>
110 <editor-release>1.04</editor-release>
112 <container>localhost/FactoryServer</container>
113 <comment>C_M3P1 from SyrComponent</comment>
114 <x-position>806</x-position>
115 <y-position>19</y-position> </node>
117 <component-name>SyrComponent</component-name>
118 <interface-name>SyrComponent</interface-name>
119 <node-name>div2</node-name>
121 <coupled-node>?</coupled-node>
123 <service-name>C_DIV2</service-name>
126 <inParameter-type>long</inParameter-type>
127 <inParameter-name>anEvenInteger</inParameter-name> </inParameter> </inParameter-list>
130 <outParameter-type>long</outParameter-type>
131 <outParameter-name>anInteger</outParameter-name> </outParameter> </outParameter-list> </service>
134 <creation-date>20/1/2005 - 13:15:29</creation-date>
135 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
136 <editor-release>1.04</editor-release>
138 <container>localhost/FactoryServer</container>
139 <comment>C_DIV2 from SyrComponent</comment>
140 <x-position>803</x-position>
141 <y-position>451</y-position> </node>
143 <component-name>SyrComponent</component-name>
144 <interface-name>SyrComponent</interface-name>
145 <node-name>incr</node-name>
147 <coupled-node>?</coupled-node>
149 <service-name>C_INCR</service-name>
152 <inParameter-type>long</inParameter-type>
153 <inParameter-name>aCount</inParameter-name> </inParameter> </inParameter-list>
156 <outParameter-type>long</outParameter-type>
157 <outParameter-name>aNewCount</outParameter-name> </outParameter> </outParameter-list> </service>
160 <creation-date>20/1/2005 - 13:15:29</creation-date>
161 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
162 <editor-release>1.04</editor-release>
164 <container>localhost/FactoryServer</container>
165 <comment>C_INCR from SyrComponent</comment>
166 <x-position>802</x-position>
167 <y-position>170</y-position> </node>
169 <component-name>?</component-name>
170 <interface-name>?</interface-name>
171 <node-name>label_begin</node-name>
173 <coupled-node>?</coupled-node>
175 <service-name>label_begin</service-name>
178 <inParameter-type>long</inParameter-type>
179 <inParameter-name>NB</inParameter-name> </inParameter>
181 <inParameter-type>long</inParameter-type>
182 <inParameter-name>KB</inParameter-name> </inParameter> </inParameter-list>
185 <outParameter-type>long</outParameter-type>
186 <outParameter-name>NT</outParameter-name> </outParameter>
188 <outParameter-type>long</outParameter-type>
189 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
193 <FuncName>label_begin</FuncName>
194 <PyFunc><![CDATA[def label_begin( NB , KB ):]]></PyFunc>
195 <PyFunc><![CDATA[ print "label_begin",NB,KB]]></PyFunc>
196 <PyFunc><![CDATA[ return NB,KB]]></PyFunc> </PyFunction> </PyFunction-list>
197 <creation-date>20/1/2005 - 13:15:29</creation-date>
198 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
199 <editor-release>1.04</editor-release>
201 <container>?</container>
202 <comment>Python function</comment>
203 <x-position>12</x-position>
204 <y-position>264</y-position> </node>
206 <component-name>?</component-name>
207 <interface-name>?</interface-name>
208 <node-name>label_test</node-name>
210 <coupled-node>?</coupled-node>
212 <service-name>label_test</service-name>
215 <inParameter-type>long</inParameter-type>
216 <inParameter-name>ValEven</inParameter-name> </inParameter>
218 <inParameter-type>long</inParameter-type>
219 <inParameter-name>ValOne</inParameter-name> </inParameter>
221 <inParameter-type>long</inParameter-type>
222 <inParameter-name>NT</inParameter-name> </inParameter>
224 <inParameter-type>long</inParameter-type>
225 <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
228 <outParameter-type>long</outParameter-type>
229 <outParameter-name>ValEven</outParameter-name> </outParameter>
231 <outParameter-type>long</outParameter-type>
232 <outParameter-name>ValOne</outParameter-name> </outParameter>
234 <outParameter-type>long</outParameter-type>
235 <outParameter-name>NT</outParameter-name> </outParameter>
237 <outParameter-type>long</outParameter-type>
238 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
242 <FuncName>label_test</FuncName>
243 <PyFunc><![CDATA[def label_test( ValEven , ValOne , NB , KB ):]]></PyFunc>
244 <PyFunc><![CDATA[ print "label_begin",ValEven,ValOne,NB,KB]]></PyFunc>
245 <PyFunc><![CDATA[ return ValEven,ValOne,NB,KB]]></PyFunc> </PyFunction> </PyFunction-list>
246 <creation-date>20/1/2005 - 13:15:29</creation-date>
247 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
248 <editor-release>1.04</editor-release>
250 <container>?</container>
251 <comment>Python function</comment>
252 <x-position>415</x-position>
253 <y-position>206</y-position> </node>
255 <component-name>?</component-name>
256 <interface-name>?</interface-name>
257 <node-name>test</node-name>
259 <coupled-node>EndSwitch_OneEven</coupled-node>
261 <service-name>test</service-name>
264 <inParameter-type>long</inParameter-type>
265 <inParameter-name>ValOne</inParameter-name> </inParameter>
267 <inParameter-type>long</inParameter-type>
268 <inParameter-name>ValEven</inParameter-name> </inParameter>
270 <inParameter-type>long</inParameter-type>
271 <inParameter-name>NT</inParameter-name> </inParameter>
273 <inParameter-type>long</inParameter-type>
274 <inParameter-name>KT</inParameter-name> </inParameter> </inParameter-list>
277 <outParameter-type>long</outParameter-type>
278 <outParameter-name>Incr</outParameter-name> </outParameter>
280 <outParameter-type>long</outParameter-type>
281 <outParameter-name>Even</outParameter-name> </outParameter>
283 <outParameter-type>long</outParameter-type>
284 <outParameter-name>Odd</outParameter-name> </outParameter>
286 <outParameter-type>long</outParameter-type>
287 <outParameter-name>N</outParameter-name> </outParameter>
289 <outParameter-type>long</outParameter-type>
290 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
294 <FuncName>Switch_OneEven</FuncName>
295 <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
296 <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
297 <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
298 <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
299 <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
300 <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
301 <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
302 <PyFunc><![CDATA[ else :]]></PyFunc>
303 <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
304 <PyFunc><![CDATA[ else :]]></PyFunc>
305 <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
306 <PyFunc><![CDATA[ Even = 0]]></PyFunc>
307 <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
308 <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
309 <PyFunc><![CDATA[ return Incr,Even,Odd,NT,KT]]></PyFunc> </PyFunction> </PyFunction-list>
310 <creation-date>20/1/2005 - 13:15:29</creation-date>
311 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
312 <editor-release>1.04</editor-release>
314 <container>?</container>
315 <comment>Compute Node</comment>
316 <x-position>597</x-position>
317 <y-position>251</y-position> </node>
319 <component-name>?</component-name>
320 <interface-name>?</interface-name>
321 <node-name>EndSwitch_OneEven</node-name>
323 <coupled-node>test</coupled-node>
325 <service-name>EndSwitch_OneEven</service-name>
328 <inParameter-type>long</inParameter-type>
329 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
332 <outParameter-type>long</outParameter-type>
333 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
337 <FuncName>?</FuncName>
338 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
339 <creation-date>20/1/2005 - 13:15:29</creation-date>
340 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
341 <editor-release>1.04</editor-release>
343 <container>?</container>
344 <comment>Compute Node</comment>
345 <x-position>1074</x-position>
346 <y-position>367</y-position> </node>
348 <component-name>?</component-name>
349 <interface-name>?</interface-name>
350 <node-name>control_m3p1</node-name>
352 <coupled-node>label_test</coupled-node>
354 <service-name>control_m3p1</service-name>
357 <inParameter-type>long</inParameter-type>
358 <inParameter-name>N</inParameter-name> </inParameter>
360 <inParameter-type>long</inParameter-type>
361 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
364 <outParameter-type>long</outParameter-type>
365 <outParameter-name>ValOne</outParameter-name> </outParameter>
367 <outParameter-type>long</outParameter-type>
368 <outParameter-name>ValEven</outParameter-name> </outParameter>
370 <outParameter-type>long</outParameter-type>
371 <outParameter-name>NT</outParameter-name> </outParameter>
373 <outParameter-type>long</outParameter-type>
374 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
378 <FuncName>control_m3p1</FuncName>
379 <PyFunc><![CDATA[def control_m3p1( N , K ):]]></PyFunc>
380 <PyFunc><![CDATA[ return 0,1,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
381 <creation-date>20/1/2005 - 13:15:29</creation-date>
382 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
383 <editor-release>1.04</editor-release>
385 <container>?</container>
386 <comment>Compute Node</comment>
387 <x-position>1002</x-position>
388 <y-position>64</y-position> </node>
390 <component-name>?</component-name>
391 <interface-name>?</interface-name>
392 <node-name>control_div2</node-name>
394 <coupled-node>label_begin</coupled-node>
396 <service-name>control_div2</service-name>
399 <inParameter-type>long</inParameter-type>
400 <inParameter-name>N</inParameter-name> </inParameter>
402 <inParameter-type>long</inParameter-type>
403 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
406 <outParameter-type>long</outParameter-type>
407 <outParameter-name>NB</outParameter-name> </outParameter>
409 <outParameter-type>long</outParameter-type>
410 <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
414 <FuncName>control_div2</FuncName>
415 <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
416 <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
417 <creation-date>20/1/2005 - 13:15:29</creation-date>
418 <lastmodification-date>20/1/2005 - 13:15:29</lastmodification-date>
419 <editor-release>1.04</editor-release>
421 <container>?</container>
422 <comment>Compute Node</comment>
423 <x-position>1013</x-position>
424 <y-position>496</y-position> </node> </node-list>
427 <fromnode-name>test_ISEVEN</fromnode-name>
428 <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
429 <tonode-name>label_test</tonode-name>
430 <toserviceparameter-name>ValEven</toserviceparameter-name>
437 <y>524</y> </coord> </coord-list> </link>
439 <fromnode-name>test_ISONE</fromnode-name>
440 <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
441 <tonode-name>label_test</tonode-name>
442 <toserviceparameter-name>ValOne</toserviceparameter-name>
449 <y>133</y> </coord> </coord-list> </link>
451 <fromnode-name>m3p1</fromnode-name>
452 <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
453 <tonode-name>control_m3p1</tonode-name>
454 <toserviceparameter-name>N</toserviceparameter-name>
455 <coord-list/> </link>
457 <fromnode-name>div2</fromnode-name>
458 <fromserviceparameter-name>anInteger</fromserviceparameter-name>
459 <tonode-name>control_div2</tonode-name>
460 <toserviceparameter-name>N</toserviceparameter-name>
461 <coord-list/> </link>
463 <fromnode-name>incr</fromnode-name>
464 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
465 <tonode-name>control_m3p1</tonode-name>
466 <toserviceparameter-name>K</toserviceparameter-name>
473 <y>250</y> </coord> </coord-list> </link>
475 <fromnode-name>incr</fromnode-name>
476 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
477 <tonode-name>control_div2</tonode-name>
478 <toserviceparameter-name>K</toserviceparameter-name>
485 <y>250</y> </coord> </coord-list> </link>
487 <fromnode-name>label_begin</fromnode-name>
488 <fromserviceparameter-name>NT</fromserviceparameter-name>
489 <tonode-name>label_test</tonode-name>
490 <toserviceparameter-name>NT</toserviceparameter-name>
491 <coord-list/> </link>
493 <fromnode-name>label_begin</fromnode-name>
494 <fromserviceparameter-name>NT</fromserviceparameter-name>
495 <tonode-name>test_ISEVEN</tonode-name>
496 <toserviceparameter-name>anInteger</toserviceparameter-name>
503 <y>345</y> </coord> </coord-list> </link>
505 <fromnode-name>label_begin</fromnode-name>
506 <fromserviceparameter-name>NT</fromserviceparameter-name>
507 <tonode-name>test_ISONE</tonode-name>
508 <toserviceparameter-name>anInteger</toserviceparameter-name>
515 <y>345</y> </coord> </coord-list> </link>
517 <fromnode-name>label_begin</fromnode-name>
518 <fromserviceparameter-name>KT</fromserviceparameter-name>
519 <tonode-name>label_test</tonode-name>
520 <toserviceparameter-name>KT</toserviceparameter-name>
521 <coord-list/> </link>
523 <fromnode-name>label_test</fromnode-name>
524 <fromserviceparameter-name>ValEven</fromserviceparameter-name>
525 <tonode-name>test</tonode-name>
526 <toserviceparameter-name>ValEven</toserviceparameter-name>
527 <coord-list/> </link>
529 <fromnode-name>label_test</fromnode-name>
530 <fromserviceparameter-name>ValOne</fromserviceparameter-name>
531 <tonode-name>test</tonode-name>
532 <toserviceparameter-name>ValOne</toserviceparameter-name>
533 <coord-list/> </link>
535 <fromnode-name>label_test</fromnode-name>
536 <fromserviceparameter-name>NT</fromserviceparameter-name>
537 <tonode-name>test</tonode-name>
538 <toserviceparameter-name>NT</toserviceparameter-name>
539 <coord-list/> </link>
541 <fromnode-name>label_test</fromnode-name>
542 <fromserviceparameter-name>KT</fromserviceparameter-name>
543 <tonode-name>test</tonode-name>
544 <toserviceparameter-name>KT</toserviceparameter-name>
545 <coord-list/> </link>
547 <fromnode-name>test</fromnode-name>
548 <fromserviceparameter-name>Even</fromserviceparameter-name>
549 <tonode-name>div2</tonode-name>
550 <toserviceparameter-name>Gate</toserviceparameter-name>
557 <y>314</y> </coord> </coord-list> </link>
559 <fromnode-name>test</fromnode-name>
560 <fromserviceparameter-name>Odd</fromserviceparameter-name>
561 <tonode-name>m3p1</tonode-name>
562 <toserviceparameter-name>Gate</toserviceparameter-name>
569 <y>343</y> </coord> </coord-list> </link>
571 <fromnode-name>test</fromnode-name>
572 <fromserviceparameter-name>N</fromserviceparameter-name>
573 <tonode-name>m3p1</tonode-name>
574 <toserviceparameter-name>anOddInteger</toserviceparameter-name>
581 <y>371</y> </coord> </coord-list> </link>
583 <fromnode-name>test</fromnode-name>
584 <fromserviceparameter-name>N</fromserviceparameter-name>
585 <tonode-name>div2</tonode-name>
586 <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
593 <y>371</y> </coord> </coord-list> </link>
595 <fromnode-name>test</fromnode-name>
596 <fromserviceparameter-name>K</fromserviceparameter-name>
597 <tonode-name>EndSwitch_OneEven</tonode-name>
598 <toserviceparameter-name>K</toserviceparameter-name>
599 <coord-list/> </link>
601 <fromnode-name>test</fromnode-name>
602 <fromserviceparameter-name>K</fromserviceparameter-name>
603 <tonode-name>incr</tonode-name>
604 <toserviceparameter-name>aCount</toserviceparameter-name>
611 <y>400</y> </coord> </coord-list> </link>
613 <fromnode-name>test</fromnode-name>
614 <fromserviceparameter-name>Default</fromserviceparameter-name>
615 <tonode-name>EndSwitch_OneEven</tonode-name>
616 <toserviceparameter-name>Default</toserviceparameter-name>
617 <coord-list/> </link>
619 <fromnode-name>control_m3p1</fromnode-name>
620 <fromserviceparameter-name>Gate</fromserviceparameter-name>
621 <tonode-name>label_test</tonode-name>
622 <toserviceparameter-name>Gate</toserviceparameter-name>
635 <y>219</y> </coord> </coord-list> </link>
637 <fromnode-name>control_div2</fromnode-name>
638 <fromserviceparameter-name>Gate</fromserviceparameter-name>
639 <tonode-name>label_begin</tonode-name>
640 <toserviceparameter-name>Gate</toserviceparameter-name>
653 <y>592</y> </coord> </coord-list> </link> </link-list>
656 <fromnode-name>GraphSyrControlDefault</fromnode-name>
657 <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
658 <tonode-name>label_begin</tonode-name>
659 <toserviceparameter-name>NB</toserviceparameter-name>
661 <value-type>3</value-type>
662 <value>7</value> </data-value>
663 <coord-list/> </data>
665 <fromnode-name>GraphSyrControlDefault</fromnode-name>
666 <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
667 <tonode-name>label_begin</tonode-name>
668 <toserviceparameter-name>KB</toserviceparameter-name>
670 <value-type>3</value-type>
671 <value>0</value> </data-value>
672 <coord-list/> </data> </data-list> </dataflow></supergraph>