OSDN Git Service

Add: PIONE-PNML tutorial for parallel. v2.0.2p0115
authorkinoshita-eos <kinoshita@yasunaga-lab.bio.kyutech.ac.jp>
Fri, 27 Mar 2015 07:57:28 +0000 (16:57 +0900)
committerkinoshita-eos <kinoshita@yasunaga-lab.bio.kyutech.ac.jp>
Fri, 27 Mar 2015 07:57:28 +0000 (16:57 +0900)
new file:   SampleCode/PIONE-PNML/Basic10/Input/test1.in
new file:   SampleCode/PIONE-PNML/Basic10/Input/test2.in
new file:   SampleCode/PIONE-PNML/Basic10/Input/test3.in
new file:   SampleCode/PIONE-PNML/Basic10/Input/test4.in
new file:   SampleCode/PIONE-PNML/Basic10/Input/test5.in
new file:   SampleCode/PIONE-PNML/Basic10/Parallel.md
new file:   SampleCode/PIONE-PNML/Basic10/Parallel.pnml

SampleCode/PIONE-PNML/Basic10/Input/test1.in [new file with mode: 0644]
SampleCode/PIONE-PNML/Basic10/Input/test2.in [new file with mode: 0644]
SampleCode/PIONE-PNML/Basic10/Input/test3.in [new file with mode: 0644]
SampleCode/PIONE-PNML/Basic10/Input/test4.in [new file with mode: 0644]
SampleCode/PIONE-PNML/Basic10/Input/test5.in [new file with mode: 0644]
SampleCode/PIONE-PNML/Basic10/Parallel.md [new file with mode: 0644]
SampleCode/PIONE-PNML/Basic10/Parallel.pnml [new file with mode: 0644]

