104 lines
8.8 KiB
Text
104 lines
8.8 KiB
Text
|
<?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<Slave1>+R1<Slave2>" 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<All>" 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"/>
|
||
|
<color-class definition="{ID1} is Slave1 + {ID2} is Slave2" name="Slave" x="3.0" y="3.0"/>
|
||
|
<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"/>
|
||
|
<transition guard="((m in M1) && (id in Slave1)) || ((m in M2) && (id in Slave2))" name="T55" nservers-x="0.5" type="EXP" x="35.55" y="16.0"/>
|
||
|
</nodes>
|
||
|
<edges>
|
||
|
<arc head="S2_a" kind="OUTPUT" mult="<m,id>" tail="T4"/>
|
||
|
<arc head="T4" kind="INPUT" mult="<m,id>" tail="S1_a"/>
|
||
|
<arc head="T6" kind="INPUT" mult="<m,id>" tail="S2_a">
|
||
|
<point x="36.0" y="32.5"/>
|
||
|
</arc>
|
||
|
<arc head="S2_b" kind="OUTPUT" mult="<m,id>" tail="T5"/>
|
||
|
<arc head="T5" kind="INPUT" mult="<m,id>" tail="S1_b"/>
|
||
|
<arc head="T6" kind="INPUT" mult="<m,id>" tail="S2_b"/>
|
||
|
<arc head="S3" kind="OUTPUT" mult="<id>" mult-x="2.0" mult-y="0.0" tail="T6"/>
|
||
|
<arc head="Reset_s" kind="INPUT" mult="<id>" tail="S3">
|
||
|
<point x="48.0" y="36.0"/>
|
||
|
<point x="48.0" y="12.5"/>
|
||
|
</arc>
|
||
|
<arc head="S0" kind="OUTPUT" mult="<id>" tail="Reset_s"/>
|
||
|
<arc head="T1" kind="INPUT" mult="<m>" mult-x="0.5" tail="Richiesta"/>
|
||
|
<arc head="Attesa" kind="OUTPUT" mult="<m>" mult-k="1.2018554687500003" tail="T1">
|
||
|
<point x="11.0" y="19.0"/>
|
||
|
</arc>
|
||
|
<arc head="T2" kind="INPUT" mult="<m>" tail="Attesa"/>
|
||
|
<arc head="Elabora" kind="OUTPUT" mult="<m>" tail="T2"/>
|
||
|
<arc head="Buffer_input" kind="OUTPUT" mult="<m>" tail="T1"/>
|
||
|
<arc head="Buffer_output" kind="OUTPUT" mult="<m>" 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="<m>" tail="Elabora"/>
|
||
|
<arc head="Richiesta" kind="OUTPUT" mult="<m>" mult-y="0.01853809374530968" tail="T0">
|
||
|
<point x="5.0" y="11.0"/>
|
||
|
</arc>
|
||
|
<arc head="T2" kind="INPUT" mult="<m>" tail="Buffer_output">
|
||
|
<point x="22.0" y="27.0"/>
|
||
|
</arc>
|
||
|
<arc head="S1_a" kind="OUTPUT" mult="<m,id>" tail="T55"/>
|
||
|
<arc head="S1_b" kind="OUTPUT" mult="<m,id>" tail="T55"/>
|
||
|
<arc head="T55" kind="INPUT" mult="<id>" tail="S0"/>
|
||
|
<arc head="T55" kind="INPUT" mult="<m>" 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"/>
|
||
|
</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"/>
|
||
|
<assignment bind-model="SINGLE_VALUE" single-val="1" type="INTEGER" varname="n"/>
|
||
|
<assignment bind-model="SINGLE_VALUE" single-val="1" type="INTEGER" varname="R1"/>
|
||
|
</assignments>
|
||
|
<greatspn mode="SWN_SYM"/>
|
||
|
<formulas>
|
||
|
<formula language="STAT"/>
|
||
|
<formula language="RG"/>
|
||
|
</formulas>
|
||
|
</measures>
|
||
|
<resource-list>
|
||
|
<document-log uuid="fb288565-cb5a-47e3-8b86-2f9f2339b566">rO0ABXNyABRqYXZhLnV0aWwuTGlua2VkTGlzdAwpU11KYIgiAwAAeHB3BAAAACd0AJobWzBtRVhFQzogL3Vzci9sb2NhbC9HcmVhdFNQTi9iaW4vV05TUkcgIi9ob21lL3VzZXIvVU5JVE8vYW5ubzMvdnBjL2NvbnNlZ25lLzIuYi9SZXRlRi1TUkcgb2YgQ1BOLnNvbHV0aW9uL0NQTiIgLW1wYXIgTiAxIC1tcGFyIFIxIDEgLW1wYXIgbiAxICAtZ3VpLXN0YXQKdAArT3ZlcnJpZGluZyBtYXJraW5nIHBhcmFtZXRlciBOIHRvIHZhbHVlIDEuCnQALE92ZXJyaWRpbmcgbWFya2luZyBwYXJhbWV0ZXIgUjEgdG8gdmFsdWUgMS4KdAArT3ZlcnJpZGluZyBtYXJraW5nIHBhcmFtZXRl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fgArcQB+ACtxAH4AK3EAfgArcQB+ACtxAH4AK3EAfgArcQB+ACtxAH4AK3EAfgArcQB+ACtxAH4AK3EAfgArcQB+ACtxAH4AK3EAfgArcQB+ACtxAH4AK3EAfgArcQB+ACtxAH4AK3EAfgArcQB+ACt4</document-log>
|
||
|
</resource-list>
|
||
|
</project>
|