• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revision6aa6a1cdc305f91d4a11cc519f4bf9df1851a5a1 (tree)
Time2015-03-27 17:13:40
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE-PNML tutorial for Synchronization.
new file: SampleCode/PIONE-PNML/Basic11/Input/test1.in
new file: SampleCode/PIONE-PNML/Basic11/Input/test2.info
new file: SampleCode/PIONE-PNML/Basic11/Input/test3.in
new file: SampleCode/PIONE-PNML/Basic11/Input/test4.info
new file: SampleCode/PIONE-PNML/Basic11/Input/test5.in
new file: SampleCode/PIONE-PNML/Basic11/Synchro.md
new file: SampleCode/PIONE-PNML/Basic11/Synchro.pnml

Change Summary

Incremental Difference

--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic11/Input/test1.in
@@ -0,0 +1,2 @@
1+3
2+5
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic11/Input/test2.info
@@ -0,0 +1,2 @@
1+2
2+4
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic11/Input/test3.in
@@ -0,0 +1,2 @@
1+7
2+1
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic11/Input/test4.info
@@ -0,0 +1,3 @@
1+8
2+9
3+6
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic11/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/Basic11/Synchro.md
@@ -0,0 +1 @@
1+# Synchro.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/Basic11/Synchro.pnml
@@ -0,0 +1,211 @@
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>>'*.in'</text>
9+ <graphics>
10+ <offset x="20" y="60"/>
11+ </graphics>
12+ </name>
13+ <graphics>
14+ <position x="20" y="20"/>
15+ <dimension x="40" y="40"/>
16+ </graphics>
17+ </place>
18+ <place id="p2">
19+ <name>
20+ <text>>'*.info'</text>
21+ <graphics>
22+ <offset x="20" y="130"/>
23+ </graphics>
24+ </name>
25+ <graphics>
26+ <position x="20" y="90"/>
27+ <dimension x="40" y="40"/>
28+ </graphics>
29+ </place>
30+ <place id="p3">
31+ <name>
32+ <text>>'{$*}.txt'</text>
33+ <graphics>
34+ <offset x="290" y="100"/>
35+ </graphics>
36+ </name>
37+ <graphics>
38+ <position x="310" y="60"/>
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="60"/>
47+ </graphics>
48+ </name>
49+ <graphics>
50+ <position x="160" y="20"/>
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>First</text>
69+ <graphics>
70+ <offset x="100" y="60"/>
71+ </graphics>
72+ </name>
73+ <graphics>
74+ <position x="100" y="20"/>
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/>
86+ <graphics>
87+ <offset x="230" y="100"/>
88+ </graphics>
89+ </name>
90+ <graphics>
91+ <position x="230" y="60"/>
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>Second</text>
103+ <graphics>
104+ <offset x="100" y="130"/>
105+ </graphics>
106+ </name>
107+ <graphics>
108+ <position x="100" y="90"/>
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="a1" source="p1" target="t1">
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="a2" source="p2" target="t3">
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="a3" source="t2" target="p3">
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="a4" source="t1" 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="a5" 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="a6" source="t3" target="p5">
173+ <inscription>
174+ <text>1</text>
175+ </inscription>
176+ <graphics/>
177+ <toolspecific tool="WoPeD" version="1.0">
178+ <probability>1.0</probability>
179+ <displayProbabilityOn>false</displayProbabilityOn>
180+ <displayProbabilityPosition x="500.0" y="0.0"/>
181+ </toolspecific>
182+ </arc>
183+ <arc id="a8" source="p5" target="t2">
184+ <inscription>
185+ <text>1</text>
186+ </inscription>
187+ <graphics/>
188+ <toolspecific tool="WoPeD" version="1.0">
189+ <probability>1.0</probability>
190+ <displayProbabilityOn>false</displayProbabilityOn>
191+ <displayProbabilityPosition x="500.0" y="0.0"/>
192+ </toolspecific>
193+ </arc>
194+ <toolspecific tool="WoPeD" version="1.0">
195+ <bounds>
196+ <position x="11" y="33"/>
197+ <dimension x="755" y="474"/>
198+ </bounds>
199+ <scale>100</scale>
200+ <treeWidthRight>597</treeWidthRight>
201+ <overviewPanelVisible>true</overviewPanelVisible>
202+ <treeHeightOverview>100</treeHeightOverview>
203+ <treePanelVisible>true</treePanelVisible>
204+ <verticalLayout>false</verticalLayout>
205+ <resources/>
206+ <simulations/>
207+ <partnerLinks/>
208+ <variables/>
209+ </toolspecific>
210+ </net>
211+</pnml>
\ No newline at end of file
Show on old repository browser