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

101 lines
16 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="Rete A" version="121">
<gspn name="PT" show-color-cmd="false" show-fluid-cmd="false" show-timed-cmd="false" view-rates="false">
<nodes>
<place label-x="4.0" label-y="-1.0" marking="2*nSlave" name="Slave_Attesa" x="7.0" y="2.0"/>
<place label-x="1.5" label-y="2.0" name="Child1" x="1.0" y="9.0"/>
<place label-x="2.0" label-y="2.0" name="Child2" x="13.0" y="9.0"/>
<place name="Fine_C2" x="13.0" y="19.0"/>
<place name="Slave_Fine" x="7.0" y="26.0"/>
<place name="Fine_C1" x="1.0" y="19.0"/>
<transition label-x="-2.5" label-y="0.0" name="Fork" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="7.55" y="6.0"/>
<transition label-x="3.0" label-y="1.0" name="Processa_C1" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="1.55" y="14.0"/>
<transition label-x="3.0" label-y="1.5" name="Processa_C2" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="13.55" y="14.0"/>
<transition label-x="-2.5" label-y="0.0" name="Join" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="7.55" y="23.0"/>
<place label-x="-2.5" label-y="-2.0" marking="2*nMaster" name="M_Richiesta" x="25.0" y="6.0"/>
<place label-x="-3.5" label-y="0.5" name="M_Attesa" x="25.0" y="13.0"/>
<place name="M_Risutato" x="25.0" y="22.0"/>
<transition label-x="-2.0" name="Dispatch" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="25.55" y="10.0"/>
<transition label-x="5.0" label-y="0.0" name="Ottieni_Risultato" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="25.55" y="18.0"/>
<transition label-x="3.5" label-y="0.0" name="M_Return" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="30.55" y="13.0"/>
<transition label-y="-2.0" name="Slave_Return" nservers-x="0.5" type="EXP" x="3.55" y="2.0"/>
<place label-x="1.5" label-y="-2.0" name="Buffer_Richiesta" x="12.0" y="6.0"/>
<place name="Buffer_Risultato" x="22.0" y="26.0"/>
<template last-binding="1" name="nMaster" type="INTEGER" x="25.0" y="1.0"/>
<template last-binding="1" name="nSlave" type="INTEGER" x="25.0" y="3.0"/>
</nodes>
<edges>
<arc head="Fork" kind="INPUT" tail="Slave_Attesa"/>
<arc head="Child1" kind="OUTPUT" tail="Fork"/>
<arc head="Fine_C1" kind="OUTPUT" tail="Processa_C1"/>
<arc head="Processa_C1" kind="INPUT" tail="Child1"/>
<arc head="Join" kind="INPUT" tail="Fine_C1">
<point x="8.0" y="23.5"/>
</arc>
<arc head="Child2" kind="OUTPUT" tail="Fork"/>
<arc head="Fine_C2" kind="OUTPUT" tail="Processa_C2"/>
<arc head="Processa_C2" kind="INPUT" tail="Child2"/>
<arc head="Join" kind="INPUT" tail="Fine_C2"/>
<arc head="Slave_Fine" kind="OUTPUT" tail="Join"/>
<arc head="Dispatch" kind="INPUT" tail="M_Richiesta"/>
<arc head="M_Attesa" kind="OUTPUT" tail="Dispatch"/>
<arc head="Ottieni_Risultato" kind="INPUT" tail="M_Attesa"/>
<arc head="M_Risutato" kind="OUTPUT" tail="Ottieni_Risultato"/>
<arc head="M_Return" kind="INPUT" tail="M_Risutato">
<point x="31.0" y="23.0"/>
</arc>
<arc head="M_Richiesta" kind="OUTPUT" tail="M_Return">
<point x="31.0" y="5.0"/>
<point x="26.0" y="5.0"/>
</arc>
<arc head="Slave_Return" kind="INPUT" tail="Slave_Fine">
<point x="0.5" y="26.5"/>
<point x="0.5" y="3.0"/>
</arc>
<arc head="Slave_Attesa" kind="OUTPUT" tail="Slave_Return"/>
<arc head="Fork" kind="INPUT" tail="Buffer_Richiesta"/>
<arc head="Buffer_Risultato" kind="OUTPUT" mult-k="1.2737304687500002" tail="Join">
<point x="14.0" y="24.0"/>
<point x="14.0" y="27.5"/>
<point x="22.5" y="27.5"/>
</arc>
<arc head="Ottieni_Risultato" kind="INPUT" tail="Buffer_Risultato">
<point x="23.0" y="25.5"/>
<point x="23.0" y="17.5"/>
<point x="25.0" y="17.5"/>
</arc>
<arc head="Buffer_Richiesta" kind="OUTPUT" tail="Dispatch">
<point x="20.5" y="11.0"/>
<point x="20.5" y="7.0"/>
</arc>
</edges>
</gspn>
<measures gspn-name="PT" log-uuid="847b295a-1266-4af6-acec-d3d572c7bfa0" name="CTL model checking of PT" rapid-type="CTL_MODEL_CHECKING" simplified-UI="true">
<assignments>
<assignment bind-model="SINGLE_VALUE" single-val="10" type="INTEGER" varname="nMaster"/>
<assignment bind-model="SINGLE_VALUE" single-val="10" type="INTEGER" varname="nSlave"/>
</assignments>
<rgmedd2 counter-examples="true"/>
<formulas>
<formula language="STAT">
<result-table>
<stat-result name="STAT">
<bindings>
<binding name="nSlave" value="10"/>
<binding name="nMaster" value="10"/>
</bindings>
<stat key="build_time" value="0.000682 seconds."/>
<stat key="num_rs_nodes" value="23"/>
<stat key="num_tangible_markings" value="12"/>
<stat key="total_firings" value="16"/>
</stat-result>
</result-table>
</formula>
<formula comment="CTL formula" expr="2" language="CTL"/>
</formulas>
</measures>
<resource-list>
<document-log uuid="847b295a-1266-4af6-acec-d3d572c7bfa0">rO0ABXNyABRqYXZhLnV0aWwuTGlua2VkTGlzdAwpU11KYIgiAwAAeHB3BAAAAI90APFFbmNvdW50ZXJlZCB0aGUgZm9sbG93aW5nIHByb2JsZW1zIGR1cmluZyBHU1BOIGV4cG9ydGF0aW9uOgpEZXRlY3RlZCBwcm9ibGVtcyBpbiB0aGUgZXhwb3J0ZWQgR3JlYXRTUE4gbmV0LgoKQ291bGQgbm90IGV4cG9ydCBjb3JyZWN0bHkgaW5pdGlhbCBtYXJraW5nIHdpdGggdmFsdWUgJzIqblNsYXZlJwpDb3VsZCBub3QgZXhwb3J0IGNvcnJlY3RseSBpbml0aWFs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