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.
- checksums.yaml +8 -8
- data/.travis.yml +1 -1
- data/History.txt +6 -0
- data/example/ActionError/ActionError.action.md +11 -0
- data/example/ActionError/ActionError.pione +6 -3
- data/example/ActionError/ActionError.pnml +86 -0
- data/example/ActionError/Package.pione +2 -0
- data/example/ActionError/pione-package.json +5 -1
- data/example/CTFCorrection/CTFCorrection.action.md +46 -0
- data/example/CTFCorrection/CTFCorrection.pione +19 -41
- data/example/CTFCorrection/CTFCorrection.pnml +839 -0
- data/example/CTFCorrection/Package.pione +1 -0
- data/example/CTFCorrection/Params.pione +21 -0
- data/example/CTFCorrection/pione-package.json +20 -0
- data/example/ChildPackage/ChildPackage.pione +8 -0
- data/example/ChildPackage/pione-package.json +20 -0
- data/example/CountChar/CountChar.pione +31 -0
- data/example/CountChar/CountChar.pnml +239 -0
- data/example/CountChar/Main.pione +6 -26
- data/example/CountChar/Main.pnml +32 -100
- data/example/CountChar/Package.pione +1 -0
- data/example/CountChar/pione-package.json +3 -1
- data/example/DeferredChoice/DeferredChoice.action.md +46 -0
- data/example/DeferredChoice/DeferredChoice.pione +2 -7
- data/example/DeferredChoice/DeferredChoice.pnml +371 -0
- data/example/DeferredChoice/Package.pione +4 -0
- data/example/DeferredChoice/pione-package.json +7 -3
- data/example/DeferredChoiceWithPage/DeferredChoiceWithPage.action.md +34 -0
- data/example/DeferredChoiceWithPage/DefferredChoiceWithPage.pnml +371 -0
- data/example/DeferredChoiceWithPage/Package.pione +2 -0
- data/example/FeatureExample/FeatureExample.action.md +7 -0
- data/example/FeatureExample/FeatureExample.pione +7 -4
- data/example/FeatureExample/FeatureExample.pnml +86 -0
- data/example/FeatureExample/Package.pione +1 -0
- data/example/FeatureExample/pione-package.json +4 -0
- data/example/Fib/Fib.action.md +33 -0
- data/example/Fib/Fib.pnml +208 -0
- data/example/Fib/FibN.pnml +807 -0
- data/example/Fib/Package.pione +6 -0
- data/example/HelloWorld/HelloWorld.action.md +7 -0
- data/example/HelloWorld/HelloWorld.pione +6 -2
- data/example/HelloWorld/HelloWorld.pnml +86 -0
- data/example/HelloWorld/Package.pione +2 -0
- data/example/HelloWorld/pione-package.json +5 -1
- data/example/Interaction/Interaction.action.md +21 -0
- data/example/Interaction/Interaction.pnml +89 -0
- data/example/Interaction/Package.pione +2 -0
- data/example/LoopByTouch/LoopByTouch.pione +32 -12
- data/example/LoopByTouch/LoopByTouch.pnml +575 -0
- data/example/LoopByTouch/Package.pione +3 -0
- data/example/LoopByTouch/PairLoop.pione +6 -7
- data/example/LoopByTouch/PairLoop.pnml +188 -0
- data/example/LoopByTouch/SingleLoop.pione +6 -0
- data/example/LoopByTouch/SingleLoop.pnml +86 -0
- data/example/LoopByTouch/TripletLoop.pione +12 -13
- data/example/LoopByTouch/TripletLoop.pnml +239 -0
- data/example/LoopByTouch/pione-package.json +7 -3
- data/example/LucasNumber/LucasNumber.action.md +25 -0
- data/example/LucasNumber/LucasNumber.pnml +244 -0
- data/example/LucasNumber/LucasNumberN.pnml +1719 -0
- data/example/LucasNumber/Package.pione +2 -0
- data/example/MakePair/MakePair.pione +8 -10
- data/example/MakePair/MakePair.pnml +1141 -0
- data/example/MakePair/Package.pione +2 -0
- data/example/MakePair/pione-package.json +7 -3
- data/example/MakePair/scenario/case1/pione-scenario.json +30 -30
- data/example/MakePair/scenario/case2/pione-scenario.json +10 -10
- data/example/MakePair/scenario/case3/pione-scenario.json +28 -28
- data/example/OddSelector/OddSelector.pione +8 -8
- data/example/OddSelector/OddSelector.pnml +401 -0
- data/example/OddSelector/Package.pione +2 -0
- data/example/OddSelector/pione-package.json +4 -0
- data/example/OddSelector/scenario/pione-scenario.json +8 -8
- data/example/ParentPackage/ParentPackage.pione +13 -0
- data/example/ParentPackage/pione-package.json +18 -0
- data/example/PegasusWMS/Merge/Package.pione +2 -0
- data/example/PegasusWMS/Merge/PegasusWMSMerge.action.md +17 -0
- data/example/PegasusWMS/Merge/{Merge.pione → PegasusWMSMerge.pione} +9 -10
- data/example/PegasusWMS/Merge/PegasusWMSMerge.pnml +217 -0
- data/example/PegasusWMS/Merge/pione-package.json +6 -2
- data/example/PegasusWMS/Pipeline/Package.pione +2 -0
- data/example/PegasusWMS/Pipeline/PegasusWMSPipeline.action.md +17 -0
- data/example/PegasusWMS/Pipeline/{Pipeline.pione → PegasusWMSPipeline.pione} +7 -9
- data/example/PegasusWMS/Pipeline/PegasusWMSPipeline.pnml +137 -0
- data/example/PegasusWMS/Pipeline/pione-package.json +6 -2
- data/example/PegasusWMS/Split/Package.pione +2 -0
- data/example/PegasusWMS/Split/PegasusWMSSplit.action.md +19 -0
- data/example/PegasusWMS/Split/{Split.pione → PegasusWMSSplit.pione} +9 -10
- data/example/PegasusWMS/Split/PegasusWMSSplit.pnml +293 -0
- data/example/PegasusWMS/Split/pione-package.json +6 -2
- data/example/ScoreAggregation/Package.pione +2 -0
- data/example/ScoreAggregation/ScoreAggregation.action.md +56 -0
- data/example/ScoreAggregation/ScoreAggregation.pione +37 -76
- data/example/ScoreAggregation/ScoreAggregation.pnml +1221 -0
- data/example/ScoreAggregation/pione-package.json +6 -2
- data/example/ScoreAggregation/scenario/case1/pione-scenario.json +21 -21
- data/example/SelectRuleByParam/Package.pione +2 -0
- data/example/SelectRuleByParam/SelectRuleByParam.action.md +19 -0
- data/example/SelectRuleByParam/SelectRuleByParam.pnml +388 -0
- data/example/SequentialParameter/Package.pione +2 -0
- data/example/SequentialParameter/SequentialParameter.pione +9 -3
- data/example/SequentialParameter/SequentialParameter.pnml +140 -0
- data/example/SequentialParameter/pione-package.json +19 -0
- data/example/SerialProcessing/A.pione +25 -0
- data/example/SerialProcessing/A.pnml +395 -0
- data/example/SerialProcessing/B.pione +25 -0
- data/example/SerialProcessing/B.pnml +395 -0
- data/example/SerialProcessing/Package.pione +2 -0
- data/example/SerialProcessing/SerialProcessing.pione +9 -60
- data/example/SerialProcessing/SerialProcessing.pnml +160 -0
- data/example/SerialProcessing/pione-package.json +7 -1
- data/example/SieveOfEratosthenes/CreateUndeterminedNumbers.pnml +157 -0
- data/example/SieveOfEratosthenes/Package.pione +4 -0
- data/example/SieveOfEratosthenes/Sieve.pnml +1493 -0
- data/example/SieveOfEratosthenes/SieveOfEratosthenes.pnml +174 -0
- data/example/SingleParticlesWithRef/Create3dinfo.pnml +342 -0
- data/example/SingleParticlesWithRef/Package.pione +42 -0
- data/example/SingleParticlesWithRef/SingleParticlesWithRef.action.md +34 -0
- data/example/SingleParticlesWithRef/SingleParticlesWithRef.pnml +404 -0
- data/example/SingleParticlesWithRef/{Makefile → misc/Makefile} +0 -0
- data/example/SingleParticlesWithRef/{SingleParticlesWithRef.Display2.pione → misc/SingleParticlesWithRef.Display2.pione} +0 -0
- data/example/SingleParticlesWithRef/{SingleParticlesWithRef.Makefile → misc/SingleParticlesWithRef.Makefile} +0 -0
- data/example/SingleParticlesWithRef/{SingleParticlesWithRefFull.pione → misc/SingleParticlesWithRefFull.pione} +0 -0
- data/example/Sum/CalcEachLine.pione +30 -0
- data/example/Sum/CalcEachLine.pnml +327 -0
- data/example/Sum/Package.pione +2 -0
- data/example/Sum/Sum.action.md +35 -0
- data/example/Sum/Sum.pione +9 -35
- data/example/Sum/Sum.pnml +191 -0
- data/example/Sum/pione-package.json +5 -0
- data/example/Touch/Package.pione +2 -0
- data/example/Touch/Touch.pione +8 -2
- data/example/Touch/Touch.pnml +89 -0
- data/example/Touch/pione-package.json +4 -0
- data/example/WorkflowPatterns/01_Sequence/Package.pione +2 -0
- data/example/WorkflowPatterns/01_Sequence/Sequence.pione +9 -9
- data/example/WorkflowPatterns/01_Sequence/Sequence.pnml +191 -0
- data/example/WorkflowPatterns/01_Sequence/pione-package.json +19 -0
- data/example/WorkflowPatterns/02_PrallelSplit/Package.pione +2 -0
- data/example/WorkflowPatterns/02_PrallelSplit/ParallelSplit.pione +12 -12
- data/example/WorkflowPatterns/02_PrallelSplit/ParallelSplit.pnml +265 -0
- data/example/WorkflowPatterns/02_PrallelSplit/pione-package.json +19 -0
- data/example/WorkflowPatterns/03_Synchronization/Package.pione +2 -0
- data/example/WorkflowPatterns/03_Synchronization/Synchronization.pione +12 -13
- data/example/WorkflowPatterns/03_Synchronization/Synchronization.pnml +273 -0
- data/example/WorkflowPatterns/03_Synchronization/pione-package.json +19 -0
- data/example/WorkflowPatterns/04_ExclusiveChoice/ExclusiveChoice.pione +15 -22
- data/example/WorkflowPatterns/04_ExclusiveChoice/ExclusiveChoice.pnml +533 -0
- data/example/WorkflowPatterns/04_ExclusiveChoice/Package.pione +4 -0
- data/example/WorkflowPatterns/04_ExclusiveChoice/pione-package.json +19 -0
- data/example/WorkflowPatterns/05_SimpleMerge/Package.pione +4 -0
- data/example/WorkflowPatterns/05_SimpleMerge/SimpleMerge.pione +10 -18
- data/example/WorkflowPatterns/05_SimpleMerge/SimpleMerge.pnml +431 -0
- data/example/WorkflowPatterns/05_SimpleMerge/pione-package.json +19 -0
- data/example/WorkflowPatterns/06_MultiChoice/MultiChoice.pione +20 -28
- data/example/WorkflowPatterns/06_MultiChoice/MultiChoice.pnml +797 -0
- data/example/WorkflowPatterns/06_MultiChoice/Package.pione +5 -0
- data/example/WorkflowPatterns/06_MultiChoice/pione-package.json +19 -0
- data/example/WorkflowPatterns/07_StructuredSynchronizingMerge/Package.pione +5 -0
- data/example/WorkflowPatterns/07_StructuredSynchronizingMerge/StructuredSynchronizingMerge.pnml +668 -0
- data/example/WorkflowPatterns/08_MultiMerge/MultiMerge.pione +9 -20
- data/example/WorkflowPatterns/08_MultiMerge/MultiMerge.pnml +551 -0
- data/example/WorkflowPatterns/08_MultiMerge/Package.pione +4 -0
- data/example/WorkflowPatterns/08_MultiMerge/pione-package.json +19 -0
- data/example/WorkflowPatterns/11_ImplicitTermination/ImplicitTermination.pione +9 -17
- data/example/WorkflowPatterns/11_ImplicitTermination/ImplicitTermination.pnml +188 -0
- data/example/WorkflowPatterns/11_ImplicitTermination/Package.pione +2 -0
- data/example/WorkflowPatterns/11_ImplicitTermination/pione-package.json +19 -0
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/MultipleInstancesWithoutSynchronization.pione +11 -11
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/MultipleInstancesWithoutSynchronization.pnml +319 -0
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/Package.pione +4 -0
- data/example/WorkflowPatterns/12_MultipleInstancesWithoutSynchronization/pione-package.json +19 -0
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/MultipleInstancesWithDesignTimeKnowledge.pione +11 -11
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/MultipleInstancesWithDesignTimeKnowledge.pnml +319 -0
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/Package.pione +2 -0
- data/example/WorkflowPatterns/13_MultipleInstancesWithDesignTimeKnowledge/pione-package.json +19 -0
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pione +14 -17
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/MultipleInstancesWithRunTimeKnowledge.pnml +355 -0
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/Package.pione +4 -0
- data/example/WorkflowPatterns/14_MultipleInstancesWithRunTimeKnowledge/pione-package.json +19 -0
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pione +9 -10
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/GeneralizedANDJoin.pnml +409 -0
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/Package.pione +2 -0
- data/example/WorkflowPatterns/33_GeneralizedANDJoin/pione-package.json +19 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/A.pione +34 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/A.pnml +570 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pione +36 -70
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/LocalSynchronizingMerge.pnml +854 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/Package.pione +5 -0
- data/example/WorkflowPatterns/37_LocalSynchronizingMerge/pione-package.json +20 -0
- data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/GeneralSynchronizingMerge.pnml +1003 -0
- data/example/WorkflowPatterns/38_GeneralSynchronizingMerge/Package.pione +6 -0
- data/example/WorkflowPatterns/41_ThreadMerge/A.pnml +429 -0
- data/example/WorkflowPatterns/41_ThreadMerge/A1.pnml +141 -0
- data/example/WorkflowPatterns/41_ThreadMerge/Package.pione +2 -0
- data/example/WorkflowPatterns/41_ThreadMerge/ThreadMerge.pnml +205 -0
- data/example/WorkflowPatterns/42_ThreadSplit/Package.pione +2 -0
- data/example/WorkflowPatterns/42_ThreadSplit/ThreadSplit.pnml +217 -0
- data/lib/pione/agent/job-manager.rb +4 -3
- data/lib/pione/agent/task-worker.rb +2 -7
- data/lib/pione/command.rb +1 -0
- data/lib/pione/command/basic-command.rb +3 -1
- data/lib/pione/command/command-exception.rb +14 -0
- data/lib/pione/command/pione-action-exec.rb +4 -1
- data/lib/pione/command/pione-clean.rb +13 -6
- data/lib/pione/command/pione-client.rb +5 -5
- data/lib/pione/command/pione-compile.rb +1 -1
- data/lib/pione/command/pione-log-format.rb +1 -1
- data/lib/pione/command/pione-package-add.rb +1 -1
- data/lib/pione/command/pione-package-build.rb +87 -32
- data/lib/pione/command/pione-package-remove.rb +117 -0
- data/lib/pione/command/pione-package.rb +1 -0
- data/lib/pione/command/spawner.rb +12 -3
- data/lib/pione/lang/boolean.rb +1 -1
- data/lib/pione/lang/common-parser.rb +5 -3
- data/lib/pione/lang/context-parser.rb +8 -2
- data/lib/pione/lang/context-transformer.rb +13 -3
- data/lib/pione/lang/context.rb +20 -2
- data/lib/pione/lang/data-expr.rb +1 -1
- data/lib/pione/lang/declaration-parser.rb +18 -4
- data/lib/pione/lang/declaration-transformer.rb +1 -1
- data/lib/pione/lang/declaration.rb +5 -3
- data/lib/pione/lang/definition.rb +1 -0
- data/lib/pione/lang/environment.rb +37 -2
- data/lib/pione/lang/expr.rb +10 -12
- data/lib/pione/lang/feature-expr.rb +1 -1
- data/lib/pione/lang/float.rb +1 -1
- data/lib/pione/lang/integer.rb +1 -1
- data/lib/pione/lang/keyed-sequence.rb +5 -5
- data/lib/pione/lang/lang-exception.rb +9 -5
- data/lib/pione/lang/literal-parser.rb +2 -2
- data/lib/pione/lang/literal-transformer.rb +3 -0
- data/lib/pione/lang/message.rb +3 -3
- data/lib/pione/lang/ordinal-sequence.rb +1 -1
- data/lib/pione/lang/package-expr.rb +1 -1
- data/lib/pione/lang/parameters.rb +1 -1
- data/lib/pione/lang/pione-method.rb +16 -16
- data/lib/pione/lang/rule-expr.rb +6 -1
- data/lib/pione/lang/sequence.rb +8 -3
- data/lib/pione/lang/string.rb +1 -1
- data/lib/pione/lang/ticket-expr.rb +1 -1
- data/lib/pione/lang/type.rb +17 -8
- data/lib/pione/lang/variable.rb +4 -1
- data/lib/pione/literate-action.rb +1 -2
- data/lib/pione/literate-action/document.rb +1 -1
- data/lib/pione/literate-action/handler.rb +22 -7
- data/lib/pione/literate-action/{parser.rb → markdown-parser.rb} +2 -1
- data/lib/pione/log/domain-log.rb +1 -1
- data/lib/pione/model/task-worker-broker-model.rb +1 -1
- data/lib/pione/package/package-database.rb +16 -2
- data/lib/pione/package/package-exception.rb +1 -1
- data/lib/pione/package/package-handler.rb +11 -7
- data/lib/pione/package/package-info.rb +13 -7
- data/lib/pione/package/package-scanner.rb +1 -1
- data/lib/pione/package/scenario-info.rb +2 -2
- data/lib/pione/pnml.rb +6 -0
- data/lib/pione/pnml/compiler.rb +329 -95
- data/lib/pione/pnml/declaration-extractor.rb +90 -0
- data/lib/pione/pnml/input-merge-complement.rb +17 -11
- data/lib/pione/pnml/input-parallelization-complement.rb +10 -6
- data/lib/pione/pnml/input-reduction.rb +5 -5
- data/lib/pione/pnml/invalid-arc-elimination.rb +2 -2
- data/lib/pione/pnml/io-expansion.rb +9 -5
- data/lib/pione/pnml/isolated-element-elimination.rb +2 -2
- data/lib/pione/pnml/label-extractor.rb +258 -0
- data/lib/pione/pnml/net-rewriter.rb +6 -4
- data/lib/pione/pnml/output-decomposition-complement.rb +12 -7
- data/lib/pione/pnml/output-reduction.rb +11 -5
- data/lib/pione/pnml/output-synchronization-complement.rb +11 -7
- data/lib/pione/pnml/parser.rb +106 -0
- data/lib/pione/pnml/pione-model.rb +685 -230
- data/lib/pione/pnml/pnml-model.rb +73 -41
- data/lib/pione/pnml/ticket-instantiation.rb +42 -0
- data/lib/pione/rule-engine/action-handler.rb +212 -135
- data/lib/pione/rule-engine/basic-handler.rb +29 -3
- data/lib/pione/rule-engine/engine-exception.rb +10 -6
- data/lib/pione/system/status.rb +12 -6
- data/lib/pione/version.rb +1 -1
- data/lib/rootage/help.md.erb +45 -0
- data/lib/rootage/help.rb +1 -0
- data/lib/rootage/scenario.rb +20 -2
- data/misc/pione-completion.bash +15 -5
- data/misc/pione-completion.zsh +16 -6
- data/test/command/spec_pione-client.rb +60 -60
- data/test/lang/data/context-parser.yml +12 -1
- data/test/lang/spec_pione-method.rb +7 -6
- data/test/literate-action/spec_handler.rb +19 -13
- data/test/literate-action/{spec_parser.rb → spec_markdown-parser.rb} +3 -3
- data/test/log/spec_message-log-receiver.rb +1 -1
- data/test/package/spec_package-info.rb +1 -1
- data/test/pnml/spec_input-merge-complement.rb +4 -2
- data/test/pnml/spec_input-parallelization-complement.rb +4 -2
- data/test/pnml/spec_input-reduction.rb +8 -4
- data/test/pnml/spec_invalid-arc-elimination.rb +2 -1
- data/test/pnml/spec_io-expansion.rb +4 -2
- data/test/pnml/spec_isolated-element-elimination.rb +2 -1
- data/test/pnml/spec_label-extractor.rb +100 -0
- data/test/pnml/spec_output-decomposition-complement.rb +4 -2
- data/test/pnml/spec_output-reduction.rb +8 -4
- data/test/pnml/spec_output-synchronization-complement.rb +4 -2
- data/test/pnml/spec_pione-element.rb +116 -37
- data/test/pnml/spec_pnml-element.rb +32 -8
- data/test/rule-engine/spec_action-handler.rb +12 -20
- metadata +159 -16
- data/example/CTFCorrection/package.yml +0 -1
- data/example/DeferredChoice/bin/ui.xml +0 -28
@@ -0,0 +1,191 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--PLEASE DO NOT EDIT THIS FILE
|
3
|
+
Created with Workflow PetriNet Designer Version 1.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>>'sum.txt'</text>
|
9
|
+
<graphics>
|
10
|
+
<offset x="810" y="180"/>
|
11
|
+
</graphics>
|
12
|
+
</name>
|
13
|
+
<graphics>
|
14
|
+
<position x="810" y="140"/>
|
15
|
+
<dimension x="40" y="40"/>
|
16
|
+
</graphics>
|
17
|
+
</place>
|
18
|
+
<place id="p3">
|
19
|
+
<name>
|
20
|
+
<text>'sum.txt'.stdout</text>
|
21
|
+
<graphics>
|
22
|
+
<offset x="590" y="180"/>
|
23
|
+
</graphics>
|
24
|
+
</name>
|
25
|
+
<graphics>
|
26
|
+
<position x="590" y="140"/>
|
27
|
+
<dimension x="40" y="40"/>
|
28
|
+
</graphics>
|
29
|
+
</place>
|
30
|
+
<place id="p2">
|
31
|
+
<name>
|
32
|
+
<text>'line_sum*.txt'.all</text>
|
33
|
+
<graphics>
|
34
|
+
<offset x="360" y="180"/>
|
35
|
+
</graphics>
|
36
|
+
</name>
|
37
|
+
<graphics>
|
38
|
+
<position x="360" y="140"/>
|
39
|
+
<dimension x="40" y="40"/>
|
40
|
+
</graphics>
|
41
|
+
</place>
|
42
|
+
<place id="p1">
|
43
|
+
<name>
|
44
|
+
<text><'list.txt'</text>
|
45
|
+
<graphics>
|
46
|
+
<offset x="150" y="180"/>
|
47
|
+
</graphics>
|
48
|
+
</name>
|
49
|
+
<graphics>
|
50
|
+
<position x="150" y="140"/>
|
51
|
+
<dimension x="40" y="40"/>
|
52
|
+
</graphics>
|
53
|
+
<initialMarking>
|
54
|
+
<text>1</text>
|
55
|
+
</initialMarking>
|
56
|
+
</place>
|
57
|
+
<transition id="t3">
|
58
|
+
<name>
|
59
|
+
<text/>
|
60
|
+
<graphics>
|
61
|
+
<offset x="700" y="180"/>
|
62
|
+
</graphics>
|
63
|
+
</name>
|
64
|
+
<graphics>
|
65
|
+
<position x="700" y="140"/>
|
66
|
+
<dimension x="40" y="40"/>
|
67
|
+
</graphics>
|
68
|
+
<toolspecific tool="WoPeD" version="1.0">
|
69
|
+
<time>0</time>
|
70
|
+
<timeUnit>1</timeUnit>
|
71
|
+
<orientation>1</orientation>
|
72
|
+
</toolspecific>
|
73
|
+
</transition>
|
74
|
+
<transition id="t2">
|
75
|
+
<name>
|
76
|
+
<text>Aggregation</text>
|
77
|
+
<graphics>
|
78
|
+
<offset x="470" y="180"/>
|
79
|
+
</graphics>
|
80
|
+
</name>
|
81
|
+
<graphics>
|
82
|
+
<position x="470" y="140"/>
|
83
|
+
<dimension x="40" y="40"/>
|
84
|
+
</graphics>
|
85
|
+
<toolspecific tool="WoPeD" version="1.0">
|
86
|
+
<time>0</time>
|
87
|
+
<timeUnit>1</timeUnit>
|
88
|
+
<orientation>1</orientation>
|
89
|
+
</toolspecific>
|
90
|
+
</transition>
|
91
|
+
<transition id="t1">
|
92
|
+
<name>
|
93
|
+
<text>extern CalcEachLine</text>
|
94
|
+
<graphics>
|
95
|
+
<offset x="230" y="180"/>
|
96
|
+
</graphics>
|
97
|
+
</name>
|
98
|
+
<graphics>
|
99
|
+
<position x="250" y="140"/>
|
100
|
+
<dimension x="40" y="40"/>
|
101
|
+
</graphics>
|
102
|
+
<toolspecific tool="WoPeD" version="1.0">
|
103
|
+
<time>0</time>
|
104
|
+
<timeUnit>1</timeUnit>
|
105
|
+
<orientation>1</orientation>
|
106
|
+
</toolspecific>
|
107
|
+
</transition>
|
108
|
+
<arc id="a1" source="p1" target="t1">
|
109
|
+
<inscription>
|
110
|
+
<text>1</text>
|
111
|
+
</inscription>
|
112
|
+
<graphics/>
|
113
|
+
<toolspecific tool="WoPeD" version="1.0">
|
114
|
+
<probability>1.0</probability>
|
115
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
116
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
117
|
+
</toolspecific>
|
118
|
+
</arc>
|
119
|
+
<arc id="a2" source="t1" target="p2">
|
120
|
+
<inscription>
|
121
|
+
<text>1</text>
|
122
|
+
</inscription>
|
123
|
+
<graphics/>
|
124
|
+
<toolspecific tool="WoPeD" version="1.0">
|
125
|
+
<probability>1.0</probability>
|
126
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
127
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
128
|
+
</toolspecific>
|
129
|
+
</arc>
|
130
|
+
<arc id="a3" source="p2" target="t2">
|
131
|
+
<inscription>
|
132
|
+
<text>1</text>
|
133
|
+
</inscription>
|
134
|
+
<graphics/>
|
135
|
+
<toolspecific tool="WoPeD" version="1.0">
|
136
|
+
<probability>1.0</probability>
|
137
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
138
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
139
|
+
</toolspecific>
|
140
|
+
</arc>
|
141
|
+
<arc id="a4" source="t2" target="p3">
|
142
|
+
<inscription>
|
143
|
+
<text>1</text>
|
144
|
+
</inscription>
|
145
|
+
<graphics/>
|
146
|
+
<toolspecific tool="WoPeD" version="1.0">
|
147
|
+
<probability>1.0</probability>
|
148
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
149
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
150
|
+
</toolspecific>
|
151
|
+
</arc>
|
152
|
+
<arc id="a5" source="p3" target="t3">
|
153
|
+
<inscription>
|
154
|
+
<text>1</text>
|
155
|
+
</inscription>
|
156
|
+
<graphics/>
|
157
|
+
<toolspecific tool="WoPeD" version="1.0">
|
158
|
+
<probability>1.0</probability>
|
159
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
160
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
161
|
+
</toolspecific>
|
162
|
+
</arc>
|
163
|
+
<arc id="a6" source="t3" target="p4">
|
164
|
+
<inscription>
|
165
|
+
<text>1</text>
|
166
|
+
</inscription>
|
167
|
+
<graphics/>
|
168
|
+
<toolspecific tool="WoPeD" version="1.0">
|
169
|
+
<probability>1.0</probability>
|
170
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
171
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
172
|
+
</toolspecific>
|
173
|
+
</arc>
|
174
|
+
<toolspecific tool="WoPeD" version="1.0">
|
175
|
+
<bounds>
|
176
|
+
<position x="2" y="25"/>
|
177
|
+
<dimension x="1425" y="596"/>
|
178
|
+
</bounds>
|
179
|
+
<scale>100</scale>
|
180
|
+
<treeWidthRight>1130</treeWidthRight>
|
181
|
+
<overviewPanelVisible>true</overviewPanelVisible>
|
182
|
+
<treeHeightOverview>100</treeHeightOverview>
|
183
|
+
<treePanelVisible>true</treePanelVisible>
|
184
|
+
<verticalLayout>false</verticalLayout>
|
185
|
+
<resources/>
|
186
|
+
<simulations/>
|
187
|
+
<partnerLinks/>
|
188
|
+
<variables/>
|
189
|
+
</toolspecific>
|
190
|
+
</net>
|
191
|
+
</pnml>
|
data/example/Touch/Touch.pione
CHANGED
@@ -0,0 +1,89 @@
|
|
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="p2">
|
7
|
+
<name>
|
8
|
+
<text>>'touched'</text>
|
9
|
+
<graphics>
|
10
|
+
<offset x="510" y="270"/>
|
11
|
+
</graphics>
|
12
|
+
</name>
|
13
|
+
<graphics>
|
14
|
+
<position x="510" y="230"/>
|
15
|
+
<dimension x="40" y="40"/>
|
16
|
+
</graphics>
|
17
|
+
</place>
|
18
|
+
<place id="p1">
|
19
|
+
<name>
|
20
|
+
<text/>
|
21
|
+
<graphics>
|
22
|
+
<offset x="270" y="270"/>
|
23
|
+
</graphics>
|
24
|
+
</name>
|
25
|
+
<graphics>
|
26
|
+
<position x="270" y="230"/>
|
27
|
+
<dimension x="40" y="40"/>
|
28
|
+
</graphics>
|
29
|
+
<initialMarking>
|
30
|
+
<text>1</text>
|
31
|
+
</initialMarking>
|
32
|
+
</place>
|
33
|
+
<transition id="t1">
|
34
|
+
<name>
|
35
|
+
<text>TouchRule</text>
|
36
|
+
<graphics>
|
37
|
+
<offset x="390" y="270"/>
|
38
|
+
</graphics>
|
39
|
+
</name>
|
40
|
+
<graphics>
|
41
|
+
<position x="390" y="230"/>
|
42
|
+
<dimension x="40" y="40"/>
|
43
|
+
</graphics>
|
44
|
+
<toolspecific tool="WoPeD" version="1.0">
|
45
|
+
<time>0</time>
|
46
|
+
<timeUnit>1</timeUnit>
|
47
|
+
<orientation>1</orientation>
|
48
|
+
</toolspecific>
|
49
|
+
</transition>
|
50
|
+
<arc id="a1" source="p1" target="t1">
|
51
|
+
<inscription>
|
52
|
+
<text>1</text>
|
53
|
+
</inscription>
|
54
|
+
<graphics/>
|
55
|
+
<toolspecific tool="WoPeD" version="1.0">
|
56
|
+
<probability>1.0</probability>
|
57
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
58
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
59
|
+
</toolspecific>
|
60
|
+
</arc>
|
61
|
+
<arc id="a2" source="t1" target="p2">
|
62
|
+
<inscription>
|
63
|
+
<text>1</text>
|
64
|
+
</inscription>
|
65
|
+
<graphics/>
|
66
|
+
<toolspecific tool="WoPeD" version="1.0">
|
67
|
+
<probability>1.0</probability>
|
68
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
69
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
70
|
+
</toolspecific>
|
71
|
+
</arc>
|
72
|
+
<toolspecific tool="WoPeD" version="1.0">
|
73
|
+
<bounds>
|
74
|
+
<position x="2" y="22"/>
|
75
|
+
<dimension x="1905" y="784"/>
|
76
|
+
</bounds>
|
77
|
+
<scale>100</scale>
|
78
|
+
<treeWidthRight>1551</treeWidthRight>
|
79
|
+
<overviewPanelVisible>true</overviewPanelVisible>
|
80
|
+
<treeHeightOverview>100</treeHeightOverview>
|
81
|
+
<treePanelVisible>true</treePanelVisible>
|
82
|
+
<verticalLayout>false</verticalLayout>
|
83
|
+
<resources/>
|
84
|
+
<simulations/>
|
85
|
+
<partnerLinks/>
|
86
|
+
<variables/>
|
87
|
+
</toolspecific>
|
88
|
+
</net>
|
89
|
+
</pnml>
|
@@ -1,21 +1,21 @@
|
|
1
|
-
Rule
|
1
|
+
Rule Sequence
|
2
2
|
output 'o1'
|
3
3
|
Flow
|
4
|
-
rule Init
|
5
|
-
rule A
|
6
4
|
rule B
|
5
|
+
rule A
|
6
|
+
rule Init
|
7
7
|
End
|
8
8
|
|
9
|
-
Rule
|
10
|
-
|
9
|
+
Rule B
|
10
|
+
input 'p1'
|
11
|
+
output 'o1'
|
11
12
|
End
|
12
13
|
|
13
14
|
Rule A
|
14
15
|
input 'i1'
|
15
|
-
output 'p1'
|
16
|
+
output 'p1'
|
16
17
|
End
|
17
18
|
|
18
|
-
Rule
|
19
|
-
|
20
|
-
output 'o1'.touch
|
19
|
+
Rule Init
|
20
|
+
output 'i1'
|
21
21
|
End
|
@@ -0,0 +1,191 @@
|
|
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>>'o1'</text>
|
9
|
+
<graphics>
|
10
|
+
<offset x="850" y="190"/>
|
11
|
+
</graphics>
|
12
|
+
</name>
|
13
|
+
<graphics>
|
14
|
+
<position x="850" y="150"/>
|
15
|
+
<dimension x="40" y="40"/>
|
16
|
+
</graphics>
|
17
|
+
</place>
|
18
|
+
<place id="p3">
|
19
|
+
<name>
|
20
|
+
<text>'p1'</text>
|
21
|
+
<graphics>
|
22
|
+
<offset x="600" y="190"/>
|
23
|
+
</graphics>
|
24
|
+
</name>
|
25
|
+
<graphics>
|
26
|
+
<position x="600" y="150"/>
|
27
|
+
<dimension x="40" y="40"/>
|
28
|
+
</graphics>
|
29
|
+
</place>
|
30
|
+
<place id="p2">
|
31
|
+
<name>
|
32
|
+
<text>'i1'</text>
|
33
|
+
<graphics>
|
34
|
+
<offset x="370" y="190"/>
|
35
|
+
</graphics>
|
36
|
+
</name>
|
37
|
+
<graphics>
|
38
|
+
<position x="370" y="150"/>
|
39
|
+
<dimension x="40" y="40"/>
|
40
|
+
</graphics>
|
41
|
+
</place>
|
42
|
+
<place id="p1">
|
43
|
+
<name>
|
44
|
+
<text/>
|
45
|
+
<graphics>
|
46
|
+
<offset x="150" y="190"/>
|
47
|
+
</graphics>
|
48
|
+
</name>
|
49
|
+
<graphics>
|
50
|
+
<position x="150" y="150"/>
|
51
|
+
<dimension x="40" y="40"/>
|
52
|
+
</graphics>
|
53
|
+
<initialMarking>
|
54
|
+
<text>1</text>
|
55
|
+
</initialMarking>
|
56
|
+
</place>
|
57
|
+
<transition id="t3">
|
58
|
+
<name>
|
59
|
+
<text>B</text>
|
60
|
+
<graphics>
|
61
|
+
<offset x="720" y="190"/>
|
62
|
+
</graphics>
|
63
|
+
</name>
|
64
|
+
<graphics>
|
65
|
+
<position x="720" y="150"/>
|
66
|
+
<dimension x="40" y="40"/>
|
67
|
+
</graphics>
|
68
|
+
<toolspecific tool="WoPeD" version="1.0">
|
69
|
+
<time>0</time>
|
70
|
+
<timeUnit>1</timeUnit>
|
71
|
+
<orientation>1</orientation>
|
72
|
+
</toolspecific>
|
73
|
+
</transition>
|
74
|
+
<transition id="t2">
|
75
|
+
<name>
|
76
|
+
<text>A</text>
|
77
|
+
<graphics>
|
78
|
+
<offset x="480" y="190"/>
|
79
|
+
</graphics>
|
80
|
+
</name>
|
81
|
+
<graphics>
|
82
|
+
<position x="480" y="150"/>
|
83
|
+
<dimension x="40" y="40"/>
|
84
|
+
</graphics>
|
85
|
+
<toolspecific tool="WoPeD" version="1.0">
|
86
|
+
<time>0</time>
|
87
|
+
<timeUnit>1</timeUnit>
|
88
|
+
<orientation>1</orientation>
|
89
|
+
</toolspecific>
|
90
|
+
</transition>
|
91
|
+
<transition id="t1">
|
92
|
+
<name>
|
93
|
+
<text>Init</text>
|
94
|
+
<graphics>
|
95
|
+
<offset x="260" y="190"/>
|
96
|
+
</graphics>
|
97
|
+
</name>
|
98
|
+
<graphics>
|
99
|
+
<position x="260" y="150"/>
|
100
|
+
<dimension x="40" y="40"/>
|
101
|
+
</graphics>
|
102
|
+
<toolspecific tool="WoPeD" version="1.0">
|
103
|
+
<time>0</time>
|
104
|
+
<timeUnit>1</timeUnit>
|
105
|
+
<orientation>1</orientation>
|
106
|
+
</toolspecific>
|
107
|
+
</transition>
|
108
|
+
<arc id="a1" source="p1" target="t1">
|
109
|
+
<inscription>
|
110
|
+
<text>1</text>
|
111
|
+
</inscription>
|
112
|
+
<graphics/>
|
113
|
+
<toolspecific tool="WoPeD" version="1.0">
|
114
|
+
<probability>1.0</probability>
|
115
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
116
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
117
|
+
</toolspecific>
|
118
|
+
</arc>
|
119
|
+
<arc id="a2" source="t1" target="p2">
|
120
|
+
<inscription>
|
121
|
+
<text>1</text>
|
122
|
+
</inscription>
|
123
|
+
<graphics/>
|
124
|
+
<toolspecific tool="WoPeD" version="1.0">
|
125
|
+
<probability>1.0</probability>
|
126
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
127
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
128
|
+
</toolspecific>
|
129
|
+
</arc>
|
130
|
+
<arc id="a3" source="p2" target="t2">
|
131
|
+
<inscription>
|
132
|
+
<text>1</text>
|
133
|
+
</inscription>
|
134
|
+
<graphics/>
|
135
|
+
<toolspecific tool="WoPeD" version="1.0">
|
136
|
+
<probability>1.0</probability>
|
137
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
138
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
139
|
+
</toolspecific>
|
140
|
+
</arc>
|
141
|
+
<arc id="a4" source="t2" target="p3">
|
142
|
+
<inscription>
|
143
|
+
<text>1</text>
|
144
|
+
</inscription>
|
145
|
+
<graphics/>
|
146
|
+
<toolspecific tool="WoPeD" version="1.0">
|
147
|
+
<probability>1.0</probability>
|
148
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
149
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
150
|
+
</toolspecific>
|
151
|
+
</arc>
|
152
|
+
<arc id="a5" source="p3" target="t3">
|
153
|
+
<inscription>
|
154
|
+
<text>1</text>
|
155
|
+
</inscription>
|
156
|
+
<graphics/>
|
157
|
+
<toolspecific tool="WoPeD" version="1.0">
|
158
|
+
<probability>1.0</probability>
|
159
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
160
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
161
|
+
</toolspecific>
|
162
|
+
</arc>
|
163
|
+
<arc id="a6" source="t3" target="p4">
|
164
|
+
<inscription>
|
165
|
+
<text>1</text>
|
166
|
+
</inscription>
|
167
|
+
<graphics/>
|
168
|
+
<toolspecific tool="WoPeD" version="1.0">
|
169
|
+
<probability>1.0</probability>
|
170
|
+
<displayProbabilityOn>false</displayProbabilityOn>
|
171
|
+
<displayProbabilityPosition x="500.0" y="0.0"/>
|
172
|
+
</toolspecific>
|
173
|
+
</arc>
|
174
|
+
<toolspecific tool="WoPeD" version="1.0">
|
175
|
+
<bounds>
|
176
|
+
<position x="2" y="22"/>
|
177
|
+
<dimension x="1905" y="784"/>
|
178
|
+
</bounds>
|
179
|
+
<scale>100</scale>
|
180
|
+
<treeWidthRight>1551</treeWidthRight>
|
181
|
+
<overviewPanelVisible>true</overviewPanelVisible>
|
182
|
+
<treeHeightOverview>100</treeHeightOverview>
|
183
|
+
<treePanelVisible>true</treePanelVisible>
|
184
|
+
<verticalLayout>false</verticalLayout>
|
185
|
+
<resources/>
|
186
|
+
<simulations/>
|
187
|
+
<partnerLinks/>
|
188
|
+
<variables/>
|
189
|
+
</toolspecific>
|
190
|
+
</net>
|
191
|
+
</pnml>
|