diff --git a/SampleCode/PIONE-PNML/Basic10/Input/test1.in b/SampleCode/PIONE-PNML/Basic10/Input/test1.in
new file mode 100644 (file)
index 0000000..7ee0007
--- /dev/null
@@ -0,0 +1,2 @@
+3
+5
diff --git a/SampleCode/PIONE-PNML/Basic10/Input/test2.in b/SampleCode/PIONE-PNML/Basic10/Input/test2.in
new file mode 100644 (file)
index 0000000..da7f847
--- /dev/null
@@ -0,0 +1,2 @@
+2
+4
diff --git a/SampleCode/PIONE-PNML/Basic10/Input/test3.in b/SampleCode/PIONE-PNML/Basic10/Input/test3.in
new file mode 100644 (file)
index 0000000..107b687
--- /dev/null
@@ -0,0 +1,2 @@
+7
+1
diff --git a/SampleCode/PIONE-PNML/Basic10/Input/test4.in b/SampleCode/PIONE-PNML/Basic10/Input/test4.in
new file mode 100644 (file)
index 0000000..94c6da4
--- /dev/null
@@ -0,0 +1,3 @@
+8
+9
+6
diff --git a/SampleCode/PIONE-PNML/Basic10/Input/test5.in b/SampleCode/PIONE-PNML/Basic10/Input/test5.in
new file mode 100644 (file)
index 0000000..0719398
--- /dev/null
@@ -0,0 +1,9 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
diff --git a/SampleCode/PIONE-PNML/Basic10/Parallel.md b/SampleCode/PIONE-PNML/Basic10/Parallel.md
new file mode 100644 (file)
index 0000000..35efd52
--- /dev/null
@@ -0,0 +1 @@
+# Parallel.pione\r\r## First\rMultiply 2 to all input data.\r\r```\rawk '{print $1*2}' {$I[1]} > {$O[1]}\r```\r\r## Second\rAdd 1 to all input data.\r\r```\rawk '{print $1+1}' {$I[1]} > {$O[1]}\r```\r
\ No newline at end of file
diff --git a/SampleCode/PIONE-PNML/Basic10/Parallel.pnml b/SampleCode/PIONE-PNML/Basic10/Parallel.pnml
new file mode 100644 (file)
index 0000000..1b6c8e4
--- /dev/null
@@ -0,0 +1,213 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--PLEASE DO NOT EDIT THIS FILE
+Created with Workflow PetriNet Designer Version 3.2.0 (woped.org)-->
+<pnml>
+  <net type="http://www.informatik.hu-berlin.de/top/pntd/ptNetb" id="noID">
+    <place id="p1">
+      <name>
+        <text>&lt;'*.in'</text>
+        <graphics>
+          <offset x="20" y="90"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="20" y="50"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+    </place>
+    <place id="p2">
+      <name>
+        <text>>'{$*}.out2'</text>
+        <graphics>
+          <offset x="290" y="130"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="310" y="90"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+    </place>
+    <place id="p3">
+      <name>
+        <text>>'{$*}.out1'</text>
+        <graphics>
+          <offset x="290" y="50"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="310" y="10"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+    </place>
+    <place id="p4">
+      <name>
+        <text/>
+        <graphics>
+          <offset x="160" y="50"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="160" y="10"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+    </place>
+    <place id="p5">
+      <name>
+        <text/>
+        <graphics>
+          <offset x="160" y="130"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="160" y="90"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+    </place>
+    <transition id="t1">
+      <name>
+        <text>Second</text>
+        <graphics>
+          <offset x="220" y="130"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="220" y="90"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+      <toolspecific tool="WoPeD" version="1.0">
+        <time>0</time>
+        <timeUnit>1</timeUnit>
+        <orientation>1</orientation>
+      </toolspecific>
+    </transition>
+    <transition id="t2">
+      <name>
+        <text>First</text>
+        <graphics>
+          <offset x="220" y="50"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="220" y="10"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+      <toolspecific tool="WoPeD" version="1.0">
+        <time>0</time>
+        <timeUnit>1</timeUnit>
+        <orientation>1</orientation>
+      </toolspecific>
+    </transition>
+    <transition id="t3">
+      <name>
+        <text/>
+        <graphics>
+          <offset x="80" y="90"/>
+        </graphics>
+      </name>
+      <graphics>
+        <position x="80" y="50"/>
+        <dimension x="40" y="40"/>
+      </graphics>
+      <toolspecific tool="WoPeD" version="1.0">
+        <time>0</time>
+        <timeUnit>1</timeUnit>
+        <orientation>1</orientation>
+      </toolspecific>
+    </transition>
+    <arc id="a3" source="t2" target="p3">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics/>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <arc id="a4" source="t1" target="p2">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics/>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <arc id="a5" source="p1" target="t3">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics/>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <arc id="a6" source="t3" target="p4">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics/>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <arc id="a7" source="p4" target="t2">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics/>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <arc id="a8" source="t3" target="p5">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics>
+        <position x="123" y="82"/>
+      </graphics>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <arc id="a9" source="p5" target="t1">
+      <inscription>
+        <text>1</text>
+      </inscription>
+      <graphics/>
+      <toolspecific tool="WoPeD" version="1.0">
+        <probability>1.0</probability>
+        <displayProbabilityOn>false</displayProbabilityOn>
+        <displayProbabilityPosition x="500.0" y="0.0"/>
+      </toolspecific>
+    </arc>
+    <toolspecific tool="WoPeD" version="1.0">
+      <bounds>
+        <position x="11" y="33"/>
+        <dimension x="755" y="474"/>
+      </bounds>
+      <scale>100</scale>
+      <treeWidthRight>597</treeWidthRight>
+      <overviewPanelVisible>true</overviewPanelVisible>
+      <treeHeightOverview>100</treeHeightOverview>
+      <treePanelVisible>true</treePanelVisible>
+      <verticalLayout>false</verticalLayout>
+      <resources/>
+      <simulations/>
+      <partnerLinks/>
+      <variables/>
+    </toolspecific>
+  </net>
+</pnml>
\ No newline at end of file