6 <component-name>?</component-name>
7 <interface-name>?</interface-name>
8 <node-name>GraphGOTO_2_2</node-name>
10 <coupled-node>?</coupled-node>
12 <service-name>GraphGOTO_2_2</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>EndSwitch_OneEven__Finished</outParameter-name> </outParameter>
25 <outParameter-type>long</outParameter-type>
26 <outParameter-name>EndSwitch_OneEven__K</outParameter-name> </outParameter> </outParameter-list> </service>
29 <creation-date>17/1/2005 - 13:44:46</creation-date>
30 <lastmodification-date>19/1/2005 - 18:25:16</lastmodification-date>
31 <editor-release>2.0</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>19/1/2005 - 18:24:34</creation-date>
57 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
58 <editor-release>2.0</editor-release>
60 <container>localhost/FactoryServer</container>
61 <comment>C_ISEVEN from SyrComponent</comment>
62 <x-position>195</x-position>
63 <y-position>417</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>19/1/2005 - 18:24:34</creation-date>
83 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
84 <editor-release>2.0</editor-release>
86 <container>localhost/FactoryServer</container>
87 <comment>C_ISONE from SyrComponent</comment>
88 <x-position>201</x-position>
89 <y-position>145</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>19/1/2005 - 18:24:34</creation-date>
109 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
110 <editor-release>2.0</editor-release>
112 <container>localhost/FactoryServer</container>
113 <comment>C_M3P1 from SyrComponent</comment>
114 <x-position>861</x-position>
115 <y-position>46</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>19/1/2005 - 18:24:34</creation-date>
135 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
136 <editor-release>2.0</editor-release>
138 <container>localhost/FactoryServer</container>
139 <comment>C_DIV2 from SyrComponent</comment>
140 <x-position>858</x-position>
141 <y-position>466</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>19/1/2005 - 18:24:34</creation-date>
161 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
162 <editor-release>2.0</editor-release>
164 <container>localhost/FactoryServer</container>
165 <comment>C_INCR from SyrComponent</comment>
166 <x-position>865</x-position>
167 <y-position>169</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>19/1/2005 - 18:24:34</creation-date>
198 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
199 <editor-release>2.0</editor-release>
201 <container>?</container>
202 <comment>Python function</comment>
203 <x-position>9</x-position>
204 <y-position>250</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>19/1/2005 - 18:24:34</creation-date>
247 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
248 <editor-release>2.0</editor-release>
250 <container>?</container>
251 <comment>Python function</comment>
252 <x-position>396</x-position>
253 <y-position>193</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>Finished</outParameter-name> </outParameter>
280 <outParameter-type>long</outParameter-type>
281 <outParameter-name>Incr</outParameter-name> </outParameter>
283 <outParameter-type>long</outParameter-type>
284 <outParameter-name>Even</outParameter-name> </outParameter>
286 <outParameter-type>long</outParameter-type>
287 <outParameter-name>Odd</outParameter-name> </outParameter>
289 <outParameter-type>long</outParameter-type>
290 <outParameter-name>N</outParameter-name> </outParameter>
292 <outParameter-type>long</outParameter-type>
293 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
297 <FuncName>Switch_OneEven</FuncName>
298 <PyFunc><![CDATA[def Switch_OneEven( ValOne , ValEven , NT , KT ) :]]></PyFunc>
299 <PyFunc><![CDATA[ Finished = ValOne]]></PyFunc>
300 <PyFunc><![CDATA[ if Finished == 0 :]]></PyFunc>
301 <PyFunc><![CDATA[ Incr = 1]]></PyFunc>
302 <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
303 <PyFunc><![CDATA[ if Even == 0 :]]></PyFunc>
304 <PyFunc><![CDATA[ Odd = 1]]></PyFunc>
305 <PyFunc><![CDATA[ else :]]></PyFunc>
306 <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
307 <PyFunc><![CDATA[ else :]]></PyFunc>
308 <PyFunc><![CDATA[ Incr = 0]]></PyFunc>
309 <PyFunc><![CDATA[ Even = 0]]></PyFunc>
310 <PyFunc><![CDATA[ Odd = 0]]></PyFunc>
311 <PyFunc><![CDATA[ Even = ValEven]]></PyFunc>
312 <PyFunc><![CDATA[ return Finished,Incr,Even,Odd,NT,KT]]></PyFunc> </PyFunction> </PyFunction-list>
313 <creation-date>19/1/2005 - 18:24:34</creation-date>
314 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
315 <editor-release>2.0</editor-release>
317 <container>?</container>
318 <comment>Compute Node</comment>
319 <x-position>595</x-position>
320 <y-position>239</y-position> </node>
322 <component-name>?</component-name>
323 <interface-name>?</interface-name>
324 <node-name>EndSwitch_OneEven</node-name>
326 <coupled-node>test</coupled-node>
328 <service-name>EndSwitch_OneEven</service-name>
331 <inParameter-type>long</inParameter-type>
332 <inParameter-name>Finished</inParameter-name> </inParameter>
334 <inParameter-type>long</inParameter-type>
335 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
338 <outParameter-type>long</outParameter-type>
339 <outParameter-name>Finished</outParameter-name> </outParameter>
341 <outParameter-type>long</outParameter-type>
342 <outParameter-name>K</outParameter-name> </outParameter> </outParameter-list> </service>
346 <FuncName>EndSwitch_OneEven</FuncName>
347 <PyFunc><![CDATA[def EndSwitch_OneEven( Finished , K ):]]></PyFunc>
348 <PyFunc><![CDATA[ print "label_begin",Finished,K]]></PyFunc>
349 <PyFunc><![CDATA[ return Finished,K]]></PyFunc> </PyFunction> </PyFunction-list>
350 <creation-date>19/1/2005 - 18:24:34</creation-date>
351 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
352 <editor-release>2.0</editor-release>
354 <container>?</container>
355 <comment>Compute Node</comment>
356 <x-position>1256</x-position>
357 <y-position>305</y-position> </node>
359 <component-name>?</component-name>
360 <interface-name>?</interface-name>
361 <node-name>control_m3p1</node-name>
363 <coupled-node>label_test</coupled-node>
365 <service-name>control_m3p1</service-name>
368 <inParameter-type>long</inParameter-type>
369 <inParameter-name>N</inParameter-name> </inParameter>
371 <inParameter-type>long</inParameter-type>
372 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
375 <outParameter-type>long</outParameter-type>
376 <outParameter-name>ValOne</outParameter-name> </outParameter>
378 <outParameter-type>long</outParameter-type>
379 <outParameter-name>ValEven</outParameter-name> </outParameter>
381 <outParameter-type>long</outParameter-type>
382 <outParameter-name>NT</outParameter-name> </outParameter>
384 <outParameter-type>long</outParameter-type>
385 <outParameter-name>KT</outParameter-name> </outParameter> </outParameter-list> </service>
389 <FuncName>control_m3p1</FuncName>
390 <PyFunc><![CDATA[def control_m3p1( N , K ):]]></PyFunc>
391 <PyFunc><![CDATA[ return 0,1,N,K]]></PyFunc> </PyFunction> </PyFunction-list>
392 <creation-date>19/1/2005 - 18:24:34</creation-date>
393 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
394 <editor-release>2.0</editor-release>
396 <container>?</container>
397 <comment>Compute Node</comment>
398 <x-position>1073</x-position>
399 <y-position>87</y-position> </node>
401 <component-name>?</component-name>
402 <interface-name>?</interface-name>
403 <node-name>control_div2</node-name>
405 <coupled-node>label_begin</coupled-node>
407 <service-name>control_div2</service-name>
410 <inParameter-type>long</inParameter-type>
411 <inParameter-name>N</inParameter-name> </inParameter>
413 <inParameter-type>long</inParameter-type>
414 <inParameter-name>K</inParameter-name> </inParameter> </inParameter-list>
417 <outParameter-type>long</outParameter-type>
418 <outParameter-name>NB</outParameter-name> </outParameter>
420 <outParameter-type>long</outParameter-type>
421 <outParameter-name>KB</outParameter-name> </outParameter> </outParameter-list> </service>
425 <FuncName>control_div2</FuncName>
426 <PyFunc><![CDATA[def control_div2( N , NB ) :]]></PyFunc>
427 <PyFunc><![CDATA[ return N,NB]]></PyFunc> </PyFunction> </PyFunction-list>
428 <creation-date>19/1/2005 - 18:24:34</creation-date>
429 <lastmodification-date>19/1/2005 - 18:24:34</lastmodification-date>
430 <editor-release>2.0</editor-release>
432 <container>?</container>
433 <comment>Compute Node</comment>
434 <x-position>1128</x-position>
435 <y-position>453</y-position> </node> </node-list>
438 <fromnode-name>test_ISEVEN</fromnode-name>
439 <fromserviceparameter-name>BoolEven</fromserviceparameter-name>
440 <tonode-name>label_test</tonode-name>
441 <toserviceparameter-name>ValEven</toserviceparameter-name>
448 <y>498</y> </coord> </coord-list> </link>
450 <fromnode-name>test_ISONE</fromnode-name>
451 <fromserviceparameter-name>BoolOne</fromserviceparameter-name>
452 <tonode-name>label_test</tonode-name>
453 <toserviceparameter-name>ValOne</toserviceparameter-name>
460 <y>225</y> </coord> </coord-list> </link>
462 <fromnode-name>m3p1</fromnode-name>
463 <fromserviceparameter-name>anEvenInteger</fromserviceparameter-name>
464 <tonode-name>control_m3p1</tonode-name>
465 <toserviceparameter-name>N</toserviceparameter-name>
466 <coord-list/> </link>
468 <fromnode-name>div2</fromnode-name>
469 <fromserviceparameter-name>anInteger</fromserviceparameter-name>
470 <tonode-name>control_div2</tonode-name>
471 <toserviceparameter-name>N</toserviceparameter-name>
472 <coord-list/> </link>
474 <fromnode-name>incr</fromnode-name>
475 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
476 <tonode-name>control_m3p1</tonode-name>
477 <toserviceparameter-name>K</toserviceparameter-name>
484 <y>241</y> </coord> </coord-list> </link>
486 <fromnode-name>incr</fromnode-name>
487 <fromserviceparameter-name>aNewCount</fromserviceparameter-name>
488 <tonode-name>control_div2</tonode-name>
489 <toserviceparameter-name>K</toserviceparameter-name>
496 <y>239</y> </coord> </coord-list> </link>
498 <fromnode-name>label_begin</fromnode-name>
499 <fromserviceparameter-name>NT</fromserviceparameter-name>
500 <tonode-name>label_test</tonode-name>
501 <toserviceparameter-name>NT</toserviceparameter-name>
502 <coord-list/> </link>
504 <fromnode-name>label_begin</fromnode-name>
505 <fromserviceparameter-name>NT</fromserviceparameter-name>
506 <tonode-name>test_ISONE</tonode-name>
507 <toserviceparameter-name>anInteger</toserviceparameter-name>
514 <y>331</y> </coord> </coord-list> </link>
516 <fromnode-name>label_begin</fromnode-name>
517 <fromserviceparameter-name>NT</fromserviceparameter-name>
518 <tonode-name>test_ISEVEN</tonode-name>
519 <toserviceparameter-name>anInteger</toserviceparameter-name>
526 <y>331</y> </coord> </coord-list> </link>
528 <fromnode-name>label_begin</fromnode-name>
529 <fromserviceparameter-name>KT</fromserviceparameter-name>
530 <tonode-name>label_test</tonode-name>
531 <toserviceparameter-name>KT</toserviceparameter-name>
532 <coord-list/> </link>
534 <fromnode-name>label_test</fromnode-name>
535 <fromserviceparameter-name>ValEven</fromserviceparameter-name>
536 <tonode-name>test</tonode-name>
537 <toserviceparameter-name>ValEven</toserviceparameter-name>
538 <coord-list/> </link>
540 <fromnode-name>label_test</fromnode-name>
541 <fromserviceparameter-name>ValOne</fromserviceparameter-name>
542 <tonode-name>test</tonode-name>
543 <toserviceparameter-name>ValOne</toserviceparameter-name>
544 <coord-list/> </link>
546 <fromnode-name>label_test</fromnode-name>
547 <fromserviceparameter-name>NT</fromserviceparameter-name>
548 <tonode-name>test</tonode-name>
549 <toserviceparameter-name>NT</toserviceparameter-name>
550 <coord-list/> </link>
552 <fromnode-name>label_test</fromnode-name>
553 <fromserviceparameter-name>KT</fromserviceparameter-name>
554 <tonode-name>test</tonode-name>
555 <toserviceparameter-name>KT</toserviceparameter-name>
556 <coord-list/> </link>
558 <fromnode-name>test</fromnode-name>
559 <fromserviceparameter-name>Finished</fromserviceparameter-name>
560 <tonode-name>EndSwitch_OneEven</tonode-name>
561 <toserviceparameter-name>Finished</toserviceparameter-name>
562 <coord-list/> </link>
564 <fromnode-name>test</fromnode-name>
565 <fromserviceparameter-name>Incr</fromserviceparameter-name>
566 <tonode-name>incr</tonode-name>
567 <toserviceparameter-name>Gate</toserviceparameter-name>
568 <coord-list/> </link>
570 <fromnode-name>test</fromnode-name>
571 <fromserviceparameter-name>Even</fromserviceparameter-name>
572 <tonode-name>div2</tonode-name>
573 <toserviceparameter-name>Gate</toserviceparameter-name>
580 <y>310</y> </coord> </coord-list> </link>
582 <fromnode-name>test</fromnode-name>
583 <fromserviceparameter-name>Odd</fromserviceparameter-name>
584 <tonode-name>m3p1</tonode-name>
585 <toserviceparameter-name>Gate</toserviceparameter-name>
592 <y>328</y> </coord> </coord-list> </link>
594 <fromnode-name>test</fromnode-name>
595 <fromserviceparameter-name>N</fromserviceparameter-name>
596 <tonode-name>m3p1</tonode-name>
597 <toserviceparameter-name>anOddInteger</toserviceparameter-name>
604 <y>352</y> </coord> </coord-list> </link>
606 <fromnode-name>test</fromnode-name>
607 <fromserviceparameter-name>N</fromserviceparameter-name>
608 <tonode-name>div2</tonode-name>
609 <toserviceparameter-name>anEvenInteger</toserviceparameter-name>
616 <y>351</y> </coord> </coord-list> </link>
618 <fromnode-name>test</fromnode-name>
619 <fromserviceparameter-name>K</fromserviceparameter-name>
620 <tonode-name>EndSwitch_OneEven</tonode-name>
621 <toserviceparameter-name>K</toserviceparameter-name>
622 <coord-list/> </link>
624 <fromnode-name>test</fromnode-name>
625 <fromserviceparameter-name>K</fromserviceparameter-name>
626 <tonode-name>incr</tonode-name>
627 <toserviceparameter-name>aCount</toserviceparameter-name>
634 <y>370</y> </coord> </coord-list> </link>
636 <fromnode-name>test</fromnode-name>
637 <fromserviceparameter-name>Default</fromserviceparameter-name>
638 <tonode-name>EndSwitch_OneEven</tonode-name>
639 <toserviceparameter-name>Default</toserviceparameter-name>
646 <y>394</y> </coord> </coord-list> </link>
648 <fromnode-name>control_m3p1</fromnode-name>
649 <fromserviceparameter-name>Gate</fromserviceparameter-name>
650 <tonode-name>label_test</tonode-name>
651 <toserviceparameter-name>Gate</toserviceparameter-name>
664 <y>199</y> </coord> </coord-list> </link>
666 <fromnode-name>control_div2</fromnode-name>
667 <fromserviceparameter-name>Gate</fromserviceparameter-name>
668 <tonode-name>label_begin</tonode-name>
669 <toserviceparameter-name>Gate</toserviceparameter-name>
682 <y>528</y> </coord> </coord-list> </link> </link-list>
685 <fromnode-name>GraphGOTO_2_2</fromnode-name>
686 <fromserviceparameter-name>label_begin__NB</fromserviceparameter-name>
687 <tonode-name>label_begin</tonode-name>
688 <toserviceparameter-name>NB</toserviceparameter-name>
690 <value-type>3</value-type>
691 <value>7</value> </data-value>
692 <coord-list/> </data>
694 <fromnode-name>GraphGOTO_2_2</fromnode-name>
695 <fromserviceparameter-name>label_begin__KB</fromserviceparameter-name>
696 <tonode-name>label_begin</tonode-name>
697 <toserviceparameter-name>KB</toserviceparameter-name>
699 <value-type>3</value-type>
700 <value>0</value> </data-value>
701 <coord-list/> </data> </data-list> </dataflow></supergraph>