5 <component-name>?</component-name>
6 <interface-name>?</interface-name>
7 <node-name>GraphStreamInLines</node-name>
9 <streamgraph-timeout>300</streamgraph-timeout>
10 <streamgraph-datastreamtrace>0</streamgraph-datastreamtrace>
11 <streamgraph-deltatime>0</streamgraph-deltatime>
12 <coupled-node>?</coupled-node>
14 <service-name>GraphStreamInLines</service-name>
17 <inParameter-type>long</inParameter-type>
18 <inParameter-name>InitLoop\Index</inParameter-name> </inParameter>
20 <inParameter-type>long</inParameter-type>
21 <inParameter-name>InitLoop\Min</inParameter-name> </inParameter>
23 <inParameter-type>long</inParameter-type>
24 <inParameter-name>InitLoop\Max</inParameter-name> </inParameter> </inParameter-list>
27 <outParameter-type>long</outParameter-type>
28 <outParameter-name>EndOfInitLoop\Index</outParameter-name> </outParameter>
30 <outParameter-type>long</outParameter-type>
31 <outParameter-name>EndOfInitLoop\Min</outParameter-name> </outParameter>
33 <outParameter-type>long</outParameter-type>
34 <outParameter-name>EndOfInitLoop\Max</outParameter-name> </outParameter> </outParameter-list> </service>
37 <outParameter-type>1</outParameter-type>
38 <outParameter-name>EndOfInitLoop\ostream</outParameter-name>
39 <outParameter-dependency>1</outParameter-dependency>
40 <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
42 <creation-date>27/4/2004 - 15:5:25</creation-date>
43 <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
44 <editor-release>2.0</editor-release>
46 <container>?</container>
48 <x-position>0</x-position>
49 <y-position>0</y-position> </node> </info-list>
52 <component-name>?</component-name>
53 <interface-name>?</interface-name>
54 <node-name>IsOdd</node-name>
56 <coupled-node>?</coupled-node>
58 <service-name>IsOdd</service-name>
61 <inParameter-type>long</inParameter-type>
62 <inParameter-name>a</inParameter-name> </inParameter>
64 <inParameter-type>boolean</inParameter-type>
65 <inParameter-name>Even</inParameter-name> </inParameter> </inParameter-list>
68 <outParameter-type>long</outParameter-type>
69 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
72 <inParameter-type>1</inParameter-type>
73 <inParameter-name>istream</inParameter-name>
74 <inParameter-dependency>1</inParameter-dependency>
75 <inParameter-schema>1</inParameter-schema>
76 <inParameter-interpolation>2</inParameter-interpolation>
77 <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
79 <outParameter-type>1</outParameter-type>
80 <outParameter-name>ostream</outParameter-name>
81 <outParameter-dependency>2</outParameter-dependency>
82 <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
85 <FuncName>IsOdd</FuncName>
86 <PyFunc><![CDATA[from time import * ]]></PyFunc>
87 <PyFunc><![CDATA[def IsOdd(a,Even) : ]]></PyFunc>
88 <PyFunc><![CDATA[ print a,"IsOdd (GraphStreamInLines1)" ]]></PyFunc>
89 <PyFunc><![CDATA[ sleep( 1 ) ]]></PyFunc>
90 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
91 <creation-date>21/5/2004 - 10:45:38</creation-date>
92 <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
93 <editor-release>2.0</editor-release>
95 <container>?</container>
96 <comment>Python function</comment>
97 <x-position>394</x-position>
98 <y-position>59</y-position> </node>
100 <component-name>?</component-name>
101 <interface-name>?</interface-name>
102 <node-name>InitLoop</node-name>
104 <coupled-node>EndOfInitLoop</coupled-node>
106 <service-name>InitLoop</service-name>
109 <inParameter-type>long</inParameter-type>
110 <inParameter-name>Index</inParameter-name> </inParameter>
112 <inParameter-type>long</inParameter-type>
113 <inParameter-name>Min</inParameter-name> </inParameter>
115 <inParameter-type>long</inParameter-type>
116 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
119 <outParameter-type>long</outParameter-type>
120 <outParameter-name>Index</outParameter-name> </outParameter>
122 <outParameter-type>long</outParameter-type>
123 <outParameter-name>Min</outParameter-name> </outParameter>
125 <outParameter-type>long</outParameter-type>
126 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
129 <inParameter-type>1</inParameter-type>
130 <inParameter-name>istream</inParameter-name>
131 <inParameter-dependency>1</inParameter-dependency>
132 <inParameter-schema>1</inParameter-schema>
133 <inParameter-interpolation>2</inParameter-interpolation>
134 <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
136 <outParameter-type>1</outParameter-type>
137 <outParameter-name>ostream</outParameter-name>
138 <outParameter-dependency>2</outParameter-dependency>
139 <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
142 <FuncName>?</FuncName>
143 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
145 <FuncName>?</FuncName>
146 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction>
148 <FuncName>?</FuncName>
149 <PyFunc><![CDATA[?]]></PyFunc> </PyFunction> </PyFunction-list>
150 <creation-date>21/5/2004 - 10:45:38</creation-date>
151 <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
152 <editor-release>2.0</editor-release>
154 <container>?</container>
156 <x-position>11</x-position>
157 <y-position>119</y-position> </node>
159 <component-name>?</component-name>
160 <interface-name>?</interface-name>
161 <node-name>EndOfInitLoop</node-name>
163 <coupled-node>InitLoop</coupled-node>
165 <service-name>EndOfInitLoop</service-name>
168 <inParameter-type>long</inParameter-type>
169 <inParameter-name>Index</inParameter-name> </inParameter>
171 <inParameter-type>long</inParameter-type>
172 <inParameter-name>Min</inParameter-name> </inParameter>
174 <inParameter-type>long</inParameter-type>
175 <inParameter-name>Max</inParameter-name> </inParameter> </inParameter-list>
178 <outParameter-type>long</outParameter-type>
179 <outParameter-name>Index</outParameter-name> </outParameter>
181 <outParameter-type>long</outParameter-type>
182 <outParameter-name>Min</outParameter-name> </outParameter>
184 <outParameter-type>long</outParameter-type>
185 <outParameter-name>Max</outParameter-name> </outParameter> </outParameter-list> </service>
188 <inParameter-type>1</inParameter-type>
189 <inParameter-name>istream</inParameter-name>
190 <inParameter-dependency>2</inParameter-dependency>
191 <inParameter-schema>0</inParameter-schema>
192 <inParameter-interpolation>0</inParameter-interpolation>
193 <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
195 <outParameter-type>1</outParameter-type>
196 <outParameter-name>ostream</outParameter-name>
197 <outParameter-dependency>1</outParameter-dependency>
198 <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
201 <FuncName>EndOfInitLoop</FuncName>
202 <PyFunc><![CDATA[def EndOfInitLoop( DoLoop , Index , Min , Max ) :]]></PyFunc>
203 <PyFunc><![CDATA[ Index = Index + 1 ]]></PyFunc>
204 <PyFunc><![CDATA[ if Index <= Max : ]]></PyFunc>
205 <PyFunc><![CDATA[ DoLoop = 1 ]]></PyFunc>
206 <PyFunc><![CDATA[ else : ]]></PyFunc>
207 <PyFunc><![CDATA[ DoLoop = 0 ]]></PyFunc>
208 <PyFunc><![CDATA[ return DoLoop,Index,Min,Max ]]></PyFunc> </PyFunction> </PyFunction-list>
209 <creation-date>21/5/2004 - 10:45:38</creation-date>
210 <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
211 <editor-release>2.0</editor-release>
213 <container>?</container>
215 <x-position>776</x-position>
216 <y-position>105</y-position> </node>
218 <component-name>?</component-name>
219 <interface-name>?</interface-name>
220 <node-name>Switch</node-name>
222 <coupled-node>EndSwitch</coupled-node>
224 <service-name>Switch</service-name>
227 <inParameter-type>long</inParameter-type>
228 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
231 <outParameter-type>long</outParameter-type>
232 <outParameter-name>Odd</outParameter-name> </outParameter>
234 <outParameter-type>int</outParameter-type>
235 <outParameter-name>Even</outParameter-name> </outParameter>
237 <outParameter-type>int</outParameter-type>
238 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
241 <inParameter-type>1</inParameter-type>
242 <inParameter-name>istream</inParameter-name>
243 <inParameter-dependency>1</inParameter-dependency>
244 <inParameter-schema>1</inParameter-schema>
245 <inParameter-interpolation>2</inParameter-interpolation>
246 <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
248 <outParameter-type>1</outParameter-type>
249 <outParameter-name>ostream</outParameter-name>
250 <outParameter-dependency>2</outParameter-dependency>
251 <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
254 <FuncName>Switch</FuncName>
255 <PyFunc><![CDATA[from time import * ]]></PyFunc>
256 <PyFunc><![CDATA[def Switch(a) : ]]></PyFunc>
257 <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
258 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
259 <PyFunc><![CDATA[ return a & 1,1-(a&1),a ]]></PyFunc> </PyFunction> </PyFunction-list>
260 <creation-date>21/5/2004 - 10:45:38</creation-date>
261 <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
262 <editor-release>2.0</editor-release>
264 <container>?</container>
266 <x-position>197</x-position>
267 <y-position>119</y-position> </node>
269 <component-name>?</component-name>
270 <interface-name>?</interface-name>
271 <node-name>EndSwitch</node-name>
273 <coupled-node>Switch</coupled-node>
275 <service-name>EndSwitch</service-name>
278 <inParameter-type>long</inParameter-type>
279 <inParameter-name>a</inParameter-name> </inParameter> </inParameter-list>
282 <outParameter-type>long</outParameter-type>
283 <outParameter-name>a</outParameter-name> </outParameter> </outParameter-list> </service>
286 <inParameter-type>1</inParameter-type>
287 <inParameter-name>istream</inParameter-name>
288 <inParameter-dependency>1</inParameter-dependency>
289 <inParameter-schema>1</inParameter-schema>
290 <inParameter-interpolation>2</inParameter-interpolation>
291 <inParameter-extrapolation>0</inParameter-extrapolation> </inParameter>
293 <outParameter-type>1</outParameter-type>
294 <outParameter-name>ostream</outParameter-name>
295 <outParameter-dependency>1</outParameter-dependency>
296 <outParameter-values>0</outParameter-values> </outParameter> </DataStream-list>
299 <FuncName>EndOfSwitch</FuncName>
300 <PyFunc><![CDATA[def EndOfSwitch(a) : ]]></PyFunc>
301 <PyFunc><![CDATA[ if ( a & 1 ) == 0 : ]]></PyFunc>
302 <PyFunc><![CDATA[ sleep(1) ]]></PyFunc>
303 <PyFunc><![CDATA[ return a ]]></PyFunc> </PyFunction> </PyFunction-list>
304 <creation-date>21/5/2004 - 10:45:38</creation-date>
305 <lastmodification-date>21/5/2004 - 10:45:38</lastmodification-date>
306 <editor-release>2.0</editor-release>
308 <container>?</container>
310 <x-position>587</x-position>
311 <y-position>104</y-position> </node> </node-list>
314 <fromnode-name>IsOdd</fromnode-name>
315 <fromserviceparameter-name>a</fromserviceparameter-name>
316 <tonode-name>EndSwitch</tonode-name>
317 <toserviceparameter-name>a</toserviceparameter-name>
318 <coord-list/> </link>
320 <fromnode-name>IsOdd</fromnode-name>
321 <fromserviceparameter-name>ostream</fromserviceparameter-name>
322 <tonode-name>InitLoop</tonode-name>
323 <toserviceparameter-name>istream</toserviceparameter-name>
336 <y>187</y> </coord> </coord-list> </link>
338 <fromnode-name>InitLoop</fromnode-name>
339 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
340 <tonode-name>EndOfInitLoop</tonode-name>
341 <toserviceparameter-name>DoLoop</toserviceparameter-name>
342 <coord-list/> </link>
344 <fromnode-name>InitLoop</fromnode-name>
345 <fromserviceparameter-name>Index</fromserviceparameter-name>
346 <tonode-name>Switch</tonode-name>
347 <toserviceparameter-name>a</toserviceparameter-name>
348 <coord-list/> </link>
350 <fromnode-name>InitLoop</fromnode-name>
351 <fromserviceparameter-name>Min</fromserviceparameter-name>
352 <tonode-name>EndOfInitLoop</tonode-name>
353 <toserviceparameter-name>Min</toserviceparameter-name>
354 <coord-list/> </link>
356 <fromnode-name>InitLoop</fromnode-name>
357 <fromserviceparameter-name>Max</fromserviceparameter-name>
358 <tonode-name>EndOfInitLoop</tonode-name>
359 <toserviceparameter-name>Max</toserviceparameter-name>
360 <coord-list/> </link>
362 <fromnode-name>InitLoop</fromnode-name>
363 <fromserviceparameter-name>ostream</fromserviceparameter-name>
364 <tonode-name>EndSwitch</tonode-name>
365 <toserviceparameter-name>istream</toserviceparameter-name>
378 <y>240</y> </coord> </coord-list> </link>
380 <fromnode-name>EndOfInitLoop</fromnode-name>
381 <fromserviceparameter-name>DoLoop</fromserviceparameter-name>
382 <tonode-name>InitLoop</tonode-name>
383 <toserviceparameter-name>InitLoop</toserviceparameter-name>
384 <coord-list/> </link>
386 <fromnode-name>Switch</fromnode-name>
387 <fromserviceparameter-name>Odd</fromserviceparameter-name>
388 <tonode-name>IsOdd</tonode-name>
389 <toserviceparameter-name>Gate</toserviceparameter-name>
396 <y>147</y> </coord> </coord-list> </link>
398 <fromnode-name>Switch</fromnode-name>
399 <fromserviceparameter-name>Even</fromserviceparameter-name>
400 <tonode-name>EndSwitch</tonode-name>
401 <toserviceparameter-name>Default</toserviceparameter-name>
402 <coord-list/> </link>
404 <fromnode-name>Switch</fromnode-name>
405 <fromserviceparameter-name>Even</fromserviceparameter-name>
406 <tonode-name>IsOdd</tonode-name>
407 <toserviceparameter-name>Even</toserviceparameter-name>
414 <y>177</y> </coord> </coord-list> </link>
416 <fromnode-name>Switch</fromnode-name>
417 <fromserviceparameter-name>a</fromserviceparameter-name>
418 <tonode-name>IsOdd</tonode-name>
419 <toserviceparameter-name>a</toserviceparameter-name>
426 <y>206</y> </coord> </coord-list> </link>
428 <fromnode-name>Switch</fromnode-name>
429 <fromserviceparameter-name>ostream</fromserviceparameter-name>
430 <tonode-name>IsOdd</tonode-name>
431 <toserviceparameter-name>istream</toserviceparameter-name>
438 <y>240</y> </coord> </coord-list> </link>
440 <fromnode-name>Switch</fromnode-name>
441 <fromserviceparameter-name>ostream</fromserviceparameter-name>
442 <tonode-name>EndOfInitLoop</tonode-name>
443 <toserviceparameter-name>istream</toserviceparameter-name>
456 <y>240</y> </coord> </coord-list> </link>
458 <fromnode-name>EndSwitch</fromnode-name>
459 <fromserviceparameter-name>a</fromserviceparameter-name>
460 <tonode-name>EndOfInitLoop</tonode-name>
461 <toserviceparameter-name>Index</toserviceparameter-name>
462 <coord-list/> </link>
464 <fromnode-name>EndSwitch</fromnode-name>
465 <fromserviceparameter-name>ostream</fromserviceparameter-name>
466 <tonode-name>Switch</tonode-name>
467 <toserviceparameter-name>istream</toserviceparameter-name>
480 <y>167</y> </coord> </coord-list> </link> </link-list>
483 <fromnode-name>GraphStreamInLines</fromnode-name>
484 <fromserviceparameter-name>InitLoop\Index</fromserviceparameter-name>
485 <tonode-name>InitLoop</tonode-name>
486 <toserviceparameter-name>Index</toserviceparameter-name>
488 <value-type>3</value-type>
489 <value>0</value> </data-value>
490 <coord-list/> </data>
492 <fromnode-name>GraphStreamInLines</fromnode-name>
493 <fromserviceparameter-name>InitLoop\Min</fromserviceparameter-name>
494 <tonode-name>InitLoop</tonode-name>
495 <toserviceparameter-name>Min</toserviceparameter-name>
497 <value-type>3</value-type>
498 <value>0</value> </data-value>
499 <coord-list/> </data>
501 <fromnode-name>GraphStreamInLines</fromnode-name>
502 <fromserviceparameter-name>InitLoop\Max</fromserviceparameter-name>
503 <tonode-name>InitLoop</tonode-name>
504 <toserviceparameter-name>Max</toserviceparameter-name>
506 <value-type>3</value-type>
507 <value>100</value> </data-value>
508 <coord-list/> </data> </data-list></dataflow>