65 lines
2.4 KiB
Plaintext
Executable File
65 lines
2.4 KiB
Plaintext
Executable File
<IWIR version="1.1" wfname="UTest_PFor-1" xmlns="http://shiwa-workflow.eu/IWIR">
|
|
<blockScope name="toplevel">
|
|
<inputPorts>
|
|
<inputPort name="iterationCount" type="integer">
|
|
<properties>
|
|
<property name="agwl-source" value="8"/>
|
|
</properties>
|
|
</inputPort>
|
|
</inputPorts>
|
|
<body>
|
|
<parallelFor name="ParallelFor_1">
|
|
<inputPorts>
|
|
<inputPort name="in2" type="integer"/>
|
|
<loopCounter name="forCounter" from="1" to="" step="1"/>
|
|
</inputPorts>
|
|
<body>
|
|
<task name="AtomicActivity1" tasktype="AtomicActivity1">
|
|
<inputPorts>
|
|
<inputPort name="in1" type="integer"/>
|
|
<inputPort name="in2" type="integer"/>
|
|
</inputPorts>
|
|
<outputPorts>
|
|
<outputPort name="out1" type="integer"/>
|
|
</outputPorts>
|
|
</task>
|
|
</body>
|
|
<outputPorts>
|
|
<outputPort name="forOut1" type="collection/integer"/>
|
|
</outputPorts>
|
|
<links>
|
|
<link from="ParallelFor_1/forCounter" to="AtomicActivity1/in1"/>
|
|
<link from="ParallelFor_1/in2" to="AtomicActivity1/in2"/>
|
|
<link from="AtomicActivity1/out1" to="ParallelFor_1/forOut1"/>
|
|
</links>
|
|
</parallelFor>
|
|
<task name="AtomicActivity2" tasktype="AtomicActivity2">
|
|
<inputPorts>
|
|
<inputPort name="in1" type="integer"/>
|
|
<inputPort name="in2" type="collection/integer"/>
|
|
</inputPorts>
|
|
<outputPorts>
|
|
<outputPort name="out1" type="collection/integer"/>
|
|
<outputPort name="isOk" type="boolean"/>
|
|
</outputPorts>
|
|
</task>
|
|
</body>
|
|
<outputPorts>
|
|
<outputPort name="globalOut1" type="boolean"/>
|
|
<outputPort name="globalOut2" type="collection/integer"/>
|
|
</outputPorts>
|
|
<links>
|
|
<link from="toplevel/iterationCount" to="ParallelFor_1/in2"/>
|
|
<link from="toplevel/iterationCount" to="ParallelFor_1/forCounter/to"/>
|
|
<link from="toplevel/iterationCount" to="AtomicActivity2/in1"/>
|
|
<link from="ParallelFor_1/forOut1" to="AtomicActivity2/in2"/>
|
|
<link from="AtomicActivity2/isOk" to="toplevel/globalOut1"/>
|
|
<link from="AtomicActivity2/out1" to="toplevel/globalOut2"/>
|
|
</links>
|
|
<properties>
|
|
<property name="version" value="1.0.0"/>
|
|
<property name="author" value="matthias"/>
|
|
<property name="domain" value="Generic"/>
|
|
</properties>
|
|
</blockScope>
|
|
</IWIR> |