UniTO/anno2/YearI/SecondSem/VPC/labs/MS-PT/ReteC.PNPRO

211 lines
23 KiB
Text
Raw Normal View History

2018-11-22 13:09:11 +01: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="ReteC" version="121">
<gspn name="PT" show-color-cmd="false" show-fluid-cmd="false" show-timed-cmd="false" view-rates="false" zoom="75">
<nodes>
<place label-x="3.5" label-y="1.0" marking="N" name="S1_Attesa" x="11.0" y="13.0"/>
<place label-x="-3.5" label-y="0.5" marking="N" name="S2_Attesa" x="57.0" y="13.0"/>
<place label-x="3.0" label-y="1.0" name="Child1" x="5.0" y="20.0"/>
<place label-x="-2.5" label-y="1.0" name="Child2" x="17.0" y="20.0"/>
<place label-x="4.0" label-y="0.0" name="S2_Richieste" x="57.0" y="22.0"/>
<place label-x="4.0" label-y="0.0" name="S2_Risultati" x="57.0" y="30.0"/>
<place name="S2_Fine" x="57.0" y="38.0"/>
<place name="C2_Fine" x="17.0" y="30.0"/>
<place name="S1_Fine" x="11.0" y="37.0"/>
<place name="C1_Fine" x="5.0" y="30.0"/>
<transition label-x="-3.0" label-y="-0.5" name="Fork" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="11.55" y="17.0"/>
<transition label-x="3.0" name="C1_Processa" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="5.55" y="25.0"/>
<transition label-x="-3.0" name="C2_Processa" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="17.55" y="25.0"/>
<transition name="Join" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="11.55" y="34.0"/>
<transition label-x="3.0" label-y="0.0" name="Receive" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="57.55" y="17.0"/>
<transition label-x="4.0" label-y="0.0" name="S2_Processa" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="57.55" y="26.0"/>
<transition label-x="3.0" label-y="0.0" name="Send" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="57.55" y="34.0"/>
<transition label-y="-2.0" name="S1_Return" nservers-x="0.5" type="EXP" x="7.55" y="13.0"/>
<transition name="S2_Return" nservers-x="0.5" type="EXP" x="62.55" y="13.0"/>
<transition label-x="2.0" name="M2_S1" nservers-x="0.5" type="EXP" x="20.55" y="23.0"/>
<transition label-x="-2.0" name="M2_S2" nservers-x="0.5" type="EXP" x="49.55" y="23.0"/>
<place name="P16" x="16.0" y="17.0"/>
<place name="P17" x="52.0" y="17.0"/>
<transition name="M1_Dispatch" nservers-x="0.5" type="EXP" x="31.55" y="3.0"/>
<place marking="N" name="M1_Richiesta" x="27.0" y="3.0"/>
<place name="M1_Attesa" x="35.0" y="3.0"/>
<place name="M1_Risultato" x="42.0" y="3.0"/>
<transition name="M1_Ottieni_Res" nservers-x="0.5" type="EXP" x="38.55" y="3.0"/>
<transition label-x="-3.0" label-y="1.0" name="M1_Return" nservers-x="0.5" type="EXP" x="24.55" y="3.0"/>
<transition name="M2_Dispatch" nservers-x="0.5" type="EXP" x="31.55" y="46.0"/>
<place marking="N" name="M2_Richiesta" x="27.0" y="46.0"/>
<place name="M2_Attesa" x="35.0" y="46.0"/>
<place name="M2_Risultato" x="42.0" y="46.0"/>
<transition name="M2_Ottieni_Res" nservers-x="0.5" type="EXP" x="38.55" y="46.0"/>
<transition name="M2_Return" nservers-x="0.5" type="EXP" x="24.55" y="46.0"/>
<place name="M2_Buffer" x="31.0" y="23.0"/>
<place name="M1_Buffer" x="31.0" y="12.0"/>
<transition name="M1_S1" nservers-x="0.5" type="EXP" x="20.55" y="12.0"/>
<transition name="M1_S2" nservers-x="0.5" type="EXP" x="49.55" y="12.0"/>
<place label-x="-3.5" label-y="0.0" name="M1_Req1" x="16.0" y="9.0"/>
<place label-x="3.0" label-y="0.0" name="M1_Req2" x="52.0" y="9.0"/>
<place label-x="0.5" name="M2_Req1" x="20.0" y="29.0"/>
<place name="M2_Req2" x="49.0" y="29.0"/>
<place name="M1_Req" x="38.0" y="9.0"/>
<transition label-y="-2.0" name="Req_S1M1" nservers-x="0.5" type="EXP" x="33.55" y="9.0"/>
<transition name="Req_S2M1" nservers-x="0.5" type="EXP" x="44.55" y="9.0"/>
<place label-y="-3.0" name="M2_Req" x="38.0" y="29.0"/>
<transition name="Req_S1M2" nservers-x="0.5" type="EXP" x="35.55" y="29.0"/>
<transition name="Req_S2M2" nservers-x="0.5" type="EXP" x="41.55" y="29.0"/>
<place name="S1_Buf" x="11.0" y="44.0"/>
<place name="S2_Buf" x="58.0" y="46.0"/>
<template last-binding="1" name="N" type="INTEGER" x="10.0" y="3.0"/>
</nodes>
<edges>
<arc head="Fork" kind="INPUT" tail="S1_Attesa"/>
<arc head="Child1" kind="OUTPUT" tail="Fork"/>
<arc head="C1_Fine" kind="OUTPUT" tail="C1_Processa"/>
<arc head="C1_Processa" kind="INPUT" tail="Child1"/>
<arc head="Join" kind="INPUT" tail="C1_Fine">
<point x="12.0" y="34.5"/>
</arc>
<arc head="Child2" kind="OUTPUT" tail="Fork"/>
<arc head="C2_Fine" kind="OUTPUT" tail="C2_Processa"/>
<arc head="C2_Processa" kind="INPUT" tail="Child2"/>
<arc head="Join" kind="INPUT" tail="C2_Fine"/>
<arc head="S1_Fine" kind="OUTPUT" tail="Join"/>
<arc head="Receive" kind="INPUT" tail="S2_Attesa"/>
<arc head="S2_Richieste" kind="OUTPUT" tail="Receive"/>
<arc head="S2_Processa" kind="INPUT" tail="S2_Richieste"/>
<arc head="S2_Risultati" kind="OUTPUT" tail="S2_Processa"/>
<arc head="Send" kind="INPUT" tail="S2_Risultati"/>
<arc head="S2_Fine" kind="OUTPUT" tail="Send"/>
<arc head="S1_Return" kind="INPUT" tail="S1_Fine">
<point x="4.5" y="37.5"/>
<point x="4.5" y="14.0"/>
</arc>
<arc head="S1_Attesa" kind="OUTPUT" tail="S1_Return"/>
<arc head="S2_Return" kind="INPUT" tail="S2_Fine">
<point x="66.0" y="39.0"/>
<point x="66.0" y="14.0"/>
</arc>
<arc head="S2_Attesa" kind="OUTPUT" tail="S2_Return"/>
<arc head="Fork" kind="INPUT" tail="P16"/>
<arc head="Receive" kind="INPUT" tail="P17"/>
<arc head="M1_Richiesta" kind="OUTPUT" tail="M1_Return"/>
<arc head="M1_Dispatch" kind="INPUT" tail="M1_Richiesta"/>
<arc head="M1_Attesa" kind="OUTPUT" tail="M1_Dispatch"/>
<arc head="M1_Ottieni_Res" kind="INPUT" tail="M1_Attesa"/>
<arc head="M1_Risultato" kind="OUTPUT" tail="M1_Ottieni_Res"/>
<arc head="M1_Return" kind="INPUT" tail="M1_Risultato">
<point x="46.5" y="4.0"/>
<point x="46.5" y="2.0"/>
<point x="23.0" y="2.0"/>
<point x="23.0" y="4.0"/>
</arc>
<arc head="M2_Richiesta" kind="OUTPUT" tail="M2_Return"/>
<arc head="M2_Dispatch" kind="INPUT" tail="M2_Richiesta"/>
<arc head="M2_Attesa" kind="OUTPUT" tail="M2_Dispatch"/>
<arc head="M2_Ottieni_Res" kind="INPUT" tail="M2_Attesa"/>
<arc head="M2_Risultato" kind="OUTPUT" tail="M2_Ottieni_Res"/>
<arc head="M2_Return" kind="INPUT" tail="M2_Risultato">
<point x="46.0" y="47.0"/>
<point x="46.0" y="49.5"/>
<point x="23.5" y="49.5"/>
<point x="23.5" y="47.0"/>
</arc>
<arc head="M2_Buffer" kind="OUTPUT" tail="M2_Dispatch"/>
<arc head="M2_S2" kind="INPUT" tail="M2_Buffer">
<point x="42.5" y="24.0"/>
<point x="45.0" y="24.0"/>
</arc>
<arc head="M2_S1" kind="INPUT" tail="M2_Buffer">
<point x="27.0" y="24.0"/>
<point x="25.0" y="24.0"/>
</arc>
<arc head="M1_S1" kind="INPUT" tail="M1_Buffer"/>
<arc head="M1_S2" kind="INPUT" tail="M1_Buffer"/>
<arc head="P16" kind="OUTPUT" tail="M1_S1"/>
<arc head="P17" kind="OUTPUT" tail="M1_S2"/>
<arc head="M1_Buffer" kind="OUTPUT" tail="M1_Dispatch"/>
<arc head="M2_Req1" kind="OUTPUT" tail="M2_S1"/>
<arc head="M2_Req2" kind="OUTPUT" tail="M2_S2">
<point x="50.0" y="30.5"/>
</arc>
<arc head="M1_Req1" kind="OUTPUT" tail="M1_S1">
<point x="17.0" y="13.0"/>
</arc>
<arc head="M1_Req2" kind="OUTPUT" tail="M1_S2">
<point x="53.0" y="13.0"/>
</arc>
<arc head="Req_S1M1" kind="INPUT" tail="M1_Req1"/>
<arc head="M1_Req" kind="OUTPUT" tail="Req_S1M1"/>
<arc head="Req_S2M1" kind="INPUT" tail="M1_Req2"/>
<arc head="M1_Req" kind="OUTPUT" tail="Req_S2M1"/>
<arc head="M1_Ottieni_Res" kind="INPUT" tail="M1_Req"/>
<arc head="Req_S1M2" kind="INPUT" tail="M2_Req1"/>
<arc head="Req_S2M2" kind="INPUT" tail="M2_Req2"/>
<arc head="M2_Req" kind="OUTPUT" tail="Req_S1M2"/>
<arc head="M2_Req" kind="OUTPUT" tail="Req_S2M2"/>
<arc head="M2_Ottieni_Res" kind="INPUT" tail="M2_Req"/>
<arc head="S1_Buf" kind="OUTPUT" mult-k="0.49990234375" tail="Join">
<point x="16.5" y="35.0"/>
<point x="16.5" y="41.5"/>
<point x="12.0" y="41.5"/>
</arc>
<arc head="S2_Buf" kind="OUTPUT" mult-k="0.50009765625" tail="Send">
<point x="54.0" y="35.0"/>
<point x="54.0" y="42.5"/>
<point x="59.0" y="42.5"/>
</arc>
<arc head="Req_S1M2" kind="INPUT" mult-k="0.51513671875" tail="S1_Buf">
<point x="17.5" y="45.0"/>
<point x="24.0" y="31.0"/>
</arc>
<arc head="Req_S2M2" kind="INPUT" mult-k="0.7186523437500001" tail="S2_Buf">
<point x="53.0" y="47.0"/>
<point x="48.0" y="34.0"/>
<point x="47.0" y="31.5"/>
</arc>
<arc head="Req_S1M1" kind="INPUT" tail="S1_Buf">
<point x="5.0" y="42.0"/>
<point x="2.5" y="41.0"/>
<point x="2.5" y="6.0"/>
<point x="17.0" y="6.0"/>
<point x="20.0" y="9.0"/>
</arc>
<arc head="Req_S2M1" kind="INPUT" tail="S2_Buf">
<point x="66.0" y="42.0"/>
<point x="67.5" y="41.0"/>
<point x="67.5" y="6.0"/>
<point x="52.0" y="6.0"/>
<point x="50.5" y="9.5"/>
</arc>
<arc head="P16" kind="OUTPUT" tail="M2_S1">
<point x="21.0" y="18.0"/>
</arc>
<arc head="P17" kind="OUTPUT" tail="M2_S2">
<point x="50.0" y="18.0"/>
</arc>
</edges>
</gspn>
<measures gspn-name="PT" log-uuid="84d550f1-67d7-487a-9d29-a1799efa135c" name="RS using DD of PT" rapid-type="BUILD_RS_MDD" simplified-UI="true">
<assignments>
<assignment bind-model="SINGLE_VALUE" single-val="4" type="INTEGER" varname="N"/>
</assignments>
<rgmedd2/>
<formulas>
<formula language="STAT">
<result-table>
<stat-result name="STAT">
<bindings>
<binding name="N" value="4"/>
</bindings>
<stat key="build_time" value="0.10919 seconds."/>
<stat key="num_rs_nodes" value="1566"/>
<stat key="num_tangible_markings" value="22583430"/>
<stat key="total_firings" value="189277330"/>
</stat-result>
</result-table>
</formula>
</formulas>
</measures>
<resource-list>
<document-log uuid="84d550f1-67d7-487a-9d29-a1799efa135c">rO0ABXNyABRqYXZhLnV0aWwuTGlua2VkTGlzdAwpU11KYIgiAwAAeHB3BAAAAKx0AIsbWzBtRVhFQzogL3Vzci9sb2NhbC9HcmVhdFNQTi9iaW4vcGludmFyICIvaG9tZS91c2VyL3VuaXRvL1llYXJJL1NlY29uZFNlbS9WUEMvUmV0ZUMtUlMgdXNpbmcgREQgb2YgUFQuc29sdXRpb24vUFQiIC1kZXRlY3QtZXhwICAtbXBhciBOIDQKdAABCnQAY1BsYWNlIGludmFyaWFudHMgZm9yIG5ldCAvaG9tZS91c2VyL3VuaXRvL1llYXJJL1NlY29uZFNlbS9WUEMvUmV0ZUMtUlMgdXNpbmcgREQgb2YgUFQuc29sdXRpb24vUFQ6CnQAAQp0AKggICBTMl9SaWNoaWVzdGUgICBTMl9SaXN1bHRhdG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IgTiA0IC1ndWktc3RhdAp0ACtPdmVycmlkaW5nIG1hcmtpbmcgcGFyYW1ldGVyIE4gdG8gdmFsdWUgNC4KdABQPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQp0ACdVU0UgOiAgUkdNRUREMiAgPG5ldG5hbWU+IFtvcHRpb25zLi4uXQp0AAEKdAAVT3B0aW9ucyBkZXNjcmlwdGlvbjoKdAAqICAtQyAgICAgICAgICAgZW5hYmxlIENUTCBtb2RlbCBjaGVja2luZy4KdABKICAtY
</resource-list>
</project>