1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <proc name="newSchema_1">
3 <property name="executor" value="workloadmanager"/>
4 <type name="string" kind="string"/>
5 <struct name="Engines/dataref">
6 <member name="ref" type="string"/>
8 <type name="bool" kind="bool"/>
9 <sequence name="boolvec" content="bool"/>
10 <type name="double" kind="double"/>
11 <sequence name="dblevec" content="double"/>
12 <objref name="file" id="file"/>
13 <type name="int" kind="int"/>
14 <sequence name="intvec" content="int"/>
15 <struct name="stringpair">
16 <member name="name" type="string"/>
17 <member name="value" type="string"/>
19 <sequence name="propvec" content="stringpair"/>
20 <objref name="pyobj" id="python:obj:1.0"/>
21 <sequence name="seqboolvec" content="boolvec"/>
22 <sequence name="seqdblevec" content="dblevec"/>
23 <sequence name="seqint" content="int"/>
24 <sequence name="seqintvec" content="intvec"/>
25 <sequence name="seqpyobj" content="pyobj"/>
26 <sequence name="stringvec" content="string"/>
27 <sequence name="seqstringvec" content="stringvec"/>
28 <container name="DefaultContainer">
29 <property name="container_kind" value="Salome"/>
30 <property name="attached_on_cloning" value="0"/>
31 <property name="container_name" value="FactoryServer"/>
32 <property name="name" value="localhost"/>
35 <property name="container_kind" value="Salome"/>
36 <property name="attached_on_cloning" value="0"/>
37 <property name="nb_parallel_procs" value="1"/>
38 <property name="type" value="multi"/>
41 <property name="container_kind" value="Salome"/>
42 <property name="attached_on_cloning" value="0"/>
43 <property name="nb_parallel_procs" value="4"/>
44 <property name="type" value="multi"/>
47 <script><code><![CDATA[import time
48 vals = [ i for i in range(40)]
49 nbbranches = len(vals)
52 <load container="DefaultContainer"/>
53 <outport name="t0" type="pyobj"/>
54 <outport name="vals" type="intvec"/>
55 <outport name="nbbranches" type="int"/>
58 <script><code><![CDATA[import time
62 <load container="DefaultContainer"/>
63 <inport name="t0" type="pyobj"/>
64 <outport name="r" type="int"/>
66 <foreach name="ForEach1" nbranch="1" loopWeight="-1" type="int">
67 <remote name="PyScript6" elementaryWeight="-1">
68 <script><code><![CDATA[import time
71 <load container="c1"/>
72 <inport name="v" type="int"/>
75 <foreach name="ForEach2" nbranch="1" loopWeight="-1" type="int">
76 <remote name="PyScript7" elementaryWeight="-1">
77 <script><code><![CDATA[import time
80 <load container="c2"/>
81 <inport name="v" type="int"/>
84 <control> <fromnode>Begin</fromnode> <tonode>ForEach1</tonode> </control>
85 <control> <fromnode>Begin</fromnode> <tonode>ForEach2</tonode> </control>
86 <control> <fromnode>Begin</fromnode> <tonode>End</tonode> </control>
87 <control> <fromnode>ForEach1</fromnode> <tonode>End</tonode> </control>
88 <control> <fromnode>ForEach2</fromnode> <tonode>End</tonode> </control>
89 <datalink control="false">
90 <fromnode>Begin</fromnode> <fromport>t0</fromport>
91 <tonode>End</tonode> <toport>t0</toport>
93 <datalink control="false">
94 <fromnode>Begin</fromnode> <fromport>vals</fromport>
95 <tonode>ForEach2</tonode> <toport>SmplsCollection</toport>
97 <datalink control="false">
98 <fromnode>Begin</fromnode> <fromport>vals</fromport>
99 <tonode>ForEach1</tonode> <toport>SmplsCollection</toport>
101 <datalink control="false">
102 <fromnode>Begin</fromnode> <fromport>nbbranches</fromport>
103 <tonode>ForEach1</tonode> <toport>nbBranches</toport>
105 <datalink control="false">
106 <fromnode>Begin</fromnode> <fromport>nbbranches</fromport>
107 <tonode>ForEach2</tonode> <toport>nbBranches</toport>
109 <datalink control="false">
110 <fromnode>ForEach1</fromnode> <fromport>evalSamples</fromport>
111 <tonode>ForEach1.PyScript6</tonode> <toport>v</toport>
113 <datalink control="false">
114 <fromnode>ForEach2</fromnode> <fromport>evalSamples</fromport>
115 <tonode>ForEach2.PyScript7</tonode> <toport>v</toport>
118 <tonode>ForEach2</tonode><toport>nbBranches</toport>
119 <value><int>1</int></value>
122 <tonode>ForEach1</tonode><toport>nbBranches</toport>
123 <value><int>1</int></value>
125 <presentation name="Begin" x="9" y="86" width="158" height="117" expanded="1" expx="9" expy="86" expWidth="158" expHeight="117" shownState="0"/>
126 <presentation name="End" x="402.5" y="85" width="158" height="63" expanded="1" expx="402.5" expy="85" expWidth="158" expHeight="63" shownState="0"/>
127 <presentation name="ForEach1.PyScript6" x="9.5" y="88" width="158" height="63" expanded="1" expx="9.5" expy="88" expWidth="158" expHeight="63" shownState="0"/>
128 <presentation name="ForEach2" x="204" y="313.5" width="175" height="159" expanded="1" expx="204" expy="313.5" expWidth="175" expHeight="159" shownState="0"/>
129 <presentation name="ForEach2.PyScript7" x="13" y="92" width="158" height="63" expanded="1" expx="13" expy="92" expWidth="158" expHeight="63" shownState="0"/>
130 <presentation name="ForEach1" x="201.5" y="146" width="171.5" height="155" expanded="1" expx="201.5" expy="146" expWidth="171.5" expHeight="155" shownState="0"/>
131 <presentation name="__ROOT__" x="0" y="0" width="564.5" height="476.5" expanded="1" expx="0" expy="0" expWidth="564.5" expHeight="476.5" shownState="0"/>