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