• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: Commit

This repository is for tutorials of Eos.


Commit MetaInfo

Revision39a933ec135e56d73bcfbf3e26c8984f20f583e6 (tree)
Time2015-03-27 16:11:33
Authorkinoshita-eos <kinoshita@yasu...>
Commiterkinoshita-eos

Log Message

Add: PIONE-PNML tutorial for random input.
new file: SampleCode/PIONE-PNML/Basic7/Input/test1.in
new file: SampleCode/PIONE-PNML/Basic7/Input/test2.in
new file: SampleCode/PIONE-PNML/Basic7/Input/test3.in
new file: SampleCode/PIONE-PNML/Basic7/Input/test4.in
new file: SampleCode/PIONE-PNML/Basic7/Input/test5.in
new file: SampleCode/PIONE-PNML/Basic7/Random.md
new file: SampleCode/PIONE-PNML/Basic7/Random.pnml

Change Summary

Incremental Difference

--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic7/Input/test1.in
@@ -0,0 +1,2 @@
1+3
2+5
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic7/Input/test2.in
@@ -0,0 +1,2 @@
1+2
2+4
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic7/Input/test3.in
@@ -0,0 +1,2 @@
1+7
2+1
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic7/Input/test4.in
@@ -0,0 +1,3 @@
1+8
2+9
3+6
--- /dev/null
+++ b/SampleCode/PIONE-PNML/Basic7/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/Basic7/Random.md
@@ -0,0 +1 @@
1+# Random.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/Basic7/Random.pnml
@@ -0,0 +1,63 @@
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="p3">
7+ <name>
8+ <text>>'message.txt'</text>
9+ <graphics>
10+ <offset x="400" y="90"/>
11+ </graphics>
12+ </name>
13+ <graphics>
14+ <position x="420" y="50"/>
15+ <dimension x="40" y="40"/>
16+ </graphics>
17+ </place>
18+ <transition id="t2">
19+ <name>
20+ <text>Hello</text>
21+ <graphics>
22+ <offset x="270" y="90"/>
23+ </graphics>
24+ </name>
25+ <graphics>
26+ <position x="270" y="50"/>
27+ <dimension x="40" y="40"/>
28+ </graphics>
29+ <toolspecific tool="WoPeD" version="1.0">
30+ <time>0</time>
31+ <timeUnit>1</timeUnit>
32+ <orientation>1</orientation>
33+ </toolspecific>
34+ </transition>
35+ <arc id="a3" source="t2" target="p3">
36+ <inscription>
37+ <text>1</text>
38+ </inscription>
39+ <graphics/>
40+ <toolspecific tool="WoPeD" version="1.0">
41+ <probability>1.0</probability>
42+ <displayProbabilityOn>false</displayProbabilityOn>
43+ <displayProbabilityPosition x="500.0" y="0.0"/>
44+ </toolspecific>
45+ </arc>
46+ <toolspecific tool="WoPeD" version="1.0">
47+ <bounds>
48+ <position x="11" y="33"/>
49+ <dimension x="755" y="474"/>
50+ </bounds>
51+ <scale>100</scale>
52+ <treeWidthRight>597</treeWidthRight>
53+ <overviewPanelVisible>true</overviewPanelVisible>
54+ <treeHeightOverview>100</treeHeightOverview>
55+ <treePanelVisible>true</treePanelVisible>
56+ <verticalLayout>false</verticalLayout>
57+ <resources/>
58+ <simulations/>
59+ <partnerLinks/>
60+ <variables/>
61+ </toolspecific>
62+ </net>
63+</pnml>
\ No newline at end of file
Show on old repository browser