]> SALOME platform Git repositories - modules/superv.git/blob - examples/GraphSwitchCheckDefault.xml
Salome HOME
PAL8521
[modules/superv.git] / examples / GraphSwitchCheckDefault.xml
1 <!DOCTYPE SuperGraph>
2 <supergraph>
3 <dataflow>
4 <info-list>
5 <node>
6 <component-name>?</component-name>
7     <interface-name>?</interface-name>
8     <node-name>GraphSwitchCheckDefault</node-name>
9     <kind>1</kind>
10     <coupled-node>?</coupled-node>
11     <service>
12 <service-name>GraphSwitchCheck_2</service-name>
13      <inParameter-list>
14 <inParameter>
15 <inParameter-type>long</inParameter-type>
16        <inParameter-name>InitLoopSwitch__Index</inParameter-name>      </inParameter>
17       <inParameter>
18 <inParameter-type>long</inParameter-type>
19        <inParameter-name>InitLoopSwitch__Min</inParameter-name>      </inParameter>
20       <inParameter>
21 <inParameter-type>long</inParameter-type>
22        <inParameter-name>InitLoopSwitch__Max</inParameter-name>      </inParameter>     </inParameter-list>
23      <outParameter-list>
24 <outParameter>
25 <outParameter-type>long</outParameter-type>
26        <outParameter-name>EndOfInitLoopSwitch__Index</outParameter-name>      </outParameter>
27       <outParameter>
28 <outParameter-type>long</outParameter-type>
29        <outParameter-name>EndOfInitLoopSwitch__Min</outParameter-name>      </outParameter>
30       <outParameter>
31 <outParameter-type>long</outParameter-type>
32        <outParameter-name>EndOfInitLoopSwitch__Max</outParameter-name>      </outParameter>
33       <outParameter>
34 <outParameter-type>boolean</outParameter-type>
35        <outParameter-name>Switch__default</outParameter-name>      </outParameter>     </outParameter-list>    </service>
36     <DataStream-list/>
37     <PyFunction-list/>
38     <creation-date>13/1/2005 - 12:21:43</creation-date>
39     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
40     <editor-release>2.0</editor-release>
41     <author>JR</author>
42     <container>?</container>
43     <comment>?</comment>
44     <x-position>0</x-position>
45     <y-position>0</y-position>   </node>  </info-list>
46   <node-list>
47 <node>
48 <component-name>?</component-name>
49     <interface-name>?</interface-name>
50     <node-name>IsOdd</node-name>
51     <kind>3</kind>
52     <coupled-node>?</coupled-node>
53     <service>
54 <service-name>IsOdd</service-name>
55      <inParameter-list>
56 <inParameter>
57 <inParameter-type>long</inParameter-type>
58        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
59      <outParameter-list>
60 <outParameter>
61 <outParameter-type>long</outParameter-type>
62        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
63     <DataStream-list/>
64     <PyFunction-list>
65 <PyFunction>
66 <FuncName>IsOdd</FuncName>
67       <PyFunc><![CDATA[from time import *   ]]></PyFunc>
68       <PyFunc><![CDATA[def IsOdd(a) :       ]]></PyFunc>
69       <PyFunc><![CDATA[    print a,"IsOdd (GraphSwitch)"      ]]></PyFunc>
70       <PyFunc><![CDATA[    sleep( 1 )   ]]></PyFunc>
71       <PyFunc><![CDATA[    return a     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
72     <creation-date>13/1/2005 - 12:23:17</creation-date>
73     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
74     <editor-release>2.0</editor-release>
75     <author>?</author>
76     <container>?</container>
77     <comment>Python function</comment>
78     <x-position>415</x-position>
79     <y-position>7</y-position>   </node>
80    <node>
81 <component-name>?</component-name>
82     <interface-name>?</interface-name>
83     <node-name>IsEven</node-name>
84     <kind>3</kind>
85     <coupled-node>?</coupled-node>
86     <service>
87 <service-name>IsEven</service-name>
88      <inParameter-list>
89 <inParameter>
90 <inParameter-type>long</inParameter-type>
91        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
92      <outParameter-list>
93 <outParameter>
94 <outParameter-type>long</outParameter-type>
95        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
96     <DataStream-list/>
97     <PyFunction-list>
98 <PyFunction>
99 <FuncName>IsEven</FuncName>
100       <PyFunc><![CDATA[from time import *    ]]></PyFunc>
101       <PyFunc><![CDATA[def IsEven(a) :        ]]></PyFunc>
102       <PyFunc><![CDATA[    print a,"IsEven (GraphSwitch)"       ]]></PyFunc>
103       <PyFunc><![CDATA[    sleep( 1 )    ]]></PyFunc>
104       <PyFunc><![CDATA[    return a      ]]></PyFunc>     </PyFunction>    </PyFunction-list>
105     <creation-date>13/1/2005 - 12:23:17</creation-date>
106     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
107     <editor-release>2.0</editor-release>
108     <author>?</author>
109     <container>?</container>
110     <comment>Compute Node</comment>
111     <x-position>421</x-position>
112     <y-position>438</y-position>   </node>
113    <node>
114 <component-name>?</component-name>
115     <interface-name>?</interface-name>
116     <node-name>PrintOdd</node-name>
117     <kind>3</kind>
118     <coupled-node>?</coupled-node>
119     <service>
120 <service-name>PrintOdd</service-name>
121      <inParameter-list>
122 <inParameter>
123 <inParameter-type>long</inParameter-type>
124        <inParameter-name>a</inParameter-name>      </inParameter>
125       <inParameter>
126 <inParameter-type>string</inParameter-type>
127        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
128      <outParameter-list>
129 <outParameter>
130 <outParameter-type>string</outParameter-type>
131        <outParameter-name>Branch</outParameter-name>      </outParameter>     </outParameter-list>    </service>
132     <DataStream-list/>
133     <PyFunction-list>
134 <PyFunction>
135 <FuncName>Print</FuncName>
136       <PyFunc><![CDATA[from time import * ]]></PyFunc>
137       <PyFunc><![CDATA[def Print(a,Branch) :     ]]></PyFunc>
138       <PyFunc><![CDATA[    print "Print ",a,Branch ]]></PyFunc>
139       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
140       <PyFunc><![CDATA[    return Branch     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
141     <creation-date>13/1/2005 - 12:23:17</creation-date>
142     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
143     <editor-release>2.0</editor-release>
144     <author>?</author>
145     <container>?</container>
146     <comment>Compute Node</comment>
147     <x-position>415</x-position>
148     <y-position>130</y-position>   </node>
149    <node>
150 <component-name>?</component-name>
151     <interface-name>?</interface-name>
152     <node-name>PrintEven</node-name>
153     <kind>3</kind>
154     <coupled-node>?</coupled-node>
155     <service>
156 <service-name>PrintEven</service-name>
157      <inParameter-list>
158 <inParameter>
159 <inParameter-type>long</inParameter-type>
160        <inParameter-name>a</inParameter-name>      </inParameter>
161       <inParameter>
162 <inParameter-type>string</inParameter-type>
163        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
164      <outParameter-list>
165 <outParameter>
166 <outParameter-type>string</outParameter-type>
167        <outParameter-name>Branch</outParameter-name>      </outParameter>     </outParameter-list>    </service>
168     <DataStream-list/>
169     <PyFunction-list>
170 <PyFunction>
171 <FuncName>Print_1</FuncName>
172       <PyFunc><![CDATA[from time import * ]]></PyFunc>
173       <PyFunc><![CDATA[def Print_1(a,Branch) :     ]]></PyFunc>
174       <PyFunc><![CDATA[    print "Print ",a,Branch ]]></PyFunc>
175       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
176       <PyFunc><![CDATA[    return Branch     ]]></PyFunc>     </PyFunction>    </PyFunction-list>
177     <creation-date>13/1/2005 - 12:23:17</creation-date>
178     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
179     <editor-release>2.0</editor-release>
180     <author>?</author>
181     <container>?</container>
182     <comment>Compute Node</comment>
183     <x-position>423</x-position>
184     <y-position>289</y-position>   </node>
185    <node>
186 <component-name>?</component-name>
187     <interface-name>?</interface-name>
188     <node-name>EmptyNode</node-name>
189     <kind>3</kind>
190     <coupled-node>?</coupled-node>
191     <service>
192 <service-name>EmptyNode</service-name>
193      <inParameter-list>
194 <inParameter>
195 <inParameter-type>long</inParameter-type>
196        <inParameter-name>a</inParameter-name>      </inParameter>
197       <inParameter>
198 <inParameter-type>string</inParameter-type>
199        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
200      <outParameter-list>
201 <outParameter>
202 <outParameter-type>long</outParameter-type>
203        <outParameter-name>a</outParameter-name>      </outParameter>
204       <outParameter>
205 <outParameter-type>string</outParameter-type>
206        <outParameter-name>Branch</outParameter-name>      </outParameter>     </outParameter-list>    </service>
207     <DataStream-list/>
208     <PyFunction-list>
209 <PyFunction>
210 <FuncName>EmptyNode</FuncName>
211       <PyFunc><![CDATA[from time import * ]]></PyFunc>
212       <PyFunc><![CDATA[def EmptyNode(a,Branch) : ]]></PyFunc>
213       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
214       <PyFunc><![CDATA[    return a,Branch  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
215     <creation-date>13/1/2005 - 12:23:17</creation-date>
216     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
217     <editor-release>2.0</editor-release>
218     <author>?</author>
219     <container>?</container>
220     <comment>Compute Node</comment>
221     <x-position>652</x-position>
222     <y-position>110</y-position>   </node>
223    <node>
224 <component-name>?</component-name>
225     <interface-name>?</interface-name>
226     <node-name>Default</node-name>
227     <kind>3</kind>
228     <coupled-node>?</coupled-node>
229     <service>
230 <service-name>Default</service-name>
231      <inParameter-list>
232 <inParameter>
233 <inParameter-type>long</inParameter-type>
234        <inParameter-name>a</inParameter-name>      </inParameter>
235       <inParameter>
236 <inParameter-type>string</inParameter-type>
237        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
238      <outParameter-list>
239 <outParameter>
240 <outParameter-type>long</outParameter-type>
241        <outParameter-name>a</outParameter-name>      </outParameter>
242       <outParameter>
243 <outParameter-type>string</outParameter-type>
244        <outParameter-name>Branch</outParameter-name>      </outParameter>     </outParameter-list>    </service>
245     <DataStream-list/>
246     <PyFunction-list>
247 <PyFunction>
248 <FuncName>Default</FuncName>
249       <PyFunc><![CDATA[from time import * ]]></PyFunc>
250       <PyFunc><![CDATA[def Default(a,Branch) : ]]></PyFunc>
251       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
252       <PyFunc><![CDATA[    return a,Branch ]]></PyFunc>     </PyFunction>    </PyFunction-list>
253     <creation-date>13/1/2005 - 12:23:17</creation-date>
254     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
255     <editor-release>2.0</editor-release>
256     <author>?</author>
257     <container>?</container>
258     <comment>Compute Node</comment>
259     <x-position>421</x-position>
260     <y-position>592</y-position>   </node>
261    <node>
262 <component-name>?</component-name>
263     <interface-name>?</interface-name>
264     <node-name>InitLoopSwitch</node-name>
265     <kind>4</kind>
266     <coupled-node>EndOfInitLoopSwitch</coupled-node>
267     <service>
268 <service-name>InitLoopSwitch</service-name>
269      <inParameter-list>
270 <inParameter>
271 <inParameter-type>long</inParameter-type>
272        <inParameter-name>Index</inParameter-name>      </inParameter>
273       <inParameter>
274 <inParameter-type>long</inParameter-type>
275        <inParameter-name>Min</inParameter-name>      </inParameter>
276       <inParameter>
277 <inParameter-type>long</inParameter-type>
278        <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
279      <outParameter-list>
280 <outParameter>
281 <outParameter-type>long</outParameter-type>
282        <outParameter-name>Index</outParameter-name>      </outParameter>
283       <outParameter>
284 <outParameter-type>long</outParameter-type>
285        <outParameter-name>Min</outParameter-name>      </outParameter>
286       <outParameter>
287 <outParameter-type>long</outParameter-type>
288        <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
289     <DataStream-list/>
290     <PyFunction-list>
291 <PyFunction>
292 <FuncName>InitLoop</FuncName>
293       <PyFunc><![CDATA[def InitLoop(Index,Min,Max) :        ]]></PyFunc>
294       <PyFunc><![CDATA[ Index = Max  ]]></PyFunc>
295       <PyFunc><![CDATA[ return Index,Min,Max       ]]></PyFunc>     </PyFunction>
296      <PyFunction>
297 <FuncName>MoreLoop</FuncName>
298       <PyFunc><![CDATA[from time import * ]]></PyFunc>
299       <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
300       <PyFunc><![CDATA[ sleep(1)  ]]></PyFunc>
301       <PyFunc><![CDATA[ if Index >= Min :     ]]></PyFunc>
302       <PyFunc><![CDATA[         DoLoop = 1       ]]></PyFunc>
303       <PyFunc><![CDATA[ else :       ]]></PyFunc>
304       <PyFunc><![CDATA[         DoLoop = 0       ]]></PyFunc>
305       <PyFunc><![CDATA[ return DoLoop,Index,Min,Max       ]]></PyFunc>     </PyFunction>
306      <PyFunction>
307 <FuncName>NextLoop</FuncName>
308       <PyFunc><![CDATA[def NextLoop(Index,Min,Max) :       ]]></PyFunc>
309       <PyFunc><![CDATA[ Index = Index - 1       ]]></PyFunc>
310       <PyFunc><![CDATA[ return Index,Min,Max       ]]></PyFunc>     </PyFunction>    </PyFunction-list>
311     <creation-date>13/1/2005 - 12:23:17</creation-date>
312     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
313     <editor-release>2.0</editor-release>
314     <author>?</author>
315     <container>?</container>
316     <comment>Compute Node</comment>
317     <x-position>10</x-position>
318     <y-position>129</y-position>   </node>
319    <node>
320 <component-name>?</component-name>
321     <interface-name>?</interface-name>
322     <node-name>EndOfInitLoopSwitch</node-name>
323     <kind>5</kind>
324     <coupled-node>InitLoopSwitch</coupled-node>
325     <service>
326 <service-name>EndOfInitLoopSwitch</service-name>
327      <inParameter-list>
328 <inParameter>
329 <inParameter-type>long</inParameter-type>
330        <inParameter-name>Index</inParameter-name>      </inParameter>
331       <inParameter>
332 <inParameter-type>long</inParameter-type>
333        <inParameter-name>Min</inParameter-name>      </inParameter>
334       <inParameter>
335 <inParameter-type>long</inParameter-type>
336        <inParameter-name>Max</inParameter-name>      </inParameter>     </inParameter-list>
337      <outParameter-list>
338 <outParameter>
339 <outParameter-type>long</outParameter-type>
340        <outParameter-name>Index</outParameter-name>      </outParameter>
341       <outParameter>
342 <outParameter-type>long</outParameter-type>
343        <outParameter-name>Min</outParameter-name>      </outParameter>
344       <outParameter>
345 <outParameter-type>long</outParameter-type>
346        <outParameter-name>Max</outParameter-name>      </outParameter>     </outParameter-list>    </service>
347     <DataStream-list/>
348     <PyFunction-list>
349 <PyFunction>
350 <FuncName>EndOfInitLoopSwitch</FuncName>
351       <PyFunc><![CDATA[from time import *  ]]></PyFunc>
352       <PyFunc><![CDATA[def EndOfInitLoopSwitch(DoLoop,Index,Min,Max) :  ]]></PyFunc>
353       <PyFunc><![CDATA[    sleep(1)  ]]></PyFunc>
354       <PyFunc><![CDATA[    return DoLoop,Index,Min,Max  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
355     <creation-date>13/1/2005 - 12:23:17</creation-date>
356     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
357     <editor-release>2.0</editor-release>
358     <author>?</author>
359     <container>?</container>
360     <comment>Compute Node</comment>
361     <x-position>1074</x-position>
362     <y-position>194</y-position>   </node>
363    <node>
364 <component-name>?</component-name>
365     <interface-name>?</interface-name>
366     <node-name>Switch</node-name>
367     <kind>6</kind>
368     <coupled-node>EndOfSwitch</coupled-node>
369     <service>
370 <service-name>Switch</service-name>
371      <inParameter-list>
372 <inParameter>
373 <inParameter-type>long</inParameter-type>
374        <inParameter-name>a</inParameter-name>      </inParameter>     </inParameter-list>
375      <outParameter-list>
376 <outParameter>
377 <outParameter-type>long</outParameter-type>
378        <outParameter-name>Odd</outParameter-name>      </outParameter>
379       <outParameter>
380 <outParameter-type>int</outParameter-type>
381        <outParameter-name>Even</outParameter-name>      </outParameter>
382       <outParameter>
383 <outParameter-type>int</outParameter-type>
384        <outParameter-name>a</outParameter-name>      </outParameter>
385       <outParameter>
386 <outParameter-type>string</outParameter-type>
387        <outParameter-name>Branch</outParameter-name>      </outParameter>
388       <outParameter>
389 <outParameter-type>boolean</outParameter-type>
390        <outParameter-name>default</outParameter-name>      </outParameter>     </outParameter-list>    </service>
391     <DataStream-list/>
392     <PyFunction-list>
393 <PyFunction>
394 <FuncName>Switch</FuncName>
395       <PyFunc><![CDATA[from time import *        ]]></PyFunc>
396       <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
397       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
398       <PyFunc><![CDATA[    Branch = "Negative or null"    ]]></PyFunc>
399       <PyFunc><![CDATA[    if a <= 0 :       ]]></PyFunc>
400       <PyFunc><![CDATA[        return 0,0,a,Branch,1  ]]></PyFunc>
401       <PyFunc><![CDATA[    if ( a & 1 ) == 0 :    ]]></PyFunc>
402       <PyFunc><![CDATA[        Branch = "Even"    ]]></PyFunc>
403       <PyFunc><![CDATA[    else :    ]]></PyFunc>
404       <PyFunc><![CDATA[        Branch = "Odd"    ]]></PyFunc>
405       <PyFunc><![CDATA[    return a & 1,1-(a&1),a,Branch,0  ]]></PyFunc>     </PyFunction>    </PyFunction-list>
406     <creation-date>13/1/2005 - 12:23:17</creation-date>
407     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
408     <editor-release>2.0</editor-release>
409     <author>?</author>
410     <container>?</container>
411     <comment>Compute Node</comment>
412     <x-position>190</x-position>
413     <y-position>129</y-position>   </node>
414    <node>
415 <component-name>?</component-name>
416     <interface-name>?</interface-name>
417     <node-name>EndOfSwitch</node-name>
418     <kind>7</kind>
419     <coupled-node>Switch</coupled-node>
420     <service>
421 <service-name>EndOfSwitch</service-name>
422      <inParameter-list>
423 <inParameter>
424 <inParameter-type>long</inParameter-type>
425        <inParameter-name>a</inParameter-name>      </inParameter>
426       <inParameter>
427 <inParameter-type>string</inParameter-type>
428        <inParameter-name>Branch</inParameter-name>      </inParameter>     </inParameter-list>
429      <outParameter-list>
430 <outParameter>
431 <outParameter-type>long</outParameter-type>
432        <outParameter-name>a</outParameter-name>      </outParameter>     </outParameter-list>    </service>
433     <DataStream-list/>
434     <PyFunction-list>
435 <PyFunction>
436 <FuncName>EndOfSwitch</FuncName>
437       <PyFunc><![CDATA[from time import * ]]></PyFunc>
438       <PyFunc><![CDATA[def EndOfSwitch(a,Branch) : ]]></PyFunc>
439       <PyFunc><![CDATA[    sleep(1) ]]></PyFunc>
440       <PyFunc><![CDATA[    return a ]]></PyFunc>     </PyFunction>    </PyFunction-list>
441     <creation-date>13/1/2005 - 12:23:17</creation-date>
442     <lastmodification-date>13/1/2005 - 12:23:17</lastmodification-date>
443     <editor-release>2.0</editor-release>
444     <author>?</author>
445     <container>?</container>
446     <comment>Compute Node</comment>
447     <x-position>882</x-position>
448     <y-position>194</y-position>   </node>  </node-list>
449   <link-list>
450 <link>
451 <fromnode-name>IsOdd</fromnode-name>
452     <fromserviceparameter-name>a</fromserviceparameter-name>
453     <tonode-name>EmptyNode</tonode-name>
454     <toserviceparameter-name>a</toserviceparameter-name>
455     <coord-list>
456 <coord>
457 <x>646</x>
458       <y>78</y>     </coord>    </coord-list>   </link>
459    <link>
460 <fromnode-name>IsEven</fromnode-name>
461     <fromserviceparameter-name>a</fromserviceparameter-name>
462     <tonode-name>EndOfSwitch</tonode-name>
463     <toserviceparameter-name>a</toserviceparameter-name>
464     <coord-list/>   </link>
465    <link>
466 <fromnode-name>PrintOdd</fromnode-name>
467     <fromserviceparameter-name>Branch</fromserviceparameter-name>
468     <tonode-name>EmptyNode</tonode-name>
469     <toserviceparameter-name>Branch</toserviceparameter-name>
470     <coord-list/>   </link>
471    <link>
472 <fromnode-name>PrintEven</fromnode-name>
473     <fromserviceparameter-name>Branch</fromserviceparameter-name>
474     <tonode-name>EndOfSwitch</tonode-name>
475     <toserviceparameter-name>Branch</toserviceparameter-name>
476     <coord-list/>   </link>
477    <link>
478 <fromnode-name>EmptyNode</fromnode-name>
479     <fromserviceparameter-name>a</fromserviceparameter-name>
480     <tonode-name>EndOfSwitch</tonode-name>
481     <toserviceparameter-name>a</toserviceparameter-name>
482     <coord-list/>   </link>
483    <link>
484 <fromnode-name>EmptyNode</fromnode-name>
485     <fromserviceparameter-name>Branch</fromserviceparameter-name>
486     <tonode-name>EndOfSwitch</tonode-name>
487     <toserviceparameter-name>Branch</toserviceparameter-name>
488     <coord-list/>   </link>
489    <link>
490 <fromnode-name>Default</fromnode-name>
491     <fromserviceparameter-name>a</fromserviceparameter-name>
492     <tonode-name>EndOfSwitch</tonode-name>
493     <toserviceparameter-name>a</toserviceparameter-name>
494     <coord-list/>   </link>
495    <link>
496 <fromnode-name>Default</fromnode-name>
497     <fromserviceparameter-name>Branch</fromserviceparameter-name>
498     <tonode-name>EndOfSwitch</tonode-name>
499     <toserviceparameter-name>Branch</toserviceparameter-name>
500     <coord-list/>   </link>
501    <link>
502 <fromnode-name>InitLoopSwitch</fromnode-name>
503     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
504     <tonode-name>EndOfInitLoopSwitch</tonode-name>
505     <toserviceparameter-name>DoLoop</toserviceparameter-name>
506     <coord-list/>   </link>
507    <link>
508 <fromnode-name>InitLoopSwitch</fromnode-name>
509     <fromserviceparameter-name>Index</fromserviceparameter-name>
510     <tonode-name>Switch</tonode-name>
511     <toserviceparameter-name>a</toserviceparameter-name>
512     <coord-list/>   </link>
513    <link>
514 <fromnode-name>InitLoopSwitch</fromnode-name>
515     <fromserviceparameter-name>Min</fromserviceparameter-name>
516     <tonode-name>EndOfInitLoopSwitch</tonode-name>
517     <toserviceparameter-name>Min</toserviceparameter-name>
518     <coord-list/>   </link>
519    <link>
520 <fromnode-name>InitLoopSwitch</fromnode-name>
521     <fromserviceparameter-name>Max</fromserviceparameter-name>
522     <tonode-name>EndOfInitLoopSwitch</tonode-name>
523     <toserviceparameter-name>Max</toserviceparameter-name>
524     <coord-list/>   </link>
525    <link>
526 <fromnode-name>EndOfInitLoopSwitch</fromnode-name>
527     <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
528     <tonode-name>InitLoopSwitch</tonode-name>
529     <toserviceparameter-name>DoLoop</toserviceparameter-name>
530     <coord-list/>   </link>
531    <link>
532 <fromnode-name>Switch</fromnode-name>
533     <fromserviceparameter-name>Odd</fromserviceparameter-name>
534     <tonode-name>IsOdd</tonode-name>
535     <toserviceparameter-name>Gate</toserviceparameter-name>
536     <coord-list>
537 <coord>
538 <x>401</x>
539       <y>101</y>     </coord>
540      <coord>
541 <x>401</x>
542       <y>160</y>     </coord>    </coord-list>   </link>
543    <link>
544 <fromnode-name>Switch</fromnode-name>
545     <fromserviceparameter-name>Odd</fromserviceparameter-name>
546     <tonode-name>PrintOdd</tonode-name>
547     <toserviceparameter-name>Gate</toserviceparameter-name>
548     <coord-list>
549 <coord>
550 <x>401</x>
551       <y>245</y>     </coord>
552      <coord>
553 <x>401</x>
554       <y>159</y>     </coord>    </coord-list>   </link>
555    <link>
556 <fromnode-name>Switch</fromnode-name>
557     <fromserviceparameter-name>Even</fromserviceparameter-name>
558     <tonode-name>IsEven</tonode-name>
559     <toserviceparameter-name>Gate</toserviceparameter-name>
560     <coord-list>
561 <coord>
562 <x>392</x>
563       <y>533</y>     </coord>
564      <coord>
565 <x>392</x>
566       <y>182</y>     </coord>    </coord-list>   </link>
567    <link>
568 <fromnode-name>Switch</fromnode-name>
569     <fromserviceparameter-name>Even</fromserviceparameter-name>
570     <tonode-name>PrintEven</tonode-name>
571     <toserviceparameter-name>Gate</toserviceparameter-name>
572     <coord-list>
573 <coord>
574 <x>392</x>
575       <y>403</y>     </coord>
576      <coord>
577 <x>392</x>
578       <y>181</y>     </coord>    </coord-list>   </link>
579    <link>
580 <fromnode-name>Switch</fromnode-name>
581     <fromserviceparameter-name>a</fromserviceparameter-name>
582     <tonode-name>IsOdd</tonode-name>
583     <toserviceparameter-name>a</toserviceparameter-name>
584     <coord-list>
585 <coord>
586 <x>382</x>
587       <y>78</y>     </coord>
588      <coord>
589 <x>382</x>
590       <y>199</y>     </coord>    </coord-list>   </link>
591    <link>
592 <fromnode-name>Switch</fromnode-name>
593     <fromserviceparameter-name>a</fromserviceparameter-name>
594     <tonode-name>IsEven</tonode-name>
595     <toserviceparameter-name>a</toserviceparameter-name>
596     <coord-list>
597 <coord>
598 <x>381</x>
599       <y>509</y>     </coord>
600      <coord>
601 <x>382</x>
602       <y>200</y>     </coord>    </coord-list>   </link>
603    <link>
604 <fromnode-name>Switch</fromnode-name>
605     <fromserviceparameter-name>a</fromserviceparameter-name>
606     <tonode-name>PrintOdd</tonode-name>
607     <toserviceparameter-name>a</toserviceparameter-name>
608     <coord-list/>   </link>
609    <link>
610 <fromnode-name>Switch</fromnode-name>
611     <fromserviceparameter-name>a</fromserviceparameter-name>
612     <tonode-name>PrintEven</tonode-name>
613     <toserviceparameter-name>a</toserviceparameter-name>
614     <coord-list>
615 <coord>
616 <x>381</x>
617       <y>361</y>     </coord>
618      <coord>
619 <x>382</x>
620       <y>200</y>     </coord>    </coord-list>   </link>
621    <link>
622 <fromnode-name>Switch</fromnode-name>
623     <fromserviceparameter-name>a</fromserviceparameter-name>
624     <tonode-name>Default</tonode-name>
625     <toserviceparameter-name>a</toserviceparameter-name>
626     <coord-list>
627 <coord>
628 <x>382</x>
629       <y>663</y>     </coord>
630      <coord>
631 <x>382</x>
632       <y>199</y>     </coord>    </coord-list>   </link>
633    <link>
634 <fromnode-name>Switch</fromnode-name>
635     <fromserviceparameter-name>Branch</fromserviceparameter-name>
636     <tonode-name>PrintOdd</tonode-name>
637     <toserviceparameter-name>Branch</toserviceparameter-name>
638     <coord-list/>   </link>
639    <link>
640 <fromnode-name>Switch</fromnode-name>
641     <fromserviceparameter-name>Branch</fromserviceparameter-name>
642     <tonode-name>PrintEven</tonode-name>
643     <toserviceparameter-name>Branch</toserviceparameter-name>
644     <coord-list>
645 <coord>
646 <x>369</x>
647       <y>381</y>     </coord>
648      <coord>
649 <x>369</x>
650       <y>219</y>     </coord>    </coord-list>   </link>
651    <link>
652 <fromnode-name>Switch</fromnode-name>
653     <fromserviceparameter-name>Branch</fromserviceparameter-name>
654     <tonode-name>Default</tonode-name>
655     <toserviceparameter-name>Branch</toserviceparameter-name>
656     <coord-list>
657 <coord>
658 <x>370</x>
659       <y>683</y>     </coord>
660      <coord>
661 <x>370</x>
662       <y>220</y>     </coord>    </coord-list>   </link>
663    <link>
664 <fromnode-name>Switch</fromnode-name>
665     <fromserviceparameter-name>Default</fromserviceparameter-name>
666     <tonode-name>Default</tonode-name>
667     <toserviceparameter-name>Gate</toserviceparameter-name>
668     <coord-list>
669 <coord>
670 <x>360</x>
671       <y>707</y>     </coord>
672      <coord>
673 <x>360</x>
674       <y>263</y>     </coord>    </coord-list>   </link>
675    <link>
676 <fromnode-name>EndOfSwitch</fromnode-name>
677     <fromserviceparameter-name>a</fromserviceparameter-name>
678     <tonode-name>EndOfInitLoopSwitch</tonode-name>
679     <toserviceparameter-name>Index</toserviceparameter-name>
680     <coord-list/>   </link>  </link-list>
681   <data-list>
682 <data>
683 <fromnode-name>GraphSwitchCheckDefault</fromnode-name>
684     <fromserviceparameter-name>InitLoopSwitch__Index</fromserviceparameter-name>
685     <tonode-name>InitLoopSwitch</tonode-name>
686     <toserviceparameter-name>Index</toserviceparameter-name>
687     <data-value>
688 <value-type>3</value-type>
689      <value>0</value>    </data-value>
690     <coord-list/>   </data>
691    <data>
692 <fromnode-name>GraphSwitchCheckDefault</fromnode-name>
693     <fromserviceparameter-name>InitLoopSwitch__Min</fromserviceparameter-name>
694     <tonode-name>InitLoopSwitch</tonode-name>
695     <toserviceparameter-name>Min</toserviceparameter-name>
696     <data-value>
697 <value-type>3</value-type>
698      <value>-5</value>    </data-value>
699     <coord-list/>   </data>
700    <data>
701 <fromnode-name>GraphSwitchCheckDefault</fromnode-name>
702     <fromserviceparameter-name>InitLoopSwitch__Max</fromserviceparameter-name>
703     <tonode-name>InitLoopSwitch</tonode-name>
704     <toserviceparameter-name>Max</toserviceparameter-name>
705     <data-value>
706 <value-type>3</value-type>
707      <value>10</value>    </data-value>
708     <coord-list/>   </data>  </data-list> </dataflow></supergraph>