6 <component-name>?</component-name>
7 <interface-name>?</interface-name>
8 <node-name>GraphLoopSwitchsNOTValid</node-name>
10 <coupled-node>?</coupled-node>
12 <service-name>GraphLoopSwitchsNOTValid</service-name>
15 <inParameter-type>long</inParameter-type>
16 <inParameter-name>Loop__Index</inParameter-name> </inParameter>
18 <inParameter-type>long</inParameter-type>
19 <inParameter-name>Loop__Min</inParameter-name> </inParameter>
21 <inParameter-type>long</inParameter-type>
22 <inParameter-name>Loop__Max</inParameter-name> </inParameter>
24 <inParameter-type>boolean</inParameter-type>
25 <inParameter-name>EndOfSwitchEven__Even</inParameter-name> </inParameter> </inParameter-list>
28 <outParameter-type>int</outParameter-type>
29 <outParameter-name>SwitchOdd__Even</outParameter-name> </outParameter>
31 <outParameter-type>long</outParameter-type>
32 <outParameter-name>EndOfLoop__Index</outParameter-name> </outParameter>
34 <outParameter-type>long</outParameter-type>
35 <outParameter-name>EndOfLoop__Min</outParameter-name> </outParameter>
37 <outParameter-type>long</outParameter-type>
38 <outParameter-name>EndOfLoop__Max</outParameter-name> </outParameter> </outParameter-list> </service>
41 <creation-date>14/10/2003 - 10:29:4</creation-date>
42 <lastmodification-date>8/2/2005 - 11:26:57</lastmodification-date>
43 <editor-release>1.05</editor-release>
45 <container>?</container>
47 <x-position>0</x-position>
48 <y-position>0</y-position> </node> </info-list>
51 <component-name>?</component-name>
52 <interface-name>?</interface-name>
53 <node-name>IsOdd</node-name>
55 <coupled-node>?</coupled-node>
57 <service-name>IsOdd</service-name>
60 <inParameter-type>long</inParameter-type>
61 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
64 <outParameter-type>long</outParameter-type>
65 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
69 <FuncName>IsOdd</FuncName>
70 <PyFunc><![CDATA[from time import * ]]></PyFunc>
71 <PyFunc><![CDATA[def IsOdd(a) : ]]></PyFunc>
72 <PyFunc><![CDATA[ print a,"IsOdd" ]]></PyFunc>
73 <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
74 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
75 <creation-date>8/2/2005 - 11:26:56</creation-date>
76 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
77 <editor-release>1.05</editor-release>
79 <container>?</container>
80 <comment>Python function</comment>
81 <x-position>476</x-position>
82 <y-position>50</y-position> </node>
84 <component-name>?</component-name>
85 <interface-name>?</interface-name>
86 <node-name>SwitchOdd</node-name>
88 <coupled-node>EndOfSwitchOdd</coupled-node>
90 <service-name>SwitchOdd</service-name>
93 <inParameter-type>long</inParameter-type>
94 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
97 <outParameter-type>long</outParameter-type>
98 <outParameter-name>Odd</outParameter-name> </outParameter>
100 <outParameter-type>int</outParameter-type>
101 <outParameter-name>Even</outParameter-name> </outParameter>
103 <outParameter-type>int</outParameter-type>
104 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
108 <FuncName>Switch</FuncName>
109 <PyFunc><![CDATA[from time import * ]]></PyFunc>
110 <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
111 <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
112 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
113 <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
114 <creation-date>8/2/2005 - 11:26:56</creation-date>
115 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
116 <editor-release>1.05</editor-release>
118 <container>?</container>
119 <comment>Compute Node</comment>
120 <x-position>240</x-position>
121 <y-position>141</y-position> </node>
123 <component-name>?</component-name>
124 <interface-name>?</interface-name>
125 <node-name>EndOfSwitchOdd</node-name>
127 <coupled-node>SwitchOdd</coupled-node>
129 <service-name>EndOfSwitchOdd</service-name>
132 <inParameter-type>long</inParameter-type>
133 <inParameter-name>a</inParameter-name> </inParameter>
135 <inParameter-type>boolean</inParameter-type>
136 <inParameter-name>Odd</inParameter-name> </inParameter> </inParameter-list>
139 <outParameter-type>long</outParameter-type>
140 <outParameter-name>a</outParameter-name> </outParameter>
142 <outParameter-type>boolean</outParameter-type>
143 <outParameter-name>Odd</outParameter-name> </outParameter> </outParameter-list> </service>
147 <FuncName>?</FuncName>
148 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
149 <creation-date>8/2/2005 - 11:26:56</creation-date>
150 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
151 <editor-release>1.05</editor-release>
153 <container>?</container>
154 <comment>Compute Node</comment>
155 <x-position>711</x-position>
156 <y-position>161</y-position> </node>
158 <component-name>?</component-name>
159 <interface-name>?</interface-name>
160 <node-name>IsEven</node-name>
162 <coupled-node>?</coupled-node>
164 <service-name>IsEven</service-name>
167 <inParameter-type>long</inParameter-type>
168 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
171 <outParameter-type>long</outParameter-type>
172 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
176 <FuncName>IsEven</FuncName>
177 <PyFunc><![CDATA[from time import * ]]></PyFunc>
178 <PyFunc><![CDATA[def IsEven(a) : ]]></PyFunc>
179 <PyFunc><![CDATA[ print a,"IsEven" ]]></PyFunc>
180 <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
181 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
182 <creation-date>8/2/2005 - 11:26:56</creation-date>
183 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
184 <editor-release>1.05</editor-release>
186 <container>?</container>
187 <comment>Python function</comment>
188 <x-position>479</x-position>
189 <y-position>311</y-position> </node>
191 <component-name>?</component-name>
192 <interface-name>?</interface-name>
193 <node-name>Loop</node-name>
195 <coupled-node>EndOfLoop</coupled-node>
197 <service-name>Loop</service-name>
200 <inParameter-type>long</inParameter-type>
201 <inParameter-name>Index</inParameter-name> </inParameter>
203 <inParameter-type>long</inParameter-type>
204 <inParameter-name>Min</inParameter-name> </inParameter>
206 <inParameter-type>long</inParameter-type>
207 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
210 <outParameter-type>long</outParameter-type>
211 <outParameter-name>Index</outParameter-name> </outParameter>
213 <outParameter-type>long</outParameter-type>
214 <outParameter-name>Min</outParameter-name> </outParameter>
216 <outParameter-type>long</outParameter-type>
217 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
221 <FuncName>InitLoop</FuncName>
222 <PyFunc><![CDATA[def InitLoop(Index,Min,Max) : ]]></PyFunc>
223 <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
225 <FuncName>MoreLoop</FuncName>
226 <PyFunc><![CDATA[def MoreLoop(Index,Min,Max) : ]]></PyFunc>
227 <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
228 <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
229 <PyFunc><![CDATA[ else : ]]></PyFunc>
230 <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
231 <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction>
233 <FuncName>NextLoop</FuncName>
234 <PyFunc><![CDATA[def NextLoop(Index,Min,Max) : ]]></PyFunc>
235 <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
236 <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
237 <creation-date>8/2/2005 - 11:26:56</creation-date>
238 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
239 <editor-release>1.05</editor-release>
241 <container>?</container>
242 <comment>Compute Node</comment>
243 <x-position>12</x-position>
244 <y-position>276</y-position> </node>
246 <component-name>?</component-name>
247 <interface-name>?</interface-name>
248 <node-name>EndOfLoop</node-name>
250 <coupled-node>Loop</coupled-node>
252 <service-name>EndOfLoop</service-name>
255 <inParameter-type>long</inParameter-type>
256 <inParameter-name>Index</inParameter-name> </inParameter>
258 <inParameter-type>long</inParameter-type>
259 <inParameter-name>Min</inParameter-name> </inParameter>
261 <inParameter-type>long</inParameter-type>
262 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
265 <outParameter-type>long</outParameter-type>
266 <outParameter-name>Index</outParameter-name> </outParameter>
268 <outParameter-type>long</outParameter-type>
269 <outParameter-name>Min</outParameter-name> </outParameter>
271 <outParameter-type>long</outParameter-type>
272 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
276 <FuncName>?</FuncName>
277 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
278 <creation-date>8/2/2005 - 11:26:56</creation-date>
279 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
280 <editor-release>1.05</editor-release>
282 <container>?</container>
283 <comment>Compute Node</comment>
284 <x-position>1102</x-position>
285 <y-position>282</y-position> </node>
287 <component-name>?</component-name>
288 <interface-name>?</interface-name>
289 <node-name>SwitchEven</node-name>
291 <coupled-node>EndOfSwitchEven</coupled-node>
293 <service-name>SwitchEven</service-name>
296 <inParameter-type>long</inParameter-type>
297 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
300 <outParameter-type>long</outParameter-type>
301 <outParameter-name>Odd</outParameter-name> </outParameter>
303 <outParameter-type>int</outParameter-type>
304 <outParameter-name>Even</outParameter-name> </outParameter>
306 <outParameter-type>int</outParameter-type>
307 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
311 <FuncName>Switch</FuncName>
312 <PyFunc><![CDATA[from time import * ]]></PyFunc>
313 <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
314 <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
315 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
316 <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
317 <creation-date>8/2/2005 - 11:26:56</creation-date>
318 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
319 <editor-release>1.05</editor-release>
321 <container>?</container>
322 <comment>Compute Node</comment>
323 <x-position>235</x-position>
324 <y-position>386</y-position> </node>
326 <component-name>?</component-name>
327 <interface-name>?</interface-name>
328 <node-name>EndOfSwitchEven</node-name>
330 <coupled-node>SwitchEven</coupled-node>
332 <service-name>EndOfSwitchEven</service-name>
335 <inParameter-type>long</inParameter-type>
336 <inParameter-name>a</inParameter-name> </inParameter>
338 <inParameter-type>boolean</inParameter-type>
339 <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
342 <outParameter-type>long</outParameter-type>
343 <outParameter-name>a</outParameter-name> </outParameter>
345 <outParameter-type>boolean</outParameter-type>
346 <outParameter-name>Even</outParameter-name> </outParameter> </outParameter-list> </service>
350 <FuncName>?</FuncName>
351 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
352 <creation-date>8/2/2005 - 11:26:56</creation-date>
353 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
354 <editor-release>1.05</editor-release>
356 <container>?</container>
357 <comment>Compute Node</comment>
358 <x-position>718</x-position>
359 <y-position>361</y-position> </node>
361 <component-name>?</component-name>
362 <interface-name>?</interface-name>
363 <node-name>SwitchsCompare</node-name>
365 <coupled-node>?</coupled-node>
367 <service-name>SwitchsCompare</service-name>
370 <inParameter-type>long</inParameter-type>
371 <inParameter-name>aOdd</inParameter-name> </inParameter>
373 <inParameter-type>boolean</inParameter-type>
374 <inParameter-name>Odd</inParameter-name> </inParameter>
376 <inParameter-type>long</inParameter-type>
377 <inParameter-name>aEven</inParameter-name> </inParameter>
379 <inParameter-type>boolean</inParameter-type>
380 <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
383 <outParameter-type>long</outParameter-type>
384 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
388 <FuncName>SwitchsCompare</FuncName>
389 <PyFunc><![CDATA[def SwitchsCompare(aOdd,Odd,aEven,Even) : ]]></PyFunc>
390 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
391 <creation-date>8/2/2005 - 11:26:56</creation-date>
392 <lastmodification-date>8/2/2005 - 11:26:56</lastmodification-date>
393 <editor-release>2.0</editor-release>
395 <container>?</container>
396 <comment>Compute Node</comment>
397 <x-position>919</x-position>
398 <y-position>242</y-position> </node> </node-list>
401 <fromnode-name>IsOdd</fromnode-name>
402 <fromserviceparameter-name>a</fromserviceparameter-name>
403 <tonode-name>EndOfSwitchOdd</tonode-name>
404 <toserviceparameter-name>a</toserviceparameter-name>
405 <coord-list/> </link>
407 <fromnode-name>SwitchOdd</fromnode-name>
408 <fromserviceparameter-name>Odd</fromserviceparameter-name>
409 <tonode-name>IsOdd</tonode-name>
410 <toserviceparameter-name>Gate</toserviceparameter-name>
411 <coord-list/> </link>
413 <fromnode-name>SwitchOdd</fromnode-name>
414 <fromserviceparameter-name>Odd</fromserviceparameter-name>
415 <tonode-name>EndOfSwitchOdd</tonode-name>
416 <toserviceparameter-name>Odd</toserviceparameter-name>
417 <coord-list/> </link>
419 <fromnode-name>SwitchOdd</fromnode-name>
420 <fromserviceparameter-name>a</fromserviceparameter-name>
421 <tonode-name>IsOdd</tonode-name>
422 <toserviceparameter-name>a</toserviceparameter-name>
429 <y>212</y> </coord> </coord-list> </link>
431 <fromnode-name>SwitchOdd</fromnode-name>
432 <fromserviceparameter-name>Default</fromserviceparameter-name>
433 <tonode-name>EndOfSwitchOdd</tonode-name>
434 <toserviceparameter-name>Default</toserviceparameter-name>
435 <coord-list/> </link>
437 <fromnode-name>EndOfSwitchOdd</fromnode-name>
438 <fromserviceparameter-name>a</fromserviceparameter-name>
439 <tonode-name>SwitchsCompare</tonode-name>
440 <toserviceparameter-name>aOdd</toserviceparameter-name>
441 <coord-list/> </link>
443 <fromnode-name>EndOfSwitchOdd</fromnode-name>
444 <fromserviceparameter-name>Odd</fromserviceparameter-name>
445 <tonode-name>SwitchsCompare</tonode-name>
446 <toserviceparameter-name>Odd</toserviceparameter-name>
447 <coord-list/> </link>
449 <fromnode-name>IsEven</fromnode-name>
450 <fromserviceparameter-name>a</fromserviceparameter-name>
451 <tonode-name>EndOfSwitchEven</tonode-name>
452 <toserviceparameter-name>a</toserviceparameter-name>
453 <coord-list/> </link>
455 <fromnode-name>Loop</fromnode-name>
456 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
457 <tonode-name>EndOfLoop</tonode-name>
458 <toserviceparameter-name>DoLoop</toserviceparameter-name>
459 <coord-list/> </link>
461 <fromnode-name>Loop</fromnode-name>
462 <fromserviceparameter-name>Index</fromserviceparameter-name>
463 <tonode-name>SwitchEven</tonode-name>
464 <toserviceparameter-name>a</toserviceparameter-name>
465 <coord-list/> </link>
467 <fromnode-name>Loop</fromnode-name>
468 <fromserviceparameter-name>Index</fromserviceparameter-name>
469 <tonode-name>SwitchOdd</tonode-name>
470 <toserviceparameter-name>a</toserviceparameter-name>
471 <coord-list/> </link>
473 <fromnode-name>Loop</fromnode-name>
474 <fromserviceparameter-name>Min</fromserviceparameter-name>
475 <tonode-name>EndOfLoop</tonode-name>
476 <toserviceparameter-name>Min</toserviceparameter-name>
477 <coord-list/> </link>
479 <fromnode-name>Loop</fromnode-name>
480 <fromserviceparameter-name>Max</fromserviceparameter-name>
481 <tonode-name>EndOfLoop</tonode-name>
482 <toserviceparameter-name>Max</toserviceparameter-name>
483 <coord-list/> </link>
485 <fromnode-name>EndOfLoop</fromnode-name>
486 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
487 <tonode-name>Loop</tonode-name>
488 <toserviceparameter-name>DoLoop</toserviceparameter-name>
489 <coord-list/> </link>
491 <fromnode-name>SwitchEven</fromnode-name>
492 <fromserviceparameter-name>Odd</fromserviceparameter-name>
493 <tonode-name>IsEven</tonode-name>
494 <toserviceparameter-name>Gate</toserviceparameter-name>
495 <coord-list/> </link>
497 <fromnode-name>SwitchEven</fromnode-name>
498 <fromserviceparameter-name>Even</fromserviceparameter-name>
499 <tonode-name>EndOfSwitchEven</tonode-name>
500 <toserviceparameter-name>Default</toserviceparameter-name>
501 <coord-list/> </link>
503 <fromnode-name>SwitchEven</fromnode-name>
504 <fromserviceparameter-name>a</fromserviceparameter-name>
505 <tonode-name>IsEven</tonode-name>
506 <toserviceparameter-name>a</toserviceparameter-name>
513 <y>457</y> </coord> </coord-list> </link>
515 <fromnode-name>EndOfSwitchEven</fromnode-name>
516 <fromserviceparameter-name>a</fromserviceparameter-name>
517 <tonode-name>SwitchsCompare</tonode-name>
518 <toserviceparameter-name>aEven</toserviceparameter-name>
519 <coord-list/> </link>
521 <fromnode-name>EndOfSwitchEven</fromnode-name>
522 <fromserviceparameter-name>Even</fromserviceparameter-name>
523 <tonode-name>SwitchsCompare</tonode-name>
524 <toserviceparameter-name>Even</toserviceparameter-name>
525 <coord-list/> </link>
527 <fromnode-name>SwitchsCompare</fromnode-name>
528 <fromserviceparameter-name>a</fromserviceparameter-name>
529 <tonode-name>EndOfLoop</tonode-name>
530 <toserviceparameter-name>Index</toserviceparameter-name>
531 <coord-list/> </link> </link-list>
534 <fromnode-name>GraphLoopSwitchsNOTValid</fromnode-name>
535 <fromserviceparameter-name>Loop__Index</fromserviceparameter-name>
536 <tonode-name>Loop</tonode-name>
537 <toserviceparameter-name>Index</toserviceparameter-name>
539 <value-type>3</value-type>
540 <value>0</value> </data-value>
541 <coord-list/> </data>
543 <fromnode-name>GraphLoopSwitchsNOTValid</fromnode-name>
544 <fromserviceparameter-name>Loop__Min</fromserviceparameter-name>
545 <tonode-name>Loop</tonode-name>
546 <toserviceparameter-name>Min</toserviceparameter-name>
548 <value-type>3</value-type>
549 <value>0</value> </data-value>
550 <coord-list/> </data>
552 <fromnode-name>GraphLoopSwitchsNOTValid</fromnode-name>
553 <fromserviceparameter-name>Loop__Max</fromserviceparameter-name>
554 <tonode-name>Loop</tonode-name>
555 <toserviceparameter-name>Max</toserviceparameter-name>
557 <value-type>3</value-type>
558 <value>100</value> </data-value>
559 <coord-list/> </data> </data-list> </dataflow></supergraph>