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