pione 0.4.2 → 0.5.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (306) hide show
  1. checksums.yaml +8 -8
  2. data/.travis.yml +1 -1
  3. data/History.txt +6 -0
  4. data/example/ActionError/ActionError.action.md +11 -0
  5. data/example/ActionError/ActionError.pione +6 -3
  6. data/example/ActionError/ActionError.pnml +86 -0
  7. data/example/ActionError/Package.pione +2 -0
  8. data/example/ActionError/pione-package.json +5 -1
  9. data/example/CTFCorrection/CTFCorrection.action.md +46 -0
  10. data/example/CTFCorrection/CTFCorrection.pione +19 -41
  11. data/example/CTFCorrection/CTFCorrection.pnml +839 -0
  12. data/example/CTFCorrection/Package.pione +1 -0
  13. data/example/CTFCorrection/Params.pione +21 -0
  14. data/example/CTFCorrection/pione-package.json +20 -0
  15. data/example/ChildPackage/ChildPackage.pione +8 -0
  16. data/example/ChildPackage/pione-package.json +20 -0
  17. data/example/CountChar/CountChar.pione +31 -0
  18. data/example/CountChar/CountChar.pnml +239 -0
  19. data/example/CountChar/Main.pione +6 -26
  20. data/example/CountChar/Main.pnml +32 -100
  21. data/example/CountChar/Package.pione +1 -0
  22. data/example/CountChar/pione-package.json +3 -1
  23. data/example/DeferredChoice/DeferredChoice.action.md +46 -0
  24. data/example/DeferredChoice/DeferredChoice.pione +2 -7
  25. data/example/DeferredChoice/DeferredChoice.pnml +371 -0
  26. data/example/DeferredChoice/Package.pione +4 -0
  27. data/example/DeferredChoice/pione-package.json +7 -3
  28. data/example/DeferredChoiceWithPage/DeferredChoiceWithPage.action.md +34 -0
  29. data/example/DeferredChoiceWithPage/DefferredChoiceWithPage.pnml +371 -0
  30. data/example/DeferredChoiceWithPage/Package.pione +2 -0
  31. data/example/FeatureExample/FeatureExample.action.md +7 -0
  32. data/example/FeatureExample/FeatureExample.pione +7 -4
  33. data/example/FeatureExample/FeatureExample.pnml +86 -0
  34. data/example/FeatureExample/Package.pione +1 -0
  35. data/example/FeatureExample/pione-package.json +4 -0
  36. data/example/Fib/Fib.action.md +33 -0
  37. data/example/Fib/Fib.pnml +208 -0
  38. data/example/Fib/FibN.pnml +807 -0
  39. data/example/Fib/Package.pione +6 -0
  40. data/example/HelloWorld/HelloWorld.action.md +7 -0
  41. data/example/HelloWorld/HelloWorld.pione +6 -2
  42. data/example/HelloWorld/HelloWorld.pnml +86 -0
  43. data/example/HelloWorld/Package.pione +2 -0
  44. data/example/HelloWorld/pione-package.json +5 -1
  45. data/example/Interaction/Interaction.action.md +21 -0
  46. data/example/Interaction/Interaction.pnml +89 -0
  47. data/example/Interaction/Package.pione +2 -0
  48. data/example/LoopByTouch/LoopByTouch.pione +32 -12
  49. data/example/LoopByTouch/LoopByTouch.pnml +575 -0
  50. data/example/LoopByTouch/Package.pione +3 -0
  51. data/example/LoopByTouch/PairLoop.pione +6 -7
  52. data/example/LoopByTouch/PairLoop.pnml +188 -0
  53. data/example/LoopByTouch/SingleLoop.pione +6 -0
  54. data/example/LoopByTouch/SingleLoop.pnml +86 -0
  55. data/example/LoopByTouch/TripletLoop.pione +12 -13
  56. data/example/LoopByTouch/TripletLoop.pnml +239 -0
  57. data/example/LoopByTouch/pione-package.json +7 -3
  58. data/example/LucasNumber/LucasNumber.action.md +25 -0
  59. data/example/LucasNumber/LucasNumber.pnml +244 -0
  60. data/example/LucasNumber/LucasNumberN.pnml +1719 -0
  61. data/example/LucasNumber/Package.pione +2 -0
  62. data/example/MakePair/MakePair.pione +8 -10
  63. data/example/MakePair/MakePair.pnml +1141 -0
  64. data/example/MakePair/Package.pione +2 -0
  65. data/example/MakePair/pione-package.json +7 -3
  66. data/example/MakePair/scenario/case1/pione-scenario.json +30 -30
  67. data/example/MakePair/scenario/case2/pione-scenario.json +10 -10
  68. data/example/MakePair/scenario/case3/pione-scenario.json +28 -28
  69. data/example/OddSelector/OddSelector.pione +8 -8
  70. data/example/OddSelector/OddSelector.pnml +401 -0
  71. data/example/OddSelector/Package.pione +2 -0
  72. data/example/OddSelector/pione-package.json +4 -0
  73. data/example/OddSelector/scenario/pione-scenario.json +8 -8
  74. data/example/ParentPackage/ParentPackage.pione +13 -0
  75. data/example/ParentPackage/pione-package.json +18 -0
  76. data/example/PegasusWMS/Merge/Package.pione +2 -0
  77. data/example/PegasusWMS/Merge/PegasusWMSMerge.action.md +17 -0
  78. data/example/PegasusWMS/Merge/{Merge.pione → PegasusWMSMerge.pione} +9 -10
  79. data/example/PegasusWMS/Merge/PegasusWMSMerge.pnml +217 -0
  80. data/example/PegasusWMS/Merge/pione-package.json +6 -2
  81. data/example/PegasusWMS/Pipeline/Package.pione +2 -0
  82. data/example/PegasusWMS/Pipeline/PegasusWMSPipeline.action.md +17 -0
  83. data/example/PegasusWMS/Pipeline/{Pipeline.pione → PegasusWMSPipeline.pione} +7 -9
  84. data/example/PegasusWMS/Pipeline/PegasusWMSPipeline.pnml +137 -0
  85. data/example/PegasusWMS/Pipeline/pione-package.json +6 -2
  86. data/example/PegasusWMS/Split/Package.pione +2 -0
  87. data/example/PegasusWMS/Split/PegasusWMSSplit.action.md +19 -0
  88. data/example/PegasusWMS/Split/{Split.pione → PegasusWMSSplit.pione} +9 -10
  89. data/example/PegasusWMS/Split/PegasusWMSSplit.pnml +293 -0
  90. data/example/PegasusWMS/Split/pione-package.json +6 -2
  91. data/example/ScoreAggregation/Package.pione +2 -0
  92. data/example/ScoreAggregation/ScoreAggregation.action.md +56 -0
  93. data/example/ScoreAggregation/ScoreAggregation.pione +37 -76
  94. data/example/ScoreAggregation/ScoreAggregation.pnml +1221 -0
  95. data/example/ScoreAggregation/pione-package.json +6 -2
  96. data/example/ScoreAggregation/scenario/case1/pione-scenario.json +21 -21
  97. data/example/SelectRuleByParam/Package.pione +2 -0
  98. data/example/SelectRuleByParam/SelectRuleByParam.action.md +19 -0
  99. data/example/SelectRuleByParam/SelectRuleByParam.pnml +388 -0
  100. data/example/SequentialParameter/Package.pione +2 -0
  101. data/example/SequentialParameter/SequentialParameter.pione +9 -3
  102. data/example/SequentialParameter/SequentialParameter.pnml +140 -0
  103. data/example/SequentialParameter/pione-package.json +19 -0
  104. data/example/SerialProcessing/A.pione +25 -0
  105. data/example/SerialProcessing/A.pnml +395 -0
  106. data/example/SerialProcessing/B.pione +25 -0
  107. data/example/SerialProcessing/B.pnml +395 -0
  108. data/example/SerialProcessing/Package.pione +2 -0
  109. data/example/SerialProcessing/SerialProcessing.pione +9 -60
  110. data/example/SerialProcessing/SerialProcessing.pnml +160 -0
  111. data/example/SerialProcessing/pione-package.json +7 -1
  112. data/example/SieveOfEratosthenes/CreateUndeterminedNumbers.pnml +157 -0
  113. data/example/SieveOfEratosthenes/Package.pione +4 -0
  114. data/example/SieveOfEratosthenes/Sieve.pnml +1493 -0
  115. data/example/SieveOfEratosthenes/SieveOfEratosthenes.pnml +174 -0
  116. data/example/SingleParticlesWithRef/Create3dinfo.pnml +342 -0
  117. data/example/SingleParticlesWithRef/Package.pione +42 -0
  118. data/example/SingleParticlesWithRef/SingleParticlesWithRef.action.md +34 -0
  119. data/example/SingleParticlesWithRef/SingleParticlesWithRef.pnml +404 -0
  120. data/example/SingleParticlesWithRef/{Makefile → misc/Makefile} +0 -0
  121. data/example/SingleParticlesWithRef/{SingleParticlesWithRef.Display2.pione → misc/SingleParticlesWithRef.Display2.pione} +0 -0
  122. data/example/SingleParticlesWithRef/{SingleParticlesWithRef.Makefile → misc/SingleParticlesWithRef.Makefile} +0 -0
  123. data/example/SingleParticlesWithRef/{SingleParticlesWithRefFull.pione → misc/SingleParticlesWithRefFull.pione} +0 -0
  124. data/example/Sum/CalcEachLine.pione +30 -0
  125. data/example/Sum/CalcEachLine.pnml +327 -0
  126. data/example/Sum/Package.pione +2 -0
  127. data/example/Sum/Sum.action.md +35 -0
  128. data/example/Sum/Sum.pione +9 -35
  129. data/example/Sum/Sum.pnml +191 -0
  130. data/example/Sum/pione-package.json +5 -0
  131. data/example/Touch/Package.pione +2 -0
  132. data/example/Touch/Touch.pione +8 -2
  133. data/example/Touch/Touch.pnml +89 -0
  134. data/example/Touch/pione-package.json +4 -0
  135. data/example/WorkflowPatterns/01_Sequence/Package.pione +2 -0
  136. data/example/WorkflowPatterns/01_Sequence/Sequence.pione +9 -9
  137. data/example/WorkflowPatterns/01_Sequence/Sequence.pnml +191 -0
  138. data/example/WorkflowPatterns/01_Sequence/pione-package.json +19 -0
  139. data/example/WorkflowPatterns/02_PrallelSplit/Package.pione +2 -0
  140. data/example/WorkflowPatterns/02_PrallelSplit/ParallelSplit.pione +12 -12
  141. data/example/WorkflowPatterns/02_PrallelSplit/ParallelSplit.pnml +265 -0
  142. data/example/WorkflowPatterns/02_PrallelSplit/pione-package.json +19 -0
  143. data/example/WorkflowPatterns/03_Synchronization/Package.pione +2 -0
  144. data/example/WorkflowPatterns/03_Synchronization/Synchronization.pione +12 -13
  145. data/example/WorkflowPatterns/03_Synchronization/Synchronization.pnml +273 -0
  146. data/example/WorkflowPatterns/03_Synchronization/pione-package.json +19 -0
  147. data/example/WorkflowPatterns/04_ExclusiveChoice/ExclusiveChoice.pione +15 -22
  148. data/example/WorkflowPatterns/04_ExclusiveChoice/ExclusiveChoice.pnml +533 -0
  149. data/example/WorkflowPatterns/04_ExclusiveChoice/Package.pione +4 -0
  150. data/example/WorkflowPatterns/04_ExclusiveChoice/pione-package.json +19 -0
  151. data/example/WorkflowPatterns/05_SimpleMerge/Package.pione +4 -0
  152. data/example/WorkflowPatterns/05_SimpleMerge/SimpleMerge.pione +10 -18
  153. data/example/WorkflowPatterns/05_SimpleMerge/SimpleMerge.pnml +431 -0
  154. data/example/WorkflowPatterns/05_SimpleMerge/pione-package.json +19 -0
  155. data/example/WorkflowPatterns/06_MultiChoice/MultiChoice.pione +20 -28
  156. data/example/WorkflowPatterns/06_MultiChoice/MultiChoice.pnml +797 -0
  157. data/example/WorkflowPatterns/06_MultiChoice/Package.pione +5 -0
  158. data/example/WorkflowPatterns/06_MultiChoice/pione-package.json +19 -0
  159. data/example/WorkflowPatterns/07_StructuredSynchronizingMerge/Package.pione +5 -0
  160. data/example/WorkflowPatterns/07_StructuredSynchronizingMerge/StructuredSynchronizingMerge.pnml +668 -0
  161. data/example/WorkflowPatterns/08_MultiMerge/MultiMerge.pione +9 -20
  162. data/example/WorkflowPatterns/08_MultiMerge/MultiMerge.pnml +551 -0
  163. data/example/WorkflowPatterns/08_MultiMerge/Package.pione +4 -0
  164. data/example/WorkflowPatterns/08_MultiMerge/pione-package.json +19 -0
  165. data/example/WorkflowPatterns/11_ImplicitTermination/ImplicitTermination.pione +9 -17
  166. data/example/WorkflowPatterns/11_ImplicitTermination/ImplicitTermination.pnml +188 -0
  167. data/example/WorkflowPatterns/11_ImplicitTermination/Package.pione +2 -0
  168. data/example/WorkflowPatterns/11_ImplicitTermination/pione-package.json +19 -0
  169. data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/MultipleInstancesWithoutSynchronization.pione +11 -11
  170. data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/MultipleInstancesWithoutSynchronization.pnml +319 -0
  171. data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/Package.pione +4 -0
  172. data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/pione-package.json +19 -0
  173. data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/MultipleInstancesWithDesignTimeKnowledge.pione +11 -11
  174. data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/MultipleInstancesWithDesignTimeKnowledge.pnml +319 -0
  175. data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/Package.pione +2 -0
  176. data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/pione-package.json +19 -0
  177. data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pione +14 -17
  178. data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pnml +355 -0
  179. data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/Package.pione +4 -0
  180. data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/pione-package.json +19 -0
  181. data/example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pione +9 -10
  182. data/example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pnml +409 -0
  183. data/example/WorkflowPatterns/33_GeneralizedANDJoin/Package.pione +2 -0
  184. data/example/WorkflowPatterns/33_GeneralizedANDJoin/pione-package.json +19 -0
  185. data/example/WorkflowPatterns/37_LocalSynchronizingMerge/A.pione +34 -0
  186. data/example/WorkflowPatterns/37_LocalSynchronizingMerge/A.pnml +570 -0
  187. data/example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pione +36 -70
  188. data/example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pnml +854 -0
  189. data/example/WorkflowPatterns/37_LocalSynchronizingMerge/Package.pione +5 -0
  190. data/example/WorkflowPatterns/37_LocalSynchronizingMerge/pione-package.json +20 -0
  191. data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/GeneralSynchronizingMerge.pnml +1003 -0
  192. data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/Package.pione +6 -0
  193. data/example/WorkflowPatterns/41_ThreadMerge/A.pnml +429 -0
  194. data/example/WorkflowPatterns/41_ThreadMerge/A1.pnml +141 -0
  195. data/example/WorkflowPatterns/41_ThreadMerge/Package.pione +2 -0
  196. data/example/WorkflowPatterns/41_ThreadMerge/ThreadMerge.pnml +205 -0
  197. data/example/WorkflowPatterns/42_ThreadSplit/Package.pione +2 -0
  198. data/example/WorkflowPatterns/42_ThreadSplit/ThreadSplit.pnml +217 -0
  199. data/lib/pione/agent/job-manager.rb +4 -3
  200. data/lib/pione/agent/task-worker.rb +2 -7
  201. data/lib/pione/command.rb +1 -0
  202. data/lib/pione/command/basic-command.rb +3 -1
  203. data/lib/pione/command/command-exception.rb +14 -0
  204. data/lib/pione/command/pione-action-exec.rb +4 -1
  205. data/lib/pione/command/pione-clean.rb +13 -6
  206. data/lib/pione/command/pione-client.rb +5 -5
  207. data/lib/pione/command/pione-compile.rb +1 -1
  208. data/lib/pione/command/pione-log-format.rb +1 -1
  209. data/lib/pione/command/pione-package-add.rb +1 -1
  210. data/lib/pione/command/pione-package-build.rb +87 -32
  211. data/lib/pione/command/pione-package-remove.rb +117 -0
  212. data/lib/pione/command/pione-package.rb +1 -0
  213. data/lib/pione/command/spawner.rb +12 -3
  214. data/lib/pione/lang/boolean.rb +1 -1
  215. data/lib/pione/lang/common-parser.rb +5 -3
  216. data/lib/pione/lang/context-parser.rb +8 -2
  217. data/lib/pione/lang/context-transformer.rb +13 -3
  218. data/lib/pione/lang/context.rb +20 -2
  219. data/lib/pione/lang/data-expr.rb +1 -1
  220. data/lib/pione/lang/declaration-parser.rb +18 -4
  221. data/lib/pione/lang/declaration-transformer.rb +1 -1
  222. data/lib/pione/lang/declaration.rb +5 -3
  223. data/lib/pione/lang/definition.rb +1 -0
  224. data/lib/pione/lang/environment.rb +37 -2
  225. data/lib/pione/lang/expr.rb +10 -12
  226. data/lib/pione/lang/feature-expr.rb +1 -1
  227. data/lib/pione/lang/float.rb +1 -1
  228. data/lib/pione/lang/integer.rb +1 -1
  229. data/lib/pione/lang/keyed-sequence.rb +5 -5
  230. data/lib/pione/lang/lang-exception.rb +9 -5
  231. data/lib/pione/lang/literal-parser.rb +2 -2
  232. data/lib/pione/lang/literal-transformer.rb +3 -0
  233. data/lib/pione/lang/message.rb +3 -3
  234. data/lib/pione/lang/ordinal-sequence.rb +1 -1
  235. data/lib/pione/lang/package-expr.rb +1 -1
  236. data/lib/pione/lang/parameters.rb +1 -1
  237. data/lib/pione/lang/pione-method.rb +16 -16
  238. data/lib/pione/lang/rule-expr.rb +6 -1
  239. data/lib/pione/lang/sequence.rb +8 -3
  240. data/lib/pione/lang/string.rb +1 -1
  241. data/lib/pione/lang/ticket-expr.rb +1 -1
  242. data/lib/pione/lang/type.rb +17 -8
  243. data/lib/pione/lang/variable.rb +4 -1
  244. data/lib/pione/literate-action.rb +1 -2
  245. data/lib/pione/literate-action/document.rb +1 -1
  246. data/lib/pione/literate-action/handler.rb +22 -7
  247. data/lib/pione/literate-action/{parser.rb → markdown-parser.rb} +2 -1
  248. data/lib/pione/log/domain-log.rb +1 -1
  249. data/lib/pione/model/task-worker-broker-model.rb +1 -1
  250. data/lib/pione/package/package-database.rb +16 -2
  251. data/lib/pione/package/package-exception.rb +1 -1
  252. data/lib/pione/package/package-handler.rb +11 -7
  253. data/lib/pione/package/package-info.rb +13 -7
  254. data/lib/pione/package/package-scanner.rb +1 -1
  255. data/lib/pione/package/scenario-info.rb +2 -2
  256. data/lib/pione/pnml.rb +6 -0
  257. data/lib/pione/pnml/compiler.rb +329 -95
  258. data/lib/pione/pnml/declaration-extractor.rb +90 -0
  259. data/lib/pione/pnml/input-merge-complement.rb +17 -11
  260. data/lib/pione/pnml/input-parallelization-complement.rb +10 -6
  261. data/lib/pione/pnml/input-reduction.rb +5 -5
  262. data/lib/pione/pnml/invalid-arc-elimination.rb +2 -2
  263. data/lib/pione/pnml/io-expansion.rb +9 -5
  264. data/lib/pione/pnml/isolated-element-elimination.rb +2 -2
  265. data/lib/pione/pnml/label-extractor.rb +258 -0
  266. data/lib/pione/pnml/net-rewriter.rb +6 -4
  267. data/lib/pione/pnml/output-decomposition-complement.rb +12 -7
  268. data/lib/pione/pnml/output-reduction.rb +11 -5
  269. data/lib/pione/pnml/output-synchronization-complement.rb +11 -7
  270. data/lib/pione/pnml/parser.rb +106 -0
  271. data/lib/pione/pnml/pione-model.rb +685 -230
  272. data/lib/pione/pnml/pnml-model.rb +73 -41
  273. data/lib/pione/pnml/ticket-instantiation.rb +42 -0
  274. data/lib/pione/rule-engine/action-handler.rb +212 -135
  275. data/lib/pione/rule-engine/basic-handler.rb +29 -3
  276. data/lib/pione/rule-engine/engine-exception.rb +10 -6
  277. data/lib/pione/system/status.rb +12 -6
  278. data/lib/pione/version.rb +1 -1
  279. data/lib/rootage/help.md.erb +45 -0
  280. data/lib/rootage/help.rb +1 -0
  281. data/lib/rootage/scenario.rb +20 -2
  282. data/misc/pione-completion.bash +15 -5
  283. data/misc/pione-completion.zsh +16 -6
  284. data/test/command/spec_pione-client.rb +60 -60
  285. data/test/lang/data/context-parser.yml +12 -1
  286. data/test/lang/spec_pione-method.rb +7 -6
  287. data/test/literate-action/spec_handler.rb +19 -13
  288. data/test/literate-action/{spec_parser.rb → spec_markdown-parser.rb} +3 -3
  289. data/test/log/spec_message-log-receiver.rb +1 -1
  290. data/test/package/spec_package-info.rb +1 -1
  291. data/test/pnml/spec_input-merge-complement.rb +4 -2
  292. data/test/pnml/spec_input-parallelization-complement.rb +4 -2
  293. data/test/pnml/spec_input-reduction.rb +8 -4
  294. data/test/pnml/spec_invalid-arc-elimination.rb +2 -1
  295. data/test/pnml/spec_io-expansion.rb +4 -2
  296. data/test/pnml/spec_isolated-element-elimination.rb +2 -1
  297. data/test/pnml/spec_label-extractor.rb +100 -0
  298. data/test/pnml/spec_output-decomposition-complement.rb +4 -2
  299. data/test/pnml/spec_output-reduction.rb +8 -4
  300. data/test/pnml/spec_output-synchronization-complement.rb +4 -2
  301. data/test/pnml/spec_pione-element.rb +116 -37
  302. data/test/pnml/spec_pnml-element.rb +32 -8
  303. data/test/rule-engine/spec_action-handler.rb +12 -20
  304. metadata +159 -16
  305. data/example/CTFCorrection/package.yml +0 -1
  306. data/example/DeferredChoice/bin/ui.xml +0 -28
