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