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

109 lines
6.1 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="ReteB" version="121">
<gspn name="PT" show-color-cmd="false" show-fluid-cmd="false" show-timed-cmd="false" view-rates="false">
<nodes>
<place label-x="2.0" label-y="-2.0" marking="1" name="S1_Attesa" x="9.0" y="4.0"/>
<place marking="1" name="P1" x="46.0" y="4.0"/>
<place label-x="2.5" label-y="1.0" name="Child1" x="3.0" y="11.0"/>
<place label-x="2.0" name="Child2" x="15.0" y="11.0"/>
<place label-x="4.0" label-y="0.0" name="Richieste" x="46.0" y="13.0"/>
<place label-x="3.5" label-y="0.0" name="Risultati" x="46.0" y="21.0"/>
<place name="S2_Fine" x="46.0" y="29.0"/>
<place name="Fine_C1" x="15.0" y="21.0"/>
<place name="S1_Fine" x="9.0" y="28.0"/>
<place name="Fine_C2" x="3.0" y="21.0"/>
<transition label-x="-3.0" label-y="-0.5" name="Fork" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="9.55" y="8.0"/>
<transition label-x="3.5" label-y="-1.0" name="Processa_C1" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="3.55" y="16.0"/>
<transition label-x="-3.0" label-y="-1.0" name="Processa_C2" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="15.55" y="16.0"/>
<transition name="Join" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="9.55" y="25.0"/>
<transition label-x="3.5" label-y="0.0" name="Receive" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="46.55" y="8.0"/>
<transition label-x="3.5" label-y="0.0" name="Processa" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="46.55" y="17.0"/>
<transition label-x="3.0" label-y="0.0" name="Send" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="46.55" y="25.0"/>
<place label-x="4.0" label-y="0.0" marking="1" name="M_Richiesta" x="27.0" y="8.0"/>
<place label-x="-4.0" label-y="0.0" name="M_Attesa" x="27.0" y="15.0"/>
<place name="M_Risultato" x="27.0" y="24.0"/>
<transition label-x="2.5" name="Dispatch" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="27.55" y="12.0"/>
<transition label-x="5.5" label-y="0.0" name="Ottieni_Risultato" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="27.55" y="20.0"/>
<transition label-x="3.5" label-y="0.0" name="M_Return" nservers-x="0.5" rotation="1.5707963267948966" type="EXP" x="32.55" y="15.0"/>
<transition label-y="-2.0" name="S1_Return" nservers-x="0.5" type="EXP" x="5.55" y="4.0"/>
<transition label-y="-2.0" name="S2_Return" nservers-x="0.5" type="EXP" x="51.55" y="4.0"/>
<place label-x="3.0" label-y="-1.5" name="Buffer_Richiesta" x="24.0" y="3.0"/>
<transition label-x="2.5" label-y="2.0" name="Scelta_S1" nservers-x="0.5" type="EXP" x="18.55" y="8.0"/>
<transition label-y="2.0" name="Scelta_S2" nservers-x="0.5" type="EXP" x="38.55" y="8.0"/>
<place label-y="-2.5" name="Buffer_S1" x="14.0" y="8.0"/>
<place label-y="-2.5" name="Buffer_S2" x="41.0" y="8.0"/>
<place name="Buffer_Risultato" x="27.0" y="28.0"/>
</nodes>
<edges>
<arc head="Fork" kind="INPUT" tail="S1_Attesa"/>
<arc head="Child1" kind="OUTPUT" tail="Fork"/>
<arc head="Fine_C2" kind="OUTPUT" tail="Processa_C1"/>
<arc head="Processa_C1" kind="INPUT" tail="Child1"/>
<arc head="Join" kind="INPUT" tail="Fine_C2">
<point x="10.0" y="25.5"/>
</arc>
<arc head="Child2" kind="OUTPUT" tail="Fork"/>
<arc head="Fine_C1" kind="OUTPUT" tail="Processa_C2"/>
<arc head="Processa_C2" kind="INPUT" tail="Child2"/>
<arc head="Join" kind="INPUT" tail="Fine_C1"/>
<arc head="S1_Fine" kind="OUTPUT" tail="Join"/>
<arc head="Receive" kind="INPUT" tail="P1"/>
<arc head="Richieste" kind="OUTPUT" tail="Receive"/>
<arc head="Processa" kind="INPUT" tail="Richieste"/>
<arc head="Risultati" kind="OUTPUT" tail="Processa"/>
<arc head="Send" kind="INPUT" tail="Risultati"/>
<arc head="S2_Fine" kind="OUTPUT" tail="Send"/>
<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_Risultato" kind="OUTPUT" tail="Ottieni_Risultato"/>
<arc head="M_Return" kind="INPUT" tail="M_Risultato">
<point x="33.0" y="25.0"/>
</arc>
<arc head="M_Richiesta" kind="OUTPUT" tail="M_Return">
<point x="33.0" y="7.0"/>
<point x="28.0" y="7.0"/>
</arc>
<arc head="S1_Return" kind="INPUT" tail="S1_Fine">
<point x="2.5" y="28.5"/>
<point x="2.5" y="5.0"/>
</arc>
<arc head="S1_Attesa" kind="OUTPUT" tail="S1_Return"/>
<arc head="S2_Return" kind="INPUT" tail="S2_Fine">
<point x="55.0" y="30.0"/>
<point x="55.0" y="5.0"/>
</arc>
<arc head="P1" kind="OUTPUT" tail="S2_Return"/>
<arc head="Buffer_Richiesta" kind="OUTPUT" tail="Dispatch">
<point x="24.5" y="13.0"/>
<point x="24.5" y="7.5"/>
</arc>
<arc head="Scelta_S1" kind="INPUT" tail="Buffer_Richiesta">
<point x="21.0" y="4.0"/>
<point x="21.0" y="9.0"/>
</arc>
<arc head="Scelta_S2" kind="INPUT" tail="Buffer_Richiesta">
<point x="36.5" y="4.0"/>
<point x="36.5" y="9.0"/>
</arc>
<arc head="Buffer_S1" kind="OUTPUT" tail="Scelta_S1"/>
<arc head="Fork" kind="INPUT" tail="Buffer_S1"/>
<arc head="Buffer_S2" kind="OUTPUT" tail="Scelta_S2"/>
<arc head="Receive" kind="INPUT" tail="Buffer_S2"/>
<arc head="Buffer_Risultato" kind="OUTPUT" tail="Join">
<point x="16.0" y="29.5"/>
<point x="24.5" y="29.5"/>
</arc>
<arc head="Buffer_Risultato" kind="OUTPUT" tail="Send">
<point x="41.5" y="29.5"/>
<point x="31.5" y="29.5"/>
</arc>
<arc head="Ottieni_Risultato" kind="INPUT" tail="Buffer_Risultato">
<point x="25.0" y="27.5"/>
<point x="25.0" y="19.5"/>
<point x="27.0" y="19.5"/>
</arc>
</edges>
</gspn>
</project>