@@ -0,0 +1,5 @@
1
+ .@ PackageName :: "WCP06_MultiChoice"
2
+ .@ Entrance :: MultiChoice
3
+
4
+ param $COND1 := true
5
+ param $COND2 := true
@@ -0,0 +1,19 @@
1
+ {
2
+ "PackageName": "WCP06_MultiChoice",
3
+ "Parents": [
4
+
5
+ ],
6
+ "Documents": [
7
+ "MultiChoice.pione",
8
+ "Package.pione"
9
+ ],
10
+ "Scenarios": [
11
+
12
+ ],
13
+ "Bins": [
14
+
15
+ ],
16
+ "Etcs": [
17
+
18
+ ]
19
+ }
@@ -0,0 +1,5 @@
1
+ .@ PackageName :: "WCP07_StructuredSynchronizingMerge"
2
+ .@ Entrance :: StructuredSynchronizingMerge
3
+
4
+ param $COND1 := true
5
+ $COND2 := not :: $COND1
@@ -0,0 +1,668 @@
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="p7">
7
+ <name>
8
+ <text>'p4'</text>
9
+ <graphics>
10
+ <offset x="980" y="110"/>
11
+ </graphics>
12
+ </name>
13
+ <graphics>
14
+ <position x="980" y="70"/>
15
+ <dimension x="40" y="40"/>
16
+ </graphics>
17
+ </place>
18
+ <place id="p6">
19
+ <name>
20
+ <text>'p3'</text>
21
+ <graphics>
22
+ <offset x="830" y="170"/>
23
+ </graphics>
24
+ </name>
25
+ <graphics>
26
+ <position x="830" y="130"/>
27
+ <dimension x="40" y="40"/>
28
+ </graphics>
29
+ </place>
30
+ <place id="p5">
31
+ <name>
32
+ <text>'p1'</text>
33
+ <graphics>
34
+ <offset x="670" y="170"/>
35
+ </graphics>
36
+ </name>
37
+ <graphics>
38
+ <position x="670" y="130"/>
39
+ <dimension x="40" y="40"/>
40
+ </graphics>
41
+ </place>
42
+ <place id="p4">
43
+ <name>
44
+ <text>$COND1</text>
45
+ <graphics>
46
+ <offset x="510" y="120"/>
47
+ </graphics>
48
+ </name>
49
+ <graphics>
50
+ <position x="510" y="80"/>
51
+ <dimension x="40" y="40"/>
52
+ </graphics>
53
+ </place>
54
+ <place id="p3">
55
+ <name>
56
+ <text/>
57
+ <graphics>
58
+ <offset x="370" y="120"/>
59
+ </graphics>
60
+ </name>
61
+ <graphics>
62
+ <position x="370" y="80"/>
63
+ <dimension x="40" y="40"/>
64
+ </graphics>
65
+ </place>
66
+ <place id="p2">
67
+ <name>
68
+ <text>'i1'</text>
69
+ <graphics>
70
+ <offset x="230" y="200"/>
71
+ </graphics>
72
+ </name>
73
+ <graphics>
74
+ <position x="230" y="160"/>
75
+ <dimension x="40" y="40"/>
76
+ </graphics>
77
+ </place>
78
+ <place id="p1">
79
+ <name>
80
+ <text/>
81
+ <graphics>
82
+ <offset x="90" y="200"/>
83
+ </graphics>
84
+ </name>
85
+ <graphics>
86
+ <position x="90" y="160"/>
87
+ <dimension x="40" y="40"/>
88
+ </graphics>
89
+ <initialMarking>
90
+ <text>1</text>
91
+ </initialMarking>
92
+ </place>
93
+ <place id="p10">
94
+ <name>
95
+ <text>'p2'</text>
96
+ <graphics>
97
+ <offset x="670" y="250"/>
98
+ </graphics>
99
+ </name>
100
+ <graphics>
101
+ <position x="670" y="210"/>
102
+ <dimension x="40" y="40"/>
103
+ </graphics>
104
+ </place>
105
+ <place id="p9">
106
+ <name>
107
+ <text>$COND2</text>
108
+ <graphics>
109
+ <offset x="510" y="290"/>
110
+ </graphics>
111
+ </name>
112
+ <graphics>
113
+ <position x="510" y="250"/>
114
+ <dimension x="40" y="40"/>
115
+ </graphics>
116
+ </place>
117
+ <place id="p8">
118
+ <name>
119
+ <text/>
120
+ <graphics>
121
+ <offset x="370" y="290"/>
122
+ </graphics>
123
+ </name>
124
+ <graphics>
125
+ <position x="370" y="250"/>
126
+ <dimension x="40" y="40"/>
127
+ </graphics>
128
+ </place>
129
+ <place id="p12">
130
+ <name>
131
+ <text>>'o1'</text>
132
+ <graphics>
133
+ <offset x="1150" y="200"/>
134
+ </graphics>
135
+ </name>
136
+ <graphics>
137
+ <position x="1150" y="160"/>
138
+ <dimension x="40" y="40"/>
139
+ </graphics>
140
+ </place>
141
+ <place id="p11">
142
+ <name>
143
+ <text>'p5'</text>
144
+ <graphics>
145
+ <offset x="830" y="290"/>
146
+ </graphics>
147
+ </name>
148
+ <graphics>
149
+ <position x="830" y="250"/>
150
+ <dimension x="40" y="40"/>
151
+ </graphics>
152
+ </place>
153
+ <transition id="t3">
154
+ <name>
155
+ <text>if</text>
156
+ <graphics>
157
+ <offset x="440" y="120"/>
158
+ </graphics>
159
+ </name>
160
+ <graphics>
161
+ <position x="440" y="80"/>
162
+ <dimension x="40" y="40"/>
163
+ </graphics>
164
+ <toolspecific tool="WoPeD" version="1.0">
165
+ <time>0</time>
166
+ <timeUnit>1</timeUnit>
167
+ <orientation>1</orientation>
168
+ </toolspecific>
169
+ </transition>
170
+ <transition id="t2">
171
+ <name>
172
+ <text>A</text>
173
+ <graphics>
174
+ <offset x="300" y="200"/>
175
+ </graphics>
176
+ </name>
177
+ <graphics>
178
+ <position x="300" y="160"/>
179
+ <dimension x="40" y="40"/>
180
+ </graphics>
181
+ <toolspecific tool="WoPeD" version="1.0">
182
+ <time>0</time>
183
+ <timeUnit>1</timeUnit>
184
+ <orientation>1</orientation>
185
+ </toolspecific>
186
+ </transition>
187
+ <transition id="t1">
188
+ <name>
189
+ <text>Init</text>
190
+ <graphics>
191
+ <offset x="160" y="200"/>
192
+ </graphics>
193
+ </name>
194
+ <graphics>
195
+ <position x="160" y="160"/>
196
+ <dimension x="40" y="40"/>
197
+ </graphics>
198
+ <toolspecific tool="WoPeD" version="1.0">
199
+ <time>0</time>
200
+ <timeUnit>1</timeUnit>
201
+ <orientation>1</orientation>
202
+ </toolspecific>
203
+ </transition>
204
+ <transition id="t10">
205
+ <name>
206
+ <text>C</text>
207
+ <graphics>
208
+ <offset x="750" y="250"/>
209
+ </graphics>
210
+ </name>
211
+ <graphics>
212
+ <position x="750" y="210"/>
213
+ <dimension x="40" y="40"/>
214
+ </graphics>
215
+ <toolspecific tool="WoPeD" version="1.0">
216
+ <time>0</time>
217
+ <timeUnit>1</timeUnit>
218
+ <orientation>1</orientation>
219
+ </toolspecific>
220
+ </transition>
221
+ <transition id="t11">
222
+ <name>
223
+ <text>else</text>
224
+ <graphics>
225
+ <offset x="590" y="330"/>
226
+ </graphics>
227
+ </name>
228
+ <graphics>
229
+ <position x="590" y="290"/>
230
+ <dimension x="40" y="40"/>
231
+ </graphics>
232
+ <toolspecific tool="WoPeD" version="1.0">
233
+ <time>0</time>
234
+ <timeUnit>1</timeUnit>
235
+ <orientation>1</orientation>
236
+ </toolspecific>
237
+ </transition>
238
+ <transition id="t12">
239
+ <name>
240
+ <text>E</text>
241
+ <graphics>
242
+ <offset x="1100" y="200"/>
243
+ </graphics>
244
+ </name>
245
+ <graphics>
246
+ <position x="1080" y="160"/>
247
+ <dimension x="40" y="40"/>
248
+ </graphics>
249
+ <toolspecific tool="WoPeD" version="1.0">
250
+ <time>0</time>
251
+ <timeUnit>1</timeUnit>
252
+ <orientation>1</orientation>
253
+ </toolspecific>
254
+ </transition>
255
+ <transition id="t4">
256
+ <name>
257
+ <text>else</text>
258
+ <graphics>
259
+ <offset x="590" y="60"/>
260
+ </graphics>
261
+ </name>
262
+ <graphics>
263
+ <position x="590" y="20"/>
264
+ <dimension x="40" y="40"/>
265
+ </graphics>
266
+ <toolspecific tool="WoPeD" version="1.0">
267
+ <time>0</time>
268
+ <timeUnit>1</timeUnit>
269
+ <orientation>1</orientation>
270
+ </toolspecific>
271
+ </transition>
272
+ <transition id="t5">
273
+ <name>
274
+ <text>then</text>
275
+ <graphics>
276
+ <offset x="590" y="170"/>
277
+ </graphics>
278
+ </name>
279
+ <graphics>
280
+ <position x="590" y="130"/>
281
+ <dimension x="40" y="40"/>
282
+ </graphics>
283
+ <toolspecific tool="WoPeD" version="1.0">
284
+ <time>0</time>
285
+ <timeUnit>1</timeUnit>
286
+ <orientation>1</orientation>
287
+ </toolspecific>
288
+ </transition>
289
+ <transition id="t6">
290
+ <name>
291
+ <text>B</text>
292
+ <graphics>
293
+ <offset x="750" y="170"/>
294
+ </graphics>
295
+ </name>
296
+ <graphics>
297
+ <position x="750" y="130"/>
298
+ <dimension x="40" y="40"/>
299
+ </graphics>
300
+ <toolspecific tool="WoPeD" version="1.0">
301
+ <time>0</time>
302
+ <timeUnit>1</timeUnit>
303
+ <orientation>1</orientation>
304
+ </toolspecific>
305
+ </transition>
306
+ <transition id="t7">
307
+ <name>
308
+ <text>D</text>
309
+ <graphics>
310
+ <offset x="910" y="170"/>
311
+ </graphics>
312
+ </name>
313
+ <graphics>
314
+ <position x="910" y="130"/>
315
+ <dimension x="40" y="40"/>
316
+ </graphics>
317
+ <toolspecific tool="WoPeD" version="1.0">
318
+ <time>0</time>
319
+ <timeUnit>1</timeUnit>
320
+ <orientation>1</orientation>
321
+ </toolspecific>
322
+ </transition>
323
+ <transition id="t8">
324
+ <name>
325
+ <text>if</text>
326
+ <graphics>
327
+ <offset x="440" y="290"/>
328
+ </graphics>
329
+ </name>
330
+ <graphics>
331
+ <position x="440" y="250"/>
332
+ <dimension x="40" y="40"/>
333
+ </graphics>
334
+ <toolspecific tool="WoPeD" version="1.0">
335
+ <time>0</time>
336
+ <timeUnit>1</timeUnit>
337
+ <orientation>1</orientation>
338
+ </toolspecific>
339
+ </transition>
340
+ <transition id="t9">
341
+ <name>
342
+ <text>then</text>
343
+ <graphics>
344
+ <offset x="590" y="250"/>
345
+ </graphics>
346
+ </name>
347
+ <graphics>
348
+ <position x="590" y="210"/>
349
+ <dimension x="40" y="40"/>
350
+ </graphics>
351
+ <toolspecific tool="WoPeD" version="1.0">
352
+ <time>0</time>
353
+ <timeUnit>1</timeUnit>
354
+ <orientation>1</orientation>
355
+ </toolspecific>
356
+ </transition>
357
+ <arc id="a20" source="p10" target="t10">
358
+ <inscription>
359
+ <text>1</text>
360
+ </inscription>
361
+ <graphics/>
362
+ <toolspecific tool="WoPeD" version="1.0">
363
+ <probability>1.0</probability>
364
+ <displayProbabilityOn>false</displayProbabilityOn>
365
+ <displayProbabilityPosition x="500.0" y="0.0"/>
366
+ </toolspecific>
367
+ </arc>
368
+ <arc id="a9" source="t5" target="p5">
369
+ <inscription>
370
+ <text>1</text>
371
+ </inscription>
372
+ <graphics/>
373
+ <toolspecific tool="WoPeD" version="1.0">
374
+ <probability>1.0</probability>
375
+ <displayProbabilityOn>false</displayProbabilityOn>
376
+ <displayProbabilityPosition x="500.0" y="0.0"/>
377
+ </toolspecific>
378
+ </arc>
379
+ <arc id="a16" source="p8" target="t8">
380
+ <inscription>
381
+ <text>1</text>
382
+ </inscription>
383
+ <graphics/>
384
+ <toolspecific tool="WoPeD" version="1.0">
385
+ <probability>1.0</probability>
386
+ <displayProbabilityOn>false</displayProbabilityOn>
387
+ <displayProbabilityPosition x="500.0" y="0.0"/>
388
+ </toolspecific>
389
+ </arc>
390
+ <arc id="a17" source="t8" target="p9">
391
+ <inscription>
392
+ <text>1</text>
393
+ </inscription>
394
+ <graphics/>
395
+ <toolspecific tool="WoPeD" version="1.0">
396
+ <probability>1.0</probability>
397
+ <displayProbabilityOn>false</displayProbabilityOn>
398
+ <displayProbabilityPosition x="500.0" y="0.0"/>
399
+ </toolspecific>
400
+ </arc>
401
+ <arc id="a14" source="t4" target="p7">
402
+ <inscription>
403
+ <text>1</text>
404
+ </inscription>
405
+ <graphics>
406
+ <position x="925" y="40"/>
407
+ </graphics>
408
+ <toolspecific tool="WoPeD" version="1.0">
409
+ <probability>1.0</probability>
410
+ <displayProbabilityOn>false</displayProbabilityOn>
411
+ <displayProbabilityPosition x="500.0" y="0.0"/>
412
+ </toolspecific>
413
+ </arc>
414
+ <arc id="a15" source="t2" target="p8">
415
+ <inscription>
416
+ <text>1</text>
417
+ </inscription>
418
+ <graphics/>
419
+ <toolspecific tool="WoPeD" version="1.0">
420
+ <probability>1.0</probability>
421
+ <displayProbabilityOn>false</displayProbabilityOn>
422
+ <displayProbabilityPosition x="500.0" y="0.0"/>
423
+ </toolspecific>
424
+ </arc>
425
+ <arc id="a12" source="p6" target="t7">
426
+ <inscription>
427
+ <text>1</text>
428
+ </inscription>
429
+ <graphics/>
430
+ <toolspecific tool="WoPeD" version="1.0">
431
+ <probability>1.0</probability>
432
+ <displayProbabilityOn>false</displayProbabilityOn>
433
+ <displayProbabilityPosition x="500.0" y="0.0"/>
434
+ </toolspecific>
435
+ </arc>
436
+ <arc id="a13" source="t7" target="p7">
437
+ <inscription>
438
+ <text>1</text>
439
+ </inscription>
440
+ <graphics/>
441
+ <toolspecific tool="WoPeD" version="1.0">
442
+ <probability>1.0</probability>
443
+ <displayProbabilityOn>false</displayProbabilityOn>
444
+ <displayProbabilityPosition x="500.0" y="0.0"/>
445
+ </toolspecific>
446
+ </arc>
447
+ <arc id="a10" source="p5" target="t6">
448
+ <inscription>
449
+ <text>1</text>
450
+ </inscription>
451
+ <graphics/>
452
+ <toolspecific tool="WoPeD" version="1.0">
453
+ <probability>1.0</probability>
454
+ <displayProbabilityOn>false</displayProbabilityOn>
455
+ <displayProbabilityPosition x="500.0" y="0.0"/>
456
+ </toolspecific>
457
+ </arc>
458
+ <arc id="a11" source="t6" target="p6">
459
+ <inscription>
460
+ <text>1</text>
461
+ </inscription>
462
+ <graphics/>
463
+ <toolspecific tool="WoPeD" version="1.0">
464
+ <probability>1.0</probability>
465
+ <displayProbabilityOn>false</displayProbabilityOn>
466
+ <displayProbabilityPosition x="500.0" y="0.0"/>
467
+ </toolspecific>
468
+ </arc>
469
+ <arc id="a1" source="p1" target="t1">
470
+ <inscription>
471
+ <text>1</text>
472
+ </inscription>
473
+ <graphics/>
474
+ <toolspecific tool="WoPeD" version="1.0">
475
+ <probability>1.0</probability>
476
+ <displayProbabilityOn>false</displayProbabilityOn>
477
+ <displayProbabilityPosition x="500.0" y="0.0"/>
478
+ </toolspecific>
479
+ </arc>
480
+ <arc id="a2" source="t1" target="p2">
481
+ <inscription>
482
+ <text>1</text>
483
+ </inscription>
484
+ <graphics/>
485
+ <toolspecific tool="WoPeD" version="1.0">
486
+ <probability>1.0</probability>
487
+ <displayProbabilityOn>false</displayProbabilityOn>
488
+ <displayProbabilityPosition x="500.0" y="0.0"/>
489
+ </toolspecific>
490
+ </arc>
491
+ <arc id="a3" source="p2" target="t2">
492
+ <inscription>
493
+ <text>1</text>
494
+ </inscription>
495
+ <graphics/>
496
+ <toolspecific tool="WoPeD" version="1.0">
497
+ <probability>1.0</probability>
498
+ <displayProbabilityOn>false</displayProbabilityOn>
499
+ <displayProbabilityPosition x="500.0" y="0.0"/>
500
+ </toolspecific>
501
+ </arc>
502
+ <arc id="a4" source="t2" target="p3">
503
+ <inscription>
504
+ <text>1</text>
505
+ </inscription>
506
+ <graphics/>
507
+ <toolspecific tool="WoPeD" version="1.0">
508
+ <probability>1.0</probability>
509
+ <displayProbabilityOn>false</displayProbabilityOn>
510
+ <displayProbabilityPosition x="500.0" y="0.0"/>
511
+ </toolspecific>
512
+ </arc>
513
+ <arc id="a5" source="p3" target="t3">
514
+ <inscription>
515
+ <text>1</text>
516
+ </inscription>
517
+ <graphics/>
518
+ <toolspecific tool="WoPeD" version="1.0">
519
+ <probability>1.0</probability>
520
+ <displayProbabilityOn>false</displayProbabilityOn>
521
+ <displayProbabilityPosition x="500.0" y="0.0"/>
522
+ </toolspecific>
523
+ </arc>
524
+ <arc id="a6" source="t3" target="p4">
525
+ <inscription>
526
+ <text>1</text>
527
+ </inscription>
528
+ <graphics/>
529
+ <toolspecific tool="WoPeD" version="1.0">
530
+ <probability>1.0</probability>
531
+ <displayProbabilityOn>false</displayProbabilityOn>
532
+ <displayProbabilityPosition x="500.0" y="0.0"/>
533
+ </toolspecific>
534
+ </arc>
535
+ <arc id="a7" source="p4" target="t4">
536
+ <inscription>
537
+ <text>1</text>
538
+ </inscription>
539
+ <graphics/>
540
+ <toolspecific tool="WoPeD" version="1.0">
541
+ <probability>1.0</probability>
542
+ <displayProbabilityOn>false</displayProbabilityOn>
543
+ <displayProbabilityPosition x="500.0" y="0.0"/>
544
+ </toolspecific>
545
+ </arc>
546
+ <arc id="a18" source="p9" target="t9">
547
+ <inscription>
548
+ <text>1</text>
549
+ </inscription>
550
+ <graphics/>
551
+ <toolspecific tool="WoPeD" version="1.0">
552
+ <probability>1.0</probability>
553
+ <displayProbabilityOn>false</displayProbabilityOn>
554
+ <displayProbabilityPosition x="500.0" y="0.0"/>
555
+ </toolspecific>
556
+ </arc>
557
+ <arc id="a8" source="p4" target="t5">
558
+ <inscription>
559
+ <text>1</text>
560
+ </inscription>
561
+ <graphics/>
562
+ <toolspecific tool="WoPeD" version="1.0">
563
+ <probability>1.0</probability>
564
+ <displayProbabilityOn>false</displayProbabilityOn>
565
+ <displayProbabilityPosition x="500.0" y="0.0"/>
566
+ </toolspecific>
567
+ </arc>
568
+ <arc id="a19" source="t9" target="p10">
569
+ <inscription>
570
+ <text>1</text>
571
+ </inscription>
572
+ <graphics/>
573
+ <toolspecific tool="WoPeD" version="1.0">
574
+ <probability>1.0</probability>
575
+ <displayProbabilityOn>false</displayProbabilityOn>
576
+ <displayProbabilityPosition x="500.0" y="0.0"/>
577
+ </toolspecific>
578
+ </arc>
579
+ <arc id="a25" source="p7" target="t12">
580
+ <inscription>
581
+ <text>1</text>
582
+ </inscription>
583
+ <graphics>
584
+ <position x="1040" y="90"/>
585
+ </graphics>
586
+ <toolspecific tool="WoPeD" version="1.0">
587
+ <probability>1.0</probability>
588
+ <displayProbabilityOn>false</displayProbabilityOn>
589
+ <displayProbabilityPosition x="500.0" y="0.0"/>
590
+ </toolspecific>
591
+ </arc>
592
+ <arc id="a26" source="t12" target="p12">
593
+ <inscription>
594
+ <text>1</text>
595
+ </inscription>
596
+ <graphics/>
597
+ <toolspecific tool="WoPeD" version="1.0">
598
+ <probability>1.0</probability>
599
+ <displayProbabilityOn>false</displayProbabilityOn>
600
+ <displayProbabilityPosition x="500.0" y="0.0"/>
601
+ </toolspecific>
602
+ </arc>
603
+ <arc id="a21" source="t10" target="p11">
604
+ <inscription>
605
+ <text>1</text>
606
+ </inscription>
607
+ <graphics/>
608
+ <toolspecific tool="WoPeD" version="1.0">
609
+ <probability>1.0</probability>
610
+ <displayProbabilityOn>false</displayProbabilityOn>
611
+ <displayProbabilityPosition x="500.0" y="0.0"/>
612
+ </toolspecific>
613
+ </arc>
614
+ <arc id="a22" source="p9" target="t11">
615
+ <inscription>
616
+ <text>1</text>
617
+ </inscription>
618
+ <graphics/>
619
+ <toolspecific tool="WoPeD" version="1.0">
620
+ <probability>1.0</probability>
621
+ <displayProbabilityOn>false</displayProbabilityOn>
622
+ <displayProbabilityPosition x="500.0" y="0.0"/>
623
+ </toolspecific>
624
+ </arc>
625
+ <arc id="a23" source="t11" target="p11">
626
+ <inscription>
627
+ <text>1</text>
628
+ </inscription>
629
+ <graphics>
630
+ <position x="770" y="310"/>
631
+ </graphics>
632
+ <toolspecific tool="WoPeD" version="1.0">
633
+ <probability>1.0</probability>
634
+ <displayProbabilityOn>false</displayProbabilityOn>
635
+ <displayProbabilityPosition x="500.0" y="0.0"/>
636
+ </toolspecific>
637
+ </arc>
638
+ <arc id="a24" source="p11" target="t12">
639
+ <inscription>
640
+ <text>1</text>
641
+ </inscription>
642
+ <graphics>
643
+ <position x="1050" y="270"/>
644
+ </graphics>
645
+ <toolspecific tool="WoPeD" version="1.0">
646
+ <probability>1.0</probability>
647
+ <displayProbabilityOn>false</displayProbabilityOn>
648
+ <displayProbabilityPosition x="500.0" y="0.0"/>
649
+ </toolspecific>
650
+ </arc>
651
+ <toolspecific tool="WoPeD" version="1.0">
652
+ <bounds>
653
+ <position x="2" y="22"/>
654
+ <dimension x="1905" y="784"/>
655
+ </bounds>
656
+ <scale>100</scale>
657
+ <treeWidthRight>1551</treeWidthRight>
658
+ <overviewPanelVisible>true</overviewPanelVisible>
659
+ <treeHeightOverview>100</treeHeightOverview>
660
+ <treePanelVisible>true</treePanelVisible>
661
+ <verticalLayout>false</verticalLayout>
662
+ <resources/>
663
+ <simulations/>
664
+ <partnerLinks/>
665
+ <variables/>
666
+ </toolspecific>
667
+ </net>
668
+ </pnml>