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