6 <component-name>?</component-name>
7 <interface-name>?</interface-name>
8 <node-name>GraphLoopGates</node-name>
10 <coupled-node>?</coupled-node>
12 <service-name>GraphLoopGates1_1</service-name>
15 <inParameter-type>long</inParameter-type>
16 <inParameter-name>Init__Index</inParameter-name> </inParameter>
18 <inParameter-type>long</inParameter-type>
19 <inParameter-name>Init__Min</inParameter-name> </inParameter>
21 <inParameter-type>long</inParameter-type>
22 <inParameter-name>Init__Max</inParameter-name> </inParameter>
24 <inParameter-type>double</inParameter-type>
25 <inParameter-name>Add__x</inParameter-name> </inParameter>
27 <inParameter-type>double</inParameter-type>
28 <inParameter-name>Add__y</inParameter-name> </inParameter>
30 <inParameter-type>double</inParameter-type>
31 <inParameter-name>Add_1__x</inParameter-name> </inParameter>
33 <inParameter-type>double</inParameter-type>
34 <inParameter-name>Add_1__y</inParameter-name> </inParameter>
36 <inParameter-type>double</inParameter-type>
37 <inParameter-name>Sub__x</inParameter-name> </inParameter>
39 <inParameter-type>double</inParameter-type>
40 <inParameter-name>Sub__y</inParameter-name> </inParameter>
42 <inParameter-type>double</inParameter-type>
43 <inParameter-name>Sub_1__x</inParameter-name> </inParameter>
45 <inParameter-type>double</inParameter-type>
46 <inParameter-name>Sub_1__y</inParameter-name> </inParameter> </inParameter-list>
49 <outParameter-type>long</outParameter-type>
50 <outParameter-name>EndInit__Index</outParameter-name> </outParameter>
52 <outParameter-type>long</outParameter-type>
53 <outParameter-name>EndInit__Min</outParameter-name> </outParameter>
55 <outParameter-type>long</outParameter-type>
56 <outParameter-name>EndInit__Max</outParameter-name> </outParameter>
58 <outParameter-type>double</outParameter-type>
59 <outParameter-name>Add__FuncValue</outParameter-name> </outParameter>
61 <outParameter-type>double</outParameter-type>
62 <outParameter-name>Add__z</outParameter-name> </outParameter>
64 <outParameter-type>double</outParameter-type>
65 <outParameter-name>Add_1__FuncValue</outParameter-name> </outParameter>
67 <outParameter-type>double</outParameter-type>
68 <outParameter-name>Add_1__z</outParameter-name> </outParameter>
70 <outParameter-type>double</outParameter-type>
71 <outParameter-name>Sub__z</outParameter-name> </outParameter>
73 <outParameter-type>long</outParameter-type>
74 <outParameter-name>Gate__G</outParameter-name> </outParameter> </outParameter-list> </service>
77 <creation-date>7/1/2005 - 16:57:1</creation-date>
78 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
79 <editor-release>2.0</editor-release>
81 <container>?</container>
83 <x-position>0</x-position>
84 <y-position>0</y-position> </node> </info-list>
87 <component-name>?</component-name>
88 <interface-name>?</interface-name>
89 <node-name>Init</node-name>
91 <coupled-node>EndInit</coupled-node>
93 <service-name>Init</service-name>
96 <inParameter-type>long</inParameter-type>
97 <inParameter-name>Index</inParameter-name> </inParameter>
99 <inParameter-type>long</inParameter-type>
100 <inParameter-name>Min</inParameter-name> </inParameter>
102 <inParameter-type>long</inParameter-type>
103 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
106 <outParameter-type>long</outParameter-type>
107 <outParameter-name>Index</outParameter-name> </outParameter>
109 <outParameter-type>long</outParameter-type>
110 <outParameter-name>Min</outParameter-name> </outParameter>
112 <outParameter-type>long</outParameter-type>
113 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
117 <FuncName>Init</FuncName>
118 <PyFunc><![CDATA[from time import * ]]></PyFunc>
119 <PyFunc><![CDATA[def Init(Index,Min,Max) : ]]></PyFunc>
120 <PyFunc><![CDATA[ Index = Min ]]></PyFunc>
121 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
122 <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction>
124 <FuncName>More</FuncName>
125 <PyFunc><![CDATA[def More(Index,Min,Max) : ]]></PyFunc>
126 <PyFunc><![CDATA[ if Index < Max : ]]></PyFunc>
127 <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
128 <PyFunc><![CDATA[ else : ]]></PyFunc>
129 <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
130 <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction>
132 <FuncName>Next</FuncName>
133 <PyFunc><![CDATA[def Next(Index,Min,Max) : ]]></PyFunc>
134 <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
135 <PyFunc><![CDATA[ return Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
136 <creation-date>4/7/2005 - 10:26:6</creation-date>
137 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
138 <editor-release>2.0</editor-release>
140 <container>?</container>
141 <comment>Compute Node</comment>
142 <x-position>10</x-position>
143 <y-position>181</y-position> </node>
145 <component-name>?</component-name>
146 <interface-name>?</interface-name>
147 <node-name>EndInit</node-name>
149 <coupled-node>Init</coupled-node>
151 <service-name>EndInit</service-name>
154 <inParameter-type>long</inParameter-type>
155 <inParameter-name>Index</inParameter-name> </inParameter>
157 <inParameter-type>long</inParameter-type>
158 <inParameter-name>Min</inParameter-name> </inParameter>
160 <inParameter-type>long</inParameter-type>
161 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
164 <outParameter-type>long</outParameter-type>
165 <outParameter-name>Index</outParameter-name> </outParameter>
167 <outParameter-type>long</outParameter-type>
168 <outParameter-name>Min</outParameter-name> </outParameter>
170 <outParameter-type>long</outParameter-type>
171 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
175 <FuncName>EndInit</FuncName>
176 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
177 <creation-date>4/7/2005 - 10:26:6</creation-date>
178 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
179 <editor-release>2.0</editor-release>
181 <container>?</container>
182 <comment>Compute Node</comment>
183 <x-position>847</x-position>
184 <y-position>247</y-position> </node>
186 <component-name>AddComponent</component-name>
187 <interface-name>AddComponent</interface-name>
188 <node-name>Add</node-name>
190 <coupled-node>?</coupled-node>
192 <service-name>Add</service-name>
195 <inParameter-type>double</inParameter-type>
196 <inParameter-name>x</inParameter-name> </inParameter>
198 <inParameter-type>double</inParameter-type>
199 <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
202 <outParameter-type>double</outParameter-type>
203 <outParameter-name>FuncValue</outParameter-name> </outParameter>
205 <outParameter-type>double</outParameter-type>
206 <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
209 <creation-date>4/7/2005 - 10:26:6</creation-date>
210 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
211 <editor-release>2.0</editor-release>
213 <container>localhost/FactoryServer</container>
214 <comment>Add from AddComponent</comment>
215 <x-position>248</x-position>
216 <y-position>70</y-position> </node>
218 <component-name>AddComponent</component-name>
219 <interface-name>AddComponent</interface-name>
220 <node-name>Add_1</node-name>
222 <coupled-node>?</coupled-node>
224 <service-name>Add</service-name>
227 <inParameter-type>double</inParameter-type>
228 <inParameter-name>x</inParameter-name> </inParameter>
230 <inParameter-type>double</inParameter-type>
231 <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
234 <outParameter-type>double</outParameter-type>
235 <outParameter-name>FuncValue</outParameter-name> </outParameter>
237 <outParameter-type>double</outParameter-type>
238 <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
241 <creation-date>4/7/2005 - 10:26:6</creation-date>
242 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
243 <editor-release>2.0</editor-release>
245 <container>localhost/FactoryServer</container>
246 <comment>Add from AddComponent</comment>
247 <x-position>249</x-position>
248 <y-position>305</y-position> </node>
250 <component-name>SubComponent</component-name>
251 <interface-name>SubComponent</interface-name>
252 <node-name>Sub</node-name>
254 <coupled-node>?</coupled-node>
256 <service-name>Sub</service-name>
259 <inParameter-type>double</inParameter-type>
260 <inParameter-name>x</inParameter-name> </inParameter>
262 <inParameter-type>double</inParameter-type>
263 <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
266 <outParameter-type>double</outParameter-type>
267 <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
270 <creation-date>4/7/2005 - 10:26:6</creation-date>
271 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
272 <editor-release>2.0</editor-release>
274 <container>localhost/FactoryServer</container>
275 <comment>Sub from SubComponent</comment>
276 <x-position>453</x-position>
277 <y-position>72</y-position> </node>
279 <component-name>SubComponent</component-name>
280 <interface-name>SubComponent</interface-name>
281 <node-name>Sub_1</node-name>
283 <coupled-node>?</coupled-node>
285 <service-name>Sub</service-name>
288 <inParameter-type>double</inParameter-type>
289 <inParameter-name>x</inParameter-name> </inParameter>
291 <inParameter-type>double</inParameter-type>
292 <inParameter-name>y</inParameter-name> </inParameter> </inParameter-list>
295 <outParameter-type>double</outParameter-type>
296 <outParameter-name>z</outParameter-name> </outParameter> </outParameter-list> </service>
299 <creation-date>4/7/2005 - 10:26:6</creation-date>
300 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
301 <editor-release>2.0</editor-release>
303 <container>localhost/FactoryServer</container>
304 <comment>Sub from SubComponent</comment>
305 <x-position>455</x-position>
306 <y-position>304</y-position> </node>
308 <component-name>?</component-name>
309 <interface-name>?</interface-name>
310 <node-name>Gate</node-name>
312 <coupled-node>?</coupled-node>
314 <service-name>Gate</service-name>
317 <inParameter-type>long</inParameter-type>
318 <inParameter-name>G1</inParameter-name> </inParameter>
320 <inParameter-type>long</inParameter-type>
321 <inParameter-name>G2</inParameter-name> </inParameter> </inParameter-list>
324 <outParameter-type>long</outParameter-type>
325 <outParameter-name>G</outParameter-name> </outParameter> </outParameter-list> </service>
329 <FuncName>Gate</FuncName>
330 <PyFunc><![CDATA[from time import * ]]></PyFunc>
331 <PyFunc><![CDATA[def Gate(G1,G2) : ]]></PyFunc>
332 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
333 <PyFunc><![CDATA[ return G1&G2 ]]></PyFunc> </PyFunction> </PyFunction-list>
334 <creation-date>4/7/2005 - 10:26:6</creation-date>
335 <lastmodification-date>4/7/2005 - 10:26:6</lastmodification-date>
336 <editor-release>2.0</editor-release>
338 <container>?</container>
339 <comment>Compute Node</comment>
340 <x-position>650</x-position>
341 <y-position>227</y-position> </node> </node-list>
344 <fromnode-name>Init</fromnode-name>
345 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
346 <tonode-name>EndInit</tonode-name>
347 <toserviceparameter-name>DoLoop</toserviceparameter-name>
348 <coord-list/> </link>
350 <fromnode-name>Init</fromnode-name>
351 <fromserviceparameter-name>Index</fromserviceparameter-name>
352 <tonode-name>EndInit</tonode-name>
353 <toserviceparameter-name>Index</toserviceparameter-name>
354 <coord-list/> </link>
356 <fromnode-name>Init</fromnode-name>
357 <fromserviceparameter-name>Min</fromserviceparameter-name>
358 <tonode-name>EndInit</tonode-name>
359 <toserviceparameter-name>Min</toserviceparameter-name>
360 <coord-list/> </link>
362 <fromnode-name>Init</fromnode-name>
363 <fromserviceparameter-name>Max</fromserviceparameter-name>
364 <tonode-name>EndInit</tonode-name>
365 <toserviceparameter-name>Max</toserviceparameter-name>
366 <coord-list/> </link>
368 <fromnode-name>Init</fromnode-name>
369 <fromserviceparameter-name>Gate</fromserviceparameter-name>
370 <tonode-name>Add_1</tonode-name>
371 <toserviceparameter-name>Gate</toserviceparameter-name>
372 <coord-list/> </link>
374 <fromnode-name>Init</fromnode-name>
375 <fromserviceparameter-name>Gate</fromserviceparameter-name>
376 <tonode-name>Add</tonode-name>
377 <toserviceparameter-name>Gate</toserviceparameter-name>
378 <coord-list/> </link>
380 <fromnode-name>EndInit</fromnode-name>
381 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
382 <tonode-name>Init</tonode-name>
383 <toserviceparameter-name>DoLoop</toserviceparameter-name>
384 <coord-list/> </link>
386 <fromnode-name>Add</fromnode-name>
387 <fromserviceparameter-name>Gate</fromserviceparameter-name>
388 <tonode-name>Sub</tonode-name>
389 <toserviceparameter-name>Gate</toserviceparameter-name>
390 <coord-list/> </link>
392 <fromnode-name>Add_1</fromnode-name>
393 <fromserviceparameter-name>Gate</fromserviceparameter-name>
394 <tonode-name>Sub_1</tonode-name>
395 <toserviceparameter-name>Gate</toserviceparameter-name>
396 <coord-list/> </link>
398 <fromnode-name>Sub</fromnode-name>
399 <fromserviceparameter-name>Gate</fromserviceparameter-name>
400 <tonode-name>Gate</tonode-name>
401 <toserviceparameter-name>G1</toserviceparameter-name>
402 <coord-list/> </link>
404 <fromnode-name>Sub_1</fromnode-name>
405 <fromserviceparameter-name>z</fromserviceparameter-name>
406 <tonode-name>Gate</tonode-name>
407 <toserviceparameter-name>G2</toserviceparameter-name>
408 <coord-list/> </link>
410 <fromnode-name>Sub_1</fromnode-name>
411 <fromserviceparameter-name>Gate</fromserviceparameter-name>
412 <tonode-name>Gate</tonode-name>
413 <toserviceparameter-name>Gate</toserviceparameter-name>
414 <coord-list/> </link>
416 <fromnode-name>Gate</fromnode-name>
417 <fromserviceparameter-name>Gate</fromserviceparameter-name>
418 <tonode-name>EndInit</tonode-name>
419 <toserviceparameter-name>Gate</toserviceparameter-name>
420 <coord-list/> </link> </link-list>
423 <fromnode-name>GraphLoopGates</fromnode-name>
424 <fromserviceparameter-name>Init__Index</fromserviceparameter-name>
425 <tonode-name>Init</tonode-name>
426 <toserviceparameter-name>Index</toserviceparameter-name>
428 <value-type>3</value-type>
429 <value>0</value> </data-value>
430 <coord-list/> </data>
432 <fromnode-name>GraphLoopGates</fromnode-name>
433 <fromserviceparameter-name>Init__Min</fromserviceparameter-name>
434 <tonode-name>Init</tonode-name>
435 <toserviceparameter-name>Min</toserviceparameter-name>
437 <value-type>3</value-type>
438 <value>5</value> </data-value>
439 <coord-list/> </data>
441 <fromnode-name>GraphLoopGates</fromnode-name>
442 <fromserviceparameter-name>Init__Max</fromserviceparameter-name>
443 <tonode-name>Init</tonode-name>
444 <toserviceparameter-name>Max</toserviceparameter-name>
446 <value-type>3</value-type>
447 <value>13</value> </data-value>
448 <coord-list/> </data>
450 <fromnode-name>GraphLoopGates</fromnode-name>
451 <fromserviceparameter-name>Add__x</fromserviceparameter-name>
452 <tonode-name>Add</tonode-name>
453 <toserviceparameter-name>x</toserviceparameter-name>
455 <value-type>7</value-type>
456 <value>1</value> </data-value>
457 <coord-list/> </data>
459 <fromnode-name>GraphLoopGates</fromnode-name>
460 <fromserviceparameter-name>Add__y</fromserviceparameter-name>
461 <tonode-name>Add</tonode-name>
462 <toserviceparameter-name>y</toserviceparameter-name>
464 <value-type>7</value-type>
465 <value>2</value> </data-value>
466 <coord-list/> </data>
468 <fromnode-name>GraphLoopGates</fromnode-name>
469 <fromserviceparameter-name>Add_1__x</fromserviceparameter-name>
470 <tonode-name>Add_1</tonode-name>
471 <toserviceparameter-name>x</toserviceparameter-name>
473 <value-type>7</value-type>
474 <value>3</value> </data-value>
475 <coord-list/> </data>
477 <fromnode-name>GraphLoopGates</fromnode-name>
478 <fromserviceparameter-name>Add_1__y</fromserviceparameter-name>
479 <tonode-name>Add_1</tonode-name>
480 <toserviceparameter-name>y</toserviceparameter-name>
482 <value-type>7</value-type>
483 <value>4</value> </data-value>
484 <coord-list/> </data>
486 <fromnode-name>GraphLoopGates</fromnode-name>
487 <fromserviceparameter-name>Sub__x</fromserviceparameter-name>
488 <tonode-name>Sub</tonode-name>
489 <toserviceparameter-name>x</toserviceparameter-name>
491 <value-type>7</value-type>
492 <value>5</value> </data-value>
493 <coord-list/> </data>
495 <fromnode-name>GraphLoopGates</fromnode-name>
496 <fromserviceparameter-name>Sub__y</fromserviceparameter-name>
497 <tonode-name>Sub</tonode-name>
498 <toserviceparameter-name>y</toserviceparameter-name>
500 <value-type>7</value-type>
501 <value>6</value> </data-value>
502 <coord-list/> </data>
504 <fromnode-name>GraphLoopGates</fromnode-name>
505 <fromserviceparameter-name>Sub_1__x</fromserviceparameter-name>
506 <tonode-name>Sub_1</tonode-name>
507 <toserviceparameter-name>x</toserviceparameter-name>
509 <value-type>7</value-type>
510 <value>7</value> </data-value>
511 <coord-list/> </data>
513 <fromnode-name>GraphLoopGates</fromnode-name>
514 <fromserviceparameter-name>Sub_1__y</fromserviceparameter-name>
515 <tonode-name>Sub_1</tonode-name>
516 <toserviceparameter-name>y</toserviceparameter-name>
518 <value-type>7</value-type>
519 <value>8</value> </data-value>
520 <coord-list/> </data> </data-list> </dataflow></supergraph>