• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revision6f00ef9b8f336f0fb6071970046bf0ae05f765f0 (tree)
Time2015-03-27 16:57:28
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE-PNML tutorial for parallel.
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

Change Summary

Incremental Difference

--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Input/test1.in
@@ -0,0 +1,2 @@
1+3
2+5
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Input/test2.in
@@ -0,0 +1,2 @@
1+2
2+4
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Input/test3.in
@@ -0,0 +1,2 @@
1+7
2+1
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Input/test4.in
@@ -0,0 +1,3 @@
1+8
2+9
3+6
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Input/test5.in
@@ -0,0 +1,9 @@
1+1
2+2
3+3
4+4
5+5
6+6
7+7
8+8
9+9
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Parallel.md
@@ -0,0 +1 @@
1+# Parallel.pione ## First Multiply 2 to all input data. ``` awk '{print $1*2}' {$I[1]} > {$O[1]} ``` ## Second Add 1 to all input data. ``` awk '{print $1+1}' {$I[1]} > {$O[1]} ```
\ No newline at end of file
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic10/Parallel.pnml
@@ -0,0 +1,213 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!--PLEASE DO NOT EDIT THIS FILE
3+Created with Workflow PetriNet Designer Version 3.2.0 (woped.org)-->
4+<pnml>
5+ <net type="http://www.informatik.hu-berlin.de/top/pntd/ptNetb" id="noID">
6+ <place id="p1">
7+ <name>
8+ <text>&lt;'*.in'</text>
9+ <graphics>
10+ <offset x="20" y="90"/>
11+ </graphics>
12+ </name>
13+ <graphics>
14+ <position x="20" y="50"/>
15+ <dimension x="40" y="40"/>
16+ </graphics>
17+ </place>
18+ <place id="p2">
19+ <name>
20+ <text>>'{$*}.out2'</text>
21+ <graphics>
22+ <offset x="290" y="130"/>
23+ </graphics>
24+ </name>
25+ <graphics>
26+ <position x="310" y="90"/>
27+ <dimension x="40" y="40"/>
28+ </graphics>
29+ </place>
30+ <place id="p3">
31+ <name>
32+ <text>>'{$*}.out1'</text>
33+ <graphics>
34+ <offset x="290" y="50"/>
35+ </graphics>
36+ </name>
37+ <graphics>
38+ <position x="310" y="10"/>
39+ <dimension x="40" y="40"/>
40+ </graphics>
41+ </place>
42+ <place id="p4">
43+ <name>
44+ <text/>
45+ <graphics>
46+ <offset x="160" y="50"/>
47+ </graphics>
48+ </name>
49+ <graphics>
50+ <position x="160" y="10"/>
51+ <dimension x="40" y="40"/>
52+ </graphics>
53+ </place>
54+ <place id="p5">
55+ <name>
56+ <text/>
57+ <graphics>
58+ <offset x="160" y="130"/>
59+ </graphics>
60+ </name>
61+ <graphics>
62+ <position x="160" y="90"/>
63+ <dimension x="40" y="40"/>
64+ </graphics>
65+ </place>
66+ <transition id="t1">
67+ <name>
68+ <text>Second</text>
69+ <graphics>
70+ <offset x="220" y="130"/>
71+ </graphics>
72+ </name>
73+ <graphics>
74+ <position x="220" y="90"/>
75+ <dimension x="40" y="40"/>
76+ </graphics>
77+ <toolspecific tool="WoPeD" version="1.0">
78+ <time>0</time>
79+ <timeUnit>1</timeUnit>
80+ <orientation>1</orientation>
81+ </toolspecific>
82+ </transition>
83+ <transition id="t2">
84+ <name>
85+ <text>First</text>
86+ <graphics>
87+ <offset x="220" y="50"/>
88+ </graphics>
89+ </name>
90+ <graphics>
91+ <position x="220" y="10"/>
92+ <dimension x="40" y="40"/>
93+ </graphics>
94+ <toolspecific tool="WoPeD" version="1.0">
95+ <time>0</time>
96+ <timeUnit>1</timeUnit>
97+ <orientation>1</orientation>
98+ </toolspecific>
99+ </transition>
100+ <transition id="t3">
101+ <name>
102+ <text/>
103+ <graphics>
104+ <offset x="80" y="90"/>
105+ </graphics>
106+ </name>
107+ <graphics>
108+ <position x="80" y="50"/>
109+ <dimension x="40" y="40"/>
110+ </graphics>
111+ <toolspecific tool="WoPeD" version="1.0">
112+ <time>0</time>
113+ <timeUnit>1</timeUnit>
114+ <orientation>1</orientation>
115+ </toolspecific>
116+ </transition>
117+ <arc id="a3" source="t2" target="p3">
118+ <inscription>
119+ <text>1</text>
120+ </inscription>
121+ <graphics/>
122+ <toolspecific tool="WoPeD" version="1.0">
123+ <probability>1.0</probability>
124+ <displayProbabilityOn>false</displayProbabilityOn>
125+ <displayProbabilityPosition x="500.0" y="0.0"/>
126+ </toolspecific>
127+ </arc>
128+ <arc id="a4" source="t1" target="p2">
129+ <inscription>
130+ <text>1</text>
131+ </inscription>
132+ <graphics/>
133+ <toolspecific tool="WoPeD" version="1.0">
134+ <probability>1.0</probability>
135+ <displayProbabilityOn>false</displayProbabilityOn>
136+ <displayProbabilityPosition x="500.0" y="0.0"/>
137+ </toolspecific>
138+ </arc>
139+ <arc id="a5" source="p1" target="t3">
140+ <inscription>
141+ <text>1</text>
142+ </inscription>
143+ <graphics/>
144+ <toolspecific tool="WoPeD" version="1.0">
145+ <probability>1.0</probability>
146+ <displayProbabilityOn>false</displayProbabilityOn>
147+ <displayProbabilityPosition x="500.0" y="0.0"/>
148+ </toolspecific>
149+ </arc>
150+ <arc id="a6" source="t3" target="p4">
151+ <inscription>
152+ <text>1</text>
153+ </inscription>
154+ <graphics/>
155+ <toolspecific tool="WoPeD" version="1.0">
156+ <probability>1.0</probability>
157+ <displayProbabilityOn>false</displayProbabilityOn>
158+ <displayProbabilityPosition x="500.0" y="0.0"/>
159+ </toolspecific>
160+ </arc>
161+ <arc id="a7" source="p4" target="t2">
162+ <inscription>
163+ <text>1</text>
164+ </inscription>
165+ <graphics/>
166+ <toolspecific tool="WoPeD" version="1.0">
167+ <probability>1.0</probability>
168+ <displayProbabilityOn>false</displayProbabilityOn>
169+ <displayProbabilityPosition x="500.0" y="0.0"/>
170+ </toolspecific>
171+ </arc>
172+ <arc id="a8" source="t3" target="p5">
173+ <inscription>
174+ <text>1</text>
175+ </inscription>
176+ <graphics>
177+ <position x="123" y="82"/>
178+ </graphics>
179+ <toolspecific tool="WoPeD" version="1.0">
180+ <probability>1.0</probability>
181+ <displayProbabilityOn>false</displayProbabilityOn>
182+ <displayProbabilityPosition x="500.0" y="0.0"/>
183+ </toolspecific>
184+ </arc>
185+ <arc id="a9" source="p5" target="t1">
186+ <inscription>
187+ <text>1</text>
188+ </inscription>
189+ <graphics/>
190+ <toolspecific tool="WoPeD" version="1.0">
191+ <probability>1.0</probability>
192+ <displayProbabilityOn>false</displayProbabilityOn>
193+ <displayProbabilityPosition x="500.0" y="0.0"/>
194+ </toolspecific>
195+ </arc>
196+ <toolspecific tool="WoPeD" version="1.0">
197+ <bounds>
198+ <position x="11" y="33"/>
199+ <dimension x="755" y="474"/>
200+ </bounds>
201+ <scale>100</scale>
202+ <treeWidthRight>597</treeWidthRight>
203+ <overviewPanelVisible>true</overviewPanelVisible>
204+ <treeHeightOverview>100</treeHeightOverview>
205+ <treePanelVisible>true</treePanelVisible>
206+ <verticalLayout>false</verticalLayout>
207+ <resources/>
208+ <simulations/>
209+ <partnerLinks/>
210+ <variables/>
211+ </toolspecific>
212+ </net>
213+</pnml>
\ No newline at end of file
Show on old repository browser