UniTO/anno3/vpc/consegne/2.b/ReteF.PNPRO

107 lines
17 KiB
Text
Raw Normal View History

2020-05-05 15:06:01 +02:00
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This project file has been saved by the New GreatSPN Editor, v.100 --><project name="ReteE" version="121">
<gspn name="CPN" show-fluid-cmd="false" show-timed-cmd="false" view-rates="false" zoom="125">
<nodes>
<place domain="Slave" label-y="-2.0" marking="R1&lt;Slave1&gt;+R1&lt;Slave2&gt;" name="S0" x="35.0" y="11.0"/>
<place domain="D" label-x="0.5" name="S1_a" x="29.0" y="18.0"/>
<place domain="D" name="S1_b" x="41.0" y="18.0"/>
<place domain="D" label-x="-4.5" label-y="-1.5" name="S2_b" x="41.0" y="28.0"/>
<place domain="Slave" name="S3" x="35.0" y="35.0"/>
<place domain="D" label-x="4.5" label-y="0.0" name="S2_a" x="29.0" y="28.0"/>
<transition label-x="2.0" label-y="0.0" name="T4" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="29.55" y="23.0"/>
<transition label-x="-2.0" label-y="0.0" name="T5" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="41.55" y="23.0"/>
<transition label-y="-2.0" name="T6" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="35.55" y="32.0"/>
<transition name="Reset_s" nservers-x="0.5" type="EXP" x="40.55" y="11.0"/>
<transition label-x="1.0" label-y="-2.0" name="T1" nservers-x="0.5" rotation="4.71238898038469" type="EXP" x="10.55" y="15.0"/>
<place domain="Master" label-x="-0.5" label-y="2.0" marking="N&lt;All&gt;" name="Richiesta" x="10.0" y="10.0"/>
<place domain="Master" label-y="2.0" name="Attesa" x="10.0" y="21.0"/>
<place domain="Master" label-y="2.0" name="Elabora" x="10.0" y="31.0"/>
<transition name="T2" nservers-x="0.5" rotation="4.71238898038469" type="EXP" x="10.55" y="26.0"/>
<transition name="T0" nservers-x="0.5" type="EXP" x="4.55" y="31.0"/>
<place domain="Master" label-y="-2.0" name="Buffer_input" x="21.0" y="15.0"/>
<place domain="Master" name="Buffer_output" x="21.0" y="32.0"/>
<color-class definition="{m1,m3} is M1 + {m2} is M2" name="Master" x="3.3125" y="5.0"/>
<color-var domain="Master" name="m" x="25.9375" y="9.0"/>
<template last-binding="1" name="N" type="INTEGER" x="3.0" y="2.0"/>
<template last-binding="3" name="n" type="INTEGER" x="5.0" y="2.0"/>
2020-05-05 15:36:21 +02:00
<color-class definition="s{1..n} is Slave1 + r{1..n2} is Slave2" name="Slave" x="3.0" y="3.0"/>
2020-05-05 15:06:01 +02:00
<color-var domain="Slave" name="id" x="21.9375" y="3.0"/>
<color-class definition="Master*Slave" name="D" x="3.125" y="7.0"/>
<text-box bold="true" border-color="none" fill-color="none" name="__textBox0" shadow="true" shape="ROUND_RECTANGLE" text-color="#000000" x="33.0" y="4.0">Condizione booleana FORK:</text-box>
<template last-binding="1" name="R1" type="INTEGER" x="7.0" y="2.0"/>
2020-05-05 15:36:21 +02:00
<transition guard="((m in M1) &amp;&amp; (id in Slave1)) || ((m in M2) &amp;&amp; (id in Slave2))" guard-x="1.5" guard-y="-10.5" name="T55" nservers-x="0.5" type="EXP" x="35.55" y="16.0"/>
<template name="n2" type="INTEGER" x="9.0" y="2.0"/>
2020-05-05 15:06:01 +02:00
</nodes>
<edges>
<arc head="S2_a" kind="OUTPUT" mult="&lt;m,id&gt;" tail="T4"/>
<arc head="T4" kind="INPUT" mult="&lt;m,id&gt;" tail="S1_a"/>
<arc head="T6" kind="INPUT" mult="&lt;m,id&gt;" tail="S2_a">
<point x="36.0" y="32.5"/>
</arc>
<arc head="S2_b" kind="OUTPUT" mult="&lt;m,id&gt;" tail="T5"/>
<arc head="T5" kind="INPUT" mult="&lt;m,id&gt;" tail="S1_b"/>
<arc head="T6" kind="INPUT" mult="&lt;m,id&gt;" tail="S2_b"/>
<arc head="S3" kind="OUTPUT" mult="&lt;id&gt;" mult-x="2.0" mult-y="0.0" tail="T6"/>
<arc head="Reset_s" kind="INPUT" mult="&lt;id&gt;" tail="S3">
<point x="48.0" y="36.0"/>
<point x="48.0" y="12.5"/>
</arc>
<arc head="S0" kind="OUTPUT" mult="&lt;id&gt;" tail="Reset_s"/>
<arc head="T1" kind="INPUT" mult="&lt;m&gt;" mult-x="0.5" tail="Richiesta"/>
<arc head="Attesa" kind="OUTPUT" mult="&lt;m&gt;" mult-k="1.2018554687500003" tail="T1">
<point x="11.0" y="19.0"/>
</arc>
<arc head="T2" kind="INPUT" mult="&lt;m&gt;" tail="Attesa"/>
<arc head="Elabora" kind="OUTPUT" mult="&lt;m&gt;" tail="T2"/>
<arc head="Buffer_input" kind="OUTPUT" mult="&lt;m&gt;" tail="T1"/>
<arc head="Buffer_output" kind="OUTPUT" mult="&lt;m&gt;" mult-k="0.8393554687500001" tail="T6">
<point x="28.0" y="33.0"/>
<point x="28.0" y="33.0"/>
<point x="28.5" y="33.0"/>
</arc>
<arc head="T0" kind="INPUT" mult="&lt;m&gt;" tail="Elabora"/>
<arc head="Richiesta" kind="OUTPUT" mult="&lt;m&gt;" mult-y="0.01853809374530968" tail="T0">
<point x="5.0" y="11.0"/>
</arc>
<arc head="T2" kind="INPUT" mult="&lt;m&gt;" tail="Buffer_output">
<point x="22.0" y="27.0"/>
</arc>
<arc head="S1_a" kind="OUTPUT" mult="&lt;m,id&gt;" tail="T55"/>
<arc head="S1_b" kind="OUTPUT" mult="&lt;m,id&gt;" tail="T55"/>
<arc head="T55" kind="INPUT" mult="&lt;id&gt;" tail="S0"/>
<arc head="T55" kind="INPUT" mult="&lt;m&gt;" tail="Buffer_input">
<point x="32.0" y="16.0"/>
</arc>
</edges>
</gspn>
<measures gspn-name="CPN" name="RG of CPN" rapid-type="BUILD_RG" simplified-UI="true">
<assignments>
<assignment bind-model="SINGLE_VALUE" single-val="3" type="INTEGER" varname="N"/>
<assignment bind-model="SINGLE_VALUE" single-val="3" type="INTEGER" varname="n"/>
<assignment bind-model="SINGLE_VALUE" single-val="1" type="INTEGER" varname="R1"/>
2020-05-05 15:36:21 +02:00
<assignment bind-model="SINGLE_VALUE" single-val="" type="INTEGER" varname="n2"/>
2020-05-05 15:06:01 +02:00
</assignments>
<greatspn/>
<formulas>
<formula language="STAT"/>
<formula language="RG"/>
</formulas>
</measures>
<measures gspn-name="CPN" name="SRG of CPN" rapid-type="BUILD_SYMRG" simplified-UI="true">
<assignments>
<assignment bind-model="SINGLE_VALUE" single-val="1" type="INTEGER" varname="N"/>
2020-05-05 15:36:21 +02:00
<assignment bind-model="RANGE" range-from="1" range-step="1" range-to="4" type="INTEGER" varname="n"/>
2020-05-05 15:06:01 +02:00
<assignment bind-model="SINGLE_VALUE" single-val="1" type="INTEGER" varname="R1"/>
2020-05-05 15:36:21 +02:00
<assignment bind-model="SINGLE_VALUE" single-val="n+1" type="INTEGER" varname="n2"/>
2020-05-05 15:06:01 +02:00
</assignments>
<greatspn mode="SWN_SYM"/>
<formulas>
<formula language="STAT"/>
<formula language="RG"/>
</formulas>
</measures>
<resource-list>
2020-05-05 15:36:21 +02:00
<document-log uuid="68cb446d-e595-45b6-a397-d2aa15a19775">rO0ABXNyABRqYXZhLnV0aWwuTGlua2VkTGlzdAwpU11KYIgiAwAAeHB3BAAAAKN0AKUbWzBtRVhFQzogL3Vzci9sb2NhbC9HcmVhdFNQTi9iaW4vV05TUkcgIi9ob21lL3VzZXIvVU5JVE8vYW5ubzMvdnBjL2NvbnNlZ25lLzIuYi9SZXRlRi1TUkcgb2YgQ1BOLnNvbHV0aW9uL0NQTiIgLW1wYXIgTiAxIC1tcGFyIFIxIDEgLW1wYXIgbiAxIC1tcGFyIG4yIDIgIC1ndWktc3RhdAp0ACtPdmVycmlkaW5nIG1hcmtpbmcgcGFyYW1ldGVyIE4gdG8gdmFsdWUgMS4KdAAsT3ZlcnJpZGluZyBtYXJraW5nIHBhcmFtZXRlciBSMSB0byB2YWx1ZSAxLgp0ACtPdmVycmlkaW5nIG1hcmtpbmcgcGFyYW1ldGVyIG4gdG8gdmFsdWUgMS4KdAAsT3ZlcnJpZGlu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