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,6 @@
1
+ .@ PackageName :: "WCP38_GeneralSynchronizingMerge"
2
+ .@ Entrance :: GeneralSynchronizingMerge
3
+
4
+ param $COND1 := true
5
+ param $COND2 := true
6
+ param $COND3 := false # processing is endless if $COND3 is true
@@ -0,0 +1,429 @@
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>'*.count'.all</text>
9
+ <graphics>
10
+ <offset x="770" y="340"/>
11
+ </graphics>
12
+ </name>
13
+ <graphics>
14
+ <position x="770" y="300"/>
15
+ <dimension x="40" y="40"/>
16
+ </graphics>
17
+ </place>
18
+ <place id="p6">
19
+ <name>
20
+ <text>$*.length > 5</text>
21
+ <graphics>
22
+ <offset x="950" y="340"/>
23
+ </graphics>
24
+ </name>
25
+ <graphics>
26
+ <position x="950" y="300"/>
27
+ <dimension x="40" y="40"/>
28
+ </graphics>
29
+ </place>
30
+ <place id="p5">
31
+ <name>
32
+ <text>'{$*.length}.count'</text>
33
+ <graphics>
34
+ <offset x="570" y="340"/>
35
+ </graphics>
36
+ </name>
37
+ <graphics>
38
+ <position x="590" y="300"/>
39
+ <dimension x="40" y="40"/>
40
+ </graphics>
41
+ </place>
42
+ <place id="p4">
43
+ <name>
44
+ <text>'*.count'.all</text>
45
+ <graphics>
46
+ <offset x="390" y="340"/>
47
+ </graphics>
48
+ </name>
49
+ <graphics>
50
+ <position x="410" y="300"/>
51
+ <dimension x="40" y="40"/>
52
+ </graphics>
53
+ </place>
54
+ <place id="p3">
55
+ <name>
56
+ <text>&lt;'0.count'</text>
57
+ <graphics>
58
+ <offset x="230" y="340"/>
59
+ </graphics>
60
+ </name>
61
+ <graphics>
62
+ <position x="230" y="300"/>
63
+ <dimension x="40" y="40"/>
64
+ </graphics>
65
+ <initialMarking>
66
+ <text>1</text>
67
+ </initialMarking>
68
+ </place>
69
+ <place id="p2">
70
+ <name>
71
+ <text>&lt;'cont'</text>
72
+ <graphics>
73
+ <offset x="230" y="270"/>
74
+ </graphics>
75
+ </name>
76
+ <graphics>
77
+ <position x="230" y="230"/>
78
+ <dimension x="40" y="40"/>
79
+ </graphics>
80
+ <initialMarking>
81
+ <text>1</text>
82
+ </initialMarking>
83
+ </place>
84
+ <place id="p10">
85
+ <name>
86
+ <text>'cont'.remove</text>
87
+ <graphics>
88
+ <offset x="1130" y="270"/>
89
+ </graphics>
90
+ </name>
91
+ <graphics>
92
+ <position x="1130" y="230"/>
93
+ <dimension x="40" y="40"/>
94
+ </graphics>
95
+ </place>
96
+ <place id="p9">
97
+ <name>
98
+ <text>>'o1'</text>
99
+ <graphics>
100
+ <offset x="1130" y="340"/>
101
+ </graphics>
102
+ </name>
103
+ <graphics>
104
+ <position x="1130" y="300"/>
105
+ <dimension x="40" y="40"/>
106
+ </graphics>
107
+ </place>
108
+ <place id="p8">
109
+ <name>
110
+ <text/>
111
+ <graphics>
112
+ <offset x="410" y="270"/>
113
+ </graphics>
114
+ </name>
115
+ <graphics>
116
+ <position x="410" y="230"/>
117
+ <dimension x="40" y="40"/>
118
+ </graphics>
119
+ </place>
120
+ <place id="p11">
121
+ <name>
122
+ <text/>
123
+ <graphics>
124
+ <offset x="410" y="200"/>
125
+ </graphics>
126
+ </name>
127
+ <graphics>
128
+ <position x="410" y="160"/>
129
+ <dimension x="40" y="40"/>
130
+ </graphics>
131
+ </place>
132
+ <transition id="t3">
133
+ <name>
134
+ <text>constraint</text>
135
+ <graphics>
136
+ <offset x="860" y="340"/>
137
+ </graphics>
138
+ </name>
139
+ <graphics>
140
+ <position x="860" y="300"/>
141
+ <dimension x="40" y="40"/>
142
+ </graphics>
143
+ <toolspecific tool="WoPeD" version="1.0">
144
+ <time>0</time>
145
+ <timeUnit>1</timeUnit>
146
+ <orientation>1</orientation>
147
+ </toolspecific>
148
+ </transition>
149
+ <transition id="t2">
150
+ <name>
151
+ <text>extern A1</text>
152
+ <graphics>
153
+ <offset x="500" y="340"/>
154
+ </graphics>
155
+ </name>
156
+ <graphics>
157
+ <position x="500" y="300"/>
158
+ <dimension x="40" y="40"/>
159
+ </graphics>
160
+ <toolspecific tool="WoPeD" version="1.0">
161
+ <time>0</time>
162
+ <timeUnit>1</timeUnit>
163
+ <orientation>1</orientation>
164
+ </toolspecific>
165
+ </transition>
166
+ <transition id="t1">
167
+ <name>
168
+ <text/>
169
+ <graphics>
170
+ <offset x="320" y="340"/>
171
+ </graphics>
172
+ </name>
173
+ <graphics>
174
+ <position x="320" y="300"/>
175
+ <dimension x="40" y="40"/>
176
+ </graphics>
177
+ <toolspecific tool="WoPeD" version="1.0">
178
+ <time>0</time>
179
+ <timeUnit>1</timeUnit>
180
+ <orientation>1</orientation>
181
+ </toolspecific>
182
+ </transition>
183
+ <transition id="t4">
184
+ <name>
185
+ <text>A2</text>
186
+ <graphics>
187
+ <offset x="1040" y="340"/>
188
+ </graphics>
189
+ </name>
190
+ <graphics>
191
+ <position x="1040" y="300"/>
192
+ <dimension x="40" y="40"/>
193
+ </graphics>
194
+ <toolspecific tool="WoPeD" version="1.0">
195
+ <time>0</time>
196
+ <timeUnit>1</timeUnit>
197
+ <orientation>1</orientation>
198
+ </toolspecific>
199
+ </transition>
200
+ <transition id="t5">
201
+ <name>
202
+ <text/>
203
+ <graphics>
204
+ <offset x="680" y="340"/>
205
+ </graphics>
206
+ </name>
207
+ <graphics>
208
+ <position x="680" y="300"/>
209
+ <dimension x="40" y="40"/>
210
+ </graphics>
211
+ <toolspecific tool="WoPeD" version="1.0">
212
+ <time>0</time>
213
+ <timeUnit>1</timeUnit>
214
+ <orientation>1</orientation>
215
+ </toolspecific>
216
+ </transition>
217
+ <transition id="t6">
218
+ <name>
219
+ <text/>
220
+ <graphics>
221
+ <offset x="320" y="270"/>
222
+ </graphics>
223
+ </name>
224
+ <graphics>
225
+ <position x="320" y="230"/>
226
+ <dimension x="40" y="40"/>
227
+ </graphics>
228
+ <toolspecific tool="WoPeD" version="1.0">
229
+ <time>0</time>
230
+ <timeUnit>1</timeUnit>
231
+ <orientation>1</orientation>
232
+ </toolspecific>
233
+ </transition>
234
+ <arc id="a20" source="p11" target="t4">
235
+ <inscription>
236
+ <text>1</text>
237
+ </inscription>
238
+ <graphics>
239
+ <position x="960" y="180"/>
240
+ </graphics>
241
+ <toolspecific tool="WoPeD" version="1.0">
242
+ <probability>1.0</probability>
243
+ <displayProbabilityOn>false</displayProbabilityOn>
244
+ <displayProbabilityPosition x="500.0" y="0.0"/>
245
+ </toolspecific>
246
+ </arc>
247
+ <arc id="a16" source="t4" target="p9">
248
+ <inscription>
249
+ <text>1</text>
250
+ </inscription>
251
+ <graphics/>
252
+ <toolspecific tool="WoPeD" version="1.0">
253
+ <probability>1.0</probability>
254
+ <displayProbabilityOn>false</displayProbabilityOn>
255
+ <displayProbabilityPosition x="500.0" y="0.0"/>
256
+ </toolspecific>
257
+ </arc>
258
+ <arc id="a9" source="p6" target="t4">
259
+ <inscription>
260
+ <text>1</text>
261
+ </inscription>
262
+ <graphics/>
263
+ <toolspecific tool="WoPeD" version="1.0">
264
+ <probability>1.0</probability>
265
+ <displayProbabilityOn>false</displayProbabilityOn>
266
+ <displayProbabilityPosition x="500.0" y="0.0"/>
267
+ </toolspecific>
268
+ </arc>
269
+ <arc id="a17" source="t4" target="p10">
270
+ <inscription>
271
+ <text>1</text>
272
+ </inscription>
273
+ <graphics/>
274
+ <toolspecific tool="WoPeD" version="1.0">
275
+ <probability>1.0</probability>
276
+ <displayProbabilityOn>false</displayProbabilityOn>
277
+ <displayProbabilityPosition x="500.0" y="0.0"/>
278
+ </toolspecific>
279
+ </arc>
280
+ <arc id="a14" source="t6" target="p8">
281
+ <inscription>
282
+ <text>1</text>
283
+ </inscription>
284
+ <graphics/>
285
+ <toolspecific tool="WoPeD" version="1.0">
286
+ <probability>1.0</probability>
287
+ <displayProbabilityOn>false</displayProbabilityOn>
288
+ <displayProbabilityPosition x="500.0" y="0.0"/>
289
+ </toolspecific>
290
+ </arc>
291
+ <arc id="a12" source="p7" target="t3">
292
+ <inscription>
293
+ <text>1</text>
294
+ </inscription>
295
+ <graphics/>
296
+ <toolspecific tool="WoPeD" version="1.0">
297
+ <probability>1.0</probability>
298
+ <displayProbabilityOn>false</displayProbabilityOn>
299
+ <displayProbabilityPosition x="500.0" y="0.0"/>
300
+ </toolspecific>
301
+ </arc>
302
+ <arc id="a13" source="p2" target="t6">
303
+ <inscription>
304
+ <text>1</text>
305
+ </inscription>
306
+ <graphics/>
307
+ <toolspecific tool="WoPeD" version="1.0">
308
+ <probability>1.0</probability>
309
+ <displayProbabilityOn>false</displayProbabilityOn>
310
+ <displayProbabilityPosition x="500.0" y="0.0"/>
311
+ </toolspecific>
312
+ </arc>
313
+ <arc id="a10" source="p5" target="t5">
314
+ <inscription>
315
+ <text>1</text>
316
+ </inscription>
317
+ <graphics/>
318
+ <toolspecific tool="WoPeD" version="1.0">
319
+ <probability>1.0</probability>
320
+ <displayProbabilityOn>false</displayProbabilityOn>
321
+ <displayProbabilityPosition x="500.0" y="0.0"/>
322
+ </toolspecific>
323
+ </arc>
324
+ <arc id="a11" source="t5" target="p7">
325
+ <inscription>
326
+ <text>1</text>
327
+ </inscription>
328
+ <graphics/>
329
+ <toolspecific tool="WoPeD" version="1.0">
330
+ <probability>1.0</probability>
331
+ <displayProbabilityOn>false</displayProbabilityOn>
332
+ <displayProbabilityPosition x="500.0" y="0.0"/>
333
+ </toolspecific>
334
+ </arc>
335
+ <arc id="a2" source="t1" target="p4">
336
+ <inscription>
337
+ <text>1</text>
338
+ </inscription>
339
+ <graphics/>
340
+ <toolspecific tool="WoPeD" version="1.0">
341
+ <probability>1.0</probability>
342
+ <displayProbabilityOn>false</displayProbabilityOn>
343
+ <displayProbabilityPosition x="500.0" y="0.0"/>
344
+ </toolspecific>
345
+ </arc>
346
+ <arc id="a3" source="p4" target="t2">
347
+ <inscription>
348
+ <text>1</text>
349
+ </inscription>
350
+ <graphics/>
351
+ <toolspecific tool="WoPeD" version="1.0">
352
+ <probability>1.0</probability>
353
+ <displayProbabilityOn>false</displayProbabilityOn>
354
+ <displayProbabilityPosition x="500.0" y="0.0"/>
355
+ </toolspecific>
356
+ </arc>
357
+ <arc id="a4" source="p3" target="t1">
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="a6" source="t2" 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="a18" source="t6" target="p11">
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="a19" source="p8" target="t2">
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="a8" source="t3" target="p6">
402
+ <inscription>
403
+ <text>1</text>
404
+ </inscription>
405
+ <graphics/>
406
+ <toolspecific tool="WoPeD" version="1.0">
407
+ <probability>1.0</probability>
408
+ <displayProbabilityOn>false</displayProbabilityOn>
409
+ <displayProbabilityPosition x="500.0" y="0.0"/>
410
+ </toolspecific>
411
+ </arc>
412
+ <toolspecific tool="WoPeD" version="1.0">
413
+ <bounds>
414
+ <position x="2" y="22"/>
415
+ <dimension x="1905" y="784"/>
416
+ </bounds>
417
+ <scale>100</scale>
418
+ <treeWidthRight>1551</treeWidthRight>
419
+ <overviewPanelVisible>true</overviewPanelVisible>
420
+ <treeHeightOverview>100</treeHeightOverview>
421
+ <treePanelVisible>true</treePanelVisible>
422
+ <verticalLayout>false</verticalLayout>
423
+ <resources/>
424
+ <simulations/>
425
+ <partnerLinks/>
426
+ <variables/>
427
+ </toolspecific>
428
+ </net>
429
+ </pnml>
@@ -0,0 +1,141 @@
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="p4">
7
+ <name>
8
+ <text>>'{$N}.count'</text>
9
+ <graphics>
10
+ <offset x="470" y="250"/>
11
+ </graphics>
12
+ </name>
13
+ <graphics>
14
+ <position x="470" y="210"/>
15
+ <dimension x="40" y="40"/>
16
+ </graphics>
17
+ </place>
18
+ <place id="p3">
19
+ <name>
20
+ <text>{N: $*.length}</text>
21
+ <graphics>
22
+ <offset x="260" y="310"/>
23
+ </graphics>
24
+ </name>
25
+ <graphics>
26
+ <position x="260" y="270"/>
27
+ <dimension x="40" y="40"/>
28
+ </graphics>
29
+ <initialMarking>
30
+ <text>1</text>
31
+ </initialMarking>
32
+ </place>
33
+ <place id="p2">
34
+ <name>
35
+ <text>&lt;'cont'</text>
36
+ <graphics>
37
+ <offset x="260" y="250"/>
38
+ </graphics>
39
+ </name>
40
+ <graphics>
41
+ <position x="260" y="210"/>
42
+ <dimension x="40" y="40"/>
43
+ </graphics>
44
+ <initialMarking>
45
+ <text>1</text>
46
+ </initialMarking>
47
+ </place>
48
+ <place id="p1">
49
+ <name>
50
+ <text>&lt;'*.count'.all</text>
51
+ <graphics>
52
+ <offset x="260" y="180"/>
53
+ </graphics>
54
+ </name>
55
+ <graphics>
56
+ <position x="260" y="140"/>
57
+ <dimension x="40" y="40"/>
58
+ </graphics>
59
+ <initialMarking>
60
+ <text>1</text>
61
+ </initialMarking>
62
+ </place>
63
+ <transition id="t1">
64
+ <name>
65
+ <text>A1Count</text>
66
+ <graphics>
67
+ <offset x="370" y="250"/>
68
+ </graphics>
69
+ </name>
70
+ <graphics>
71
+ <position x="370" y="210"/>
72
+ <dimension x="40" y="40"/>
73
+ </graphics>
74
+ <toolspecific tool="WoPeD" version="1.0">
75
+ <time>0</time>
76
+ <timeUnit>1</timeUnit>
77
+ <orientation>1</orientation>
78
+ </toolspecific>
79
+ </transition>
80
+ <arc id="a1" source="p2" target="t1">
81
+ <inscription>
82
+ <text>1</text>
83
+ </inscription>
84
+ <graphics/>
85
+ <toolspecific tool="WoPeD" version="1.0">
86
+ <probability>1.0</probability>
87
+ <displayProbabilityOn>false</displayProbabilityOn>
88
+ <displayProbabilityPosition x="500.0" y="0.0"/>
89
+ </toolspecific>
90
+ </arc>
91
+ <arc id="a2" source="p1" target="t1">
92
+ <inscription>
93
+ <text>1</text>
94
+ </inscription>
95
+ <graphics/>
96
+ <toolspecific tool="WoPeD" version="1.0">
97
+ <probability>1.0</probability>
98
+ <displayProbabilityOn>false</displayProbabilityOn>
99
+ <displayProbabilityPosition x="500.0" y="0.0"/>
100
+ </toolspecific>
101
+ </arc>
102
+ <arc id="a3" source="p3" target="t1">
103
+ <inscription>
104
+ <text>1</text>
105
+ </inscription>
106
+ <graphics/>
107
+ <toolspecific tool="WoPeD" version="1.0">
108
+ <probability>1.0</probability>
109
+ <displayProbabilityOn>false</displayProbabilityOn>
110
+ <displayProbabilityPosition x="500.0" y="0.0"/>
111
+ </toolspecific>
112
+ </arc>
113
+ <arc id="a4" source="t1" target="p4">
114
+ <inscription>
115
+ <text>1</text>
116
+ </inscription>
117
+ <graphics/>
118
+ <toolspecific tool="WoPeD" version="1.0">
119
+ <probability>1.0</probability>
120
+ <displayProbabilityOn>false</displayProbabilityOn>
121
+ <displayProbabilityPosition x="500.0" y="0.0"/>
122
+ </toolspecific>
123
+ </arc>
124
+ <toolspecific tool="WoPeD" version="1.0">
125
+ <bounds>
126
+ <position x="2" y="22"/>
127
+ <dimension x="1905" y="784"/>
128
+ </bounds>
129
+ <scale>100</scale>
130
+ <treeWidthRight>1551</treeWidthRight>
131
+ <overviewPanelVisible>true</overviewPanelVisible>
132
+ <treeHeightOverview>100</treeHeightOverview>
133
+ <treePanelVisible>true</treePanelVisible>
134
+ <verticalLayout>false</verticalLayout>
135
+ <resources/>
136
+ <simulations/>
137
+ <partnerLinks/>
138
+ <variables/>
139
+ </toolspecific>
140
+ </net>
141
+ </pnml>