UniTO/anno2/YearI/SecondSem/VPC/labs/analisi/3.2/Alg3-5.PNPRO

255 lines
17 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="Alg3-5" version="121">
<gspn name="ProcP" show-color-cmd="false" show-fluid-cmd="false" view-rates="false">
<nodes>
<place label-x="-2.0" label-y="0.0" marking="1" name="P0" x="7.0" y="2.0"/>
<place label-x="-2.5" label-y="0.0" name="P1" x="7.0" y="14.0"/>
<transition label-x="3.5" label-y="1.0" name="isTurnP" nservers-x="0.5" rotation="4.71238898038469" superpos-x="4.0" superpos-y="-0.5" superposition-tags="LisTurnP" type="EXP" x="7.55" y="8.0"/>
<transition name="T1" nservers-x="0.5" type="EXP" x="11.55" y="3.0"/>
<transition label-x="2.0" label-y="0.0" name="T0" nservers-x="0.5" rotation="1.5707963267948966" superpos-x="3.0" superpos-y="-1.0" superposition-tags="LsetTurnQ" type="EXP" x="7.55" y="21.0"/>
</nodes>
<edges>
<arc head="P1" kind="OUTPUT" tail="isTurnP"/>
<arc head="T1" kind="INPUT" tail="P0">
<point x="9.5" y="5.5"/>
</arc>
<arc head="P0" kind="OUTPUT" tail="T1">
<point x="11.0" y="2.0"/>
</arc>
<arc head="P0" kind="OUTPUT" tail="T0">
<point x="8.0" y="26.0"/>
<point x="2.0" y="24.0"/>
<point x="2.0" y="2.5"/>
<point x="6.5" y="1.0"/>
</arc>
<arc head="isTurnP" kind="INPUT" tail="P0"/>
<arc head="T0" kind="INPUT" tail="P1"/>
</edges>
</gspn>
<gspn name="ProcQ" show-color-cmd="false" show-fluid-cmd="false" view-rates="false">
<nodes>
<place label-x="-2.0" label-y="0.0" marking="1" name="Q0" x="7.0" y="2.0"/>
<place label-x="-2.5" label-y="0.0" name="Q1" x="7.0" y="14.0"/>
<transition label-x="3.5" label-y="1.0" name="isTurnQ" nservers-x="0.5" rotation="4.71238898038469" superpos-x="4.0" superpos-y="-0.5" superposition-tags="LisTurnQ" type="EXP" x="7.55" y="8.0"/>
<transition name="T1" nservers-x="0.5" type="EXP" x="11.55" y="3.0"/>
<transition label-x="2.0" label-y="0.0" name="T0" nservers-x="0.5" rotation="1.5707963267948966" superpos-x="3.0" superpos-y="-1.0" superposition-tags="LsetTurnP" type="EXP" x="7.55" y="18.0"/>
</nodes>
<edges>
<arc head="Q1" kind="OUTPUT" tail="isTurnQ"/>
<arc head="T1" kind="INPUT" tail="Q0">
<point x="9.5" y="5.5"/>
</arc>
<arc head="Q0" kind="OUTPUT" tail="T1">
<point x="11.0" y="2.0"/>
</arc>
<arc head="Q0" kind="OUTPUT" tail="T0">
<point x="8.0" y="24.5"/>
<point x="2.0" y="21.0"/>
<point x="2.0" y="2.5"/>
<point x="6.5" y="1.0"/>
</arc>
<arc head="isTurnQ" kind="INPUT" tail="Q0"/>
<arc head="T0" kind="INPUT" tail="Q1"/>
</edges>
</gspn>
<gspn name="Turn" show-color-cmd="false" show-fluid-cmd="false" view-rates="false">
<nodes>
<transition label-x="-2.0" label-y="0.0" name="isTurnP" nservers-x="0.5" rotation="4.71238898038469" superpos-x="-3.0" superpos-y="1.5" superposition-tags="LisTurnP" type="EXP" x="10.55" y="4.0"/>
<transition label-x="3.0" label-y="0.0" name="isTurnQ" nservers-x="0.5" rotation="4.71238898038469" superpos-x="2.5" superpos-y="2.0" superposition-tags="LisTurnQ" type="EXP" x="8.55" y="19.0"/>
<place marking="1" name="TurnP" x="18.0" y="7.0"/>
<place name="TurnQ" x="17.0" y="18.0"/>
<transition label-x="-4.0" label-y="1.5" name="T1" nservers-x="0.5" rotation="4.71238898038469" superpos-x="-4.0" superpos-y="0.0" superposition-tags="LsetTurnQ" type="EXP" x="13.55" y="13.0"/>
<transition label-x="3.0" label-y="0.5" name="VsetTurnP" nservers-x="0.5" rotation="4.71238898038469" superpos-x="3.0" superpos-y="2.0" superposition-tags="LsetTurnP" type="EXP" x="23.55" y="12.0"/>
<transition name="VsetTurnPbis" nservers-x="0.5" superposition-tags="LsetTurnP" type="EXP" x="27.55" y="5.0"/>
<transition label-y="3.0" name="T2" nservers-x="0.5" superpos-x="0.5" superpos-y="2.0" superposition-tags="LsetTurnQ" type="EXP" x="26.55" y="19.0"/>
</nodes>
<edges>
<arc head="T1" kind="INPUT" tail="TurnP"/>
<arc head="TurnQ" kind="OUTPUT" tail="T1"/>
<arc head="VsetTurnP" kind="INPUT" tail="TurnQ"/>
<arc head="TurnP" kind="OUTPUT" tail="VsetTurnP">
<point x="24.0" y="12.0"/>
</arc>
<arc head="isTurnP" kind="INPUT" tail="TurnP">
<point x="14.0" y="10.5"/>
<point x="12.5" y="11.0"/>
</arc>
<arc head="TurnP" kind="OUTPUT" tail="isTurnP">
<point x="13.5" y="6.5"/>
</arc>
<arc head="VsetTurnPbis" kind="INPUT" tail="TurnP">
<point x="22.5" y="8.5"/>
</arc>
<arc head="TurnP" kind="OUTPUT" tail="VsetTurnPbis">
<point x="22.0" y="4.5"/>
</arc>
<arc head="T2" kind="INPUT" mult-k="0.7405273437500001" tail="TurnQ">
<point x="22.5" y="21.5"/>
</arc>
<arc head="TurnQ" kind="OUTPUT" mult-k="0.0" tail="T2"/>
<arc head="isTurnQ" kind="INPUT" mult-k="0.0" tail="TurnQ">
<point x="10.5" y="18.0"/>
</arc>
<arc head="TurnQ" kind="OUTPUT" mult-k="0.99990234375" tail="isTurnQ"/>
</edges>
</gspn>
<gspn name="ProcP+ProcQ" show-color-cmd="false" show-fluid-cmd="false" view-rates="false">
<nodes>
<place label-x="-1.9999960000000012" label-y="0.0" marking="1" name="P0" x="6.999998000000001" y="2.0"/>
<place label-x="-2.500000000000001" label-y="1.7763568394002505E-15" name="P1" x="6.999998000000001" y="14.0"/>
<place label-x="-1.9999979999999997" label-y="-1.7763568394002505E-15" marking="1" name="Q0" x="35.999998" y="4.0"/>
<place label-x="-2.5000019999999967" label-y="-1.7763568394002505E-15" name="Q1" x="35.999998" y="16.0"/>
<transition delay="1.000000" delay-x="0.5000039999999979" delay-y="0.9999980000000015" label-x="3.500000000000001" label-y="0.9999980000000015" name="isTurnP" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LisTurnP" type="EXP" x="7.549998" y="8.0"/>
<transition delay="1.000000" delay-x="0.4999980000000015" delay-y="0.9999979999999997" label-x="0.1562519999999985" label-y="-1.5000040000000006" name="T11" nservers-x="0.5" type="EXP" x="11.55" y="3.0000020000000003"/>
<transition delay="1.000000" delay-x="0.5000039999999979" delay-y="0.9999980000000015" label-x="2.156250000000001" label-y="-3.999999997006398E-6" name="T01" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LsetTurnQ" type="EXP" x="7.549998" y="21.000002"/>
<transition delay="1.000000" delay-x="0.5000040000000041" delay-y="0.9999979999999979" label-x="3.500002000000002" label-y="0.9999979999999979" name="isTurnQ" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LisTurnQ" type="EXP" x="36.549997999999995" y="10.0"/>
<transition delay="1.000000" delay-x="0.49999799999999794" delay-y="0.9999979999999979" label-x="2.0000000020559128E-6" label-y="-1.5000040000000041" name="T1" nservers-x="0.5" type="EXP" x="40.55" y="5.000002000000002"/>
<transition delay="1.000000" delay-x="0.5000040000000041" delay-y="0.9999979999999979" label-x="2.0" label-y="-4.0000000041118255E-6" name="T0" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LsetTurnP" type="EXP" x="36.549997999999995" y="20.000002000000002"/>
</nodes>
<edges>
<arc head="isTurnP" head-magnet="0" kind="INPUT" tail="P0" tail-magnet="0"/>
<arc head="P1" head-magnet="0" kind="OUTPUT" tail="isTurnP" tail-magnet="0"/>
<arc head="T11" head-magnet="0" kind="INPUT" tail="P0" tail-magnet="0">
<point x="9.499998000000001" y="5.500002"/>
</arc>
<arc head="P0" head-magnet="0" kind="OUTPUT" tail="T11" tail-magnet="0">
<point x="10.999998000000001" y="1.999998"/>
</arc>
<arc head="T01" head-magnet="0" kind="INPUT" tail="P1" tail-magnet="0"/>
<arc head="P0" head-magnet="0" kind="OUTPUT" tail="T01" tail-magnet="0">
<point x="7.999998000000001" y="25.999997999999998"/>
<point x="1.999998" y="24.0"/>
<point x="1.999998" y="2.5000020000000003"/>
<point x="6.499998000000001" y="1.000002"/>
</arc>
<arc head="isTurnQ" head-magnet="0" kind="INPUT" tail="Q0" tail-magnet="0"/>
<arc head="Q1" head-magnet="0" kind="OUTPUT" tail="isTurnQ" tail-magnet="0"/>
<arc head="T1" head-magnet="0" kind="INPUT" tail="Q0" tail-magnet="0">
<point x="38.499998" y="7.500002000000002"/>
</arc>
<arc head="Q0" head-magnet="0" kind="OUTPUT" tail="T1" tail-magnet="0">
<point x="39.999998" y="3.999997999999998"/>
</arc>
<arc head="T0" head-magnet="0" kind="INPUT" tail="Q1" tail-magnet="0"/>
<arc head="Q0" head-magnet="0" kind="OUTPUT" tail="T0" tail-magnet="0">
<point x="36.999998" y="26.499997999999998"/>
<point x="30.999997999999998" y="23.0"/>
<point x="30.999997999999998" y="4.500002000000002"/>
<point x="35.499998" y="3.000002000000002"/>
</arc>
</edges>
</gspn>
<gspn name="ProcP+ProcQ+Turn" show-color-cmd="false" show-fluid-cmd="false" view-rates="false" zoom="125">
<nodes>
<place label-x="-1.9999960000000012" label-y="0.0" marking="1" name="P0" x="6.999998000000001" y="2.0"/>
<place label-x="-2.500000000000001" label-y="1.7763568394002505E-15" name="P1" x="6.999998000000001" y="14.0"/>
<place label-x="-2.0" marking="1" name="Q0" x="36.0" y="2.0"/>
<place label-x="-2.500008000000003" label-y="-1.7763568394002505E-15" name="Q1" x="36.000002" y="15.999998000000001"/>
<place label-x="-6.000000000838668E-6" label-y="1.5000000000000053" marking="1" name="TurnP" x="21.000002000000002" y="7.999997999999998"/>
<place label-x="-1.9999999967268423E-6" label-y="1.4999940000000063" name="TurnQ" x="20.0" y="19.000002000000002"/>
<transition delay="1.000000" delay-x="0.5000039999999979" delay-y="0.9999980000000015" label-x="3.500000000000001" label-y="0.9999980000000015" name="isTurnP" nservers-x="0.5" rotation="1.5707963267948966" superpos-x="2.0000019999999994" superpos-y="-2.0" superposition-tags="LisTurnP" type="EXP" x="7.549998" y="8.0"/>
<transition delay="1.000000" delay-x="0.4999980000000015" delay-y="0.9999979999999997" label-x="0.1562519999999985" label-y="-1.5000040000000006" name="T11" nservers-x="0.5" type="EXP" x="11.55" y="3.0000020000000003"/>
<transition delay="1.000000" delay-x="0.5000039999999979" delay-y="0.9999980000000015" label-x="2.312500000000001" label-y="-3.999999997006398E-6" name="T011" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LsetTurnQ" type="EXP" x="7.549998" y="21.000002"/>
<transition delay="1.000000" delay-x="0.500003999999997" delay-y="0.999998000000005" label-x="2.15625" label-y="-3.999999997006398E-6" name="T01" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LsetTurnQ" type="EXP" x="10.549998000000002" y="23.500003999999997"/>
<transition delay="1.000000" delay-x="0.500003999999997" delay-y="0.9999979999999979" label-x="3.499995999999996" label-y="0.9999979999999997" name="isTurnQ" nservers-x="0.5" rotation="1.5707963267948966" superpos-x="1.999997999999998" superpos-y="-2.4999980000000015" superposition-tags="LisTurnQ" type="EXP" x="36.550002" y="9.999998000000001"/>
<transition delay="1.000000" delay-x="0.5000040000000041" delay-y="0.9999980000000006" label-x="8.000000001118224E-6" label-y="-1.5000040000000006" name="T1" nservers-x="0.5" type="EXP" x="40.549997999999995" y="5.0"/>
<transition delay="1.000000" delay-x="0.500003999999997" delay-y="0.9999980000000015" label-x="2.499997999999998" label-y="-0.5" name="T02" nservers-x="0.5" rotation="1.5707963267948966" superposition-tags="LsetTurnP" type="EXP" x="36.55" y="21.0"/>
<transition delay="1.000000" delay-x="0.500003999999997" delay-y="0.9999980000000015" label-x="2.0" label-y="-3.999999997006398E-6" name="T0" nservers-x="0.5" rotation="1.5707963267948966" superpos-x="1.999997999999998" superpos-y="-1.5000019999999985" superposition-tags="LsetTurnP" type="EXP" x="39.550002" y="22.500002"/>
</nodes>
<edges>
<arc broken="true" head="isTurnP" head-magnet="0" kind="INPUT" tail="TurnP" tail-magnet="0">
<point x="18.645899999999997" y="10.677051999999996"/>
<point x="-18.5661" y="-22.462058"/>
</arc>
<arc head="isTurnP" head-magnet="0" kind="INPUT" tail="P0" tail-magnet="0"/>
<arc broken="true" head="TurnP" head-magnet="0" kind="OUTPUT" tail="isTurnP" tail-magnet="0">
<point x="-8.537944" y="-0.5660980000000002"/>
<point x="26.382134" y="27.013310000000004"/>
</arc>
<arc head="P1" head-magnet="0" kind="OUTPUT" tail="isTurnP" tail-magnet="0"/>
<arc head="T11" head-magnet="0" kind="INPUT" tail="P0" tail-magnet="0">
<point x="9.499998000000001" y="5.500002"/>
</arc>
<arc head="P0" head-magnet="0" kind="OUTPUT" tail="T11" tail-magnet="0">
<point x="10.999998000000001" y="1.999998"/>
</arc>
<arc broken="true" head="T011" head-magnet="0" kind="INPUT" tail="TurnP" tail-magnet="0">
<point x="12.099305999999999" y="31.380826"/>
<point x="-26.0661" y="10.037944000000003"/>
</arc>
<arc head="T011" head-magnet="0" kind="INPUT" tail="P1" tail-magnet="0"/>
<arc broken="true" head="TurnQ" head-magnet="0" kind="OUTPUT" tail="T011" tail-magnet="0">
<point x="-16.537944" y="29.433904"/>
<point x="18.657396" y="53.071737999999996"/>
</arc>
<arc head="P0" head-magnet="0" kind="OUTPUT" tail="T011" tail-magnet="0">
<point x="7.999998000000001" y="25.999997999999998"/>
<point x="1.999998" y="24.0"/>
<point x="1.999998" y="2.5000020000000003"/>
<point x="6.499998000000001" y="1.000002"/>
</arc>
<arc broken="true" head="T01" head-magnet="0" kind="INPUT" tail="TurnQ" tail-magnet="0">
<point x="24.278087999999997" y="21.821157999999997"/>
<point x="-15.566099999999999" y="-6.962053999999998"/>
</arc>
<arc head="T01" head-magnet="0" kind="INPUT" tail="P1" tail-magnet="0"/>
<arc broken="true" head="TurnQ" head-magnet="0" kind="OUTPUT" tail="T01" tail-magnet="0">
<point x="-13.537944000000001" y="-4.066094"/>
<point x="24.727061999999997" y="20.414115999999993"/>
</arc>
<arc head="P0" head-magnet="0" kind="OUTPUT" tail="T01" tail-magnet="0">
<point x="7.999998000000001" y="25.999997999999998"/>
<point x="1.999998" y="24.0"/>
<point x="1.999998" y="2.5000020000000003"/>
<point x="6.499998000000001" y="1.000002"/>
</arc>
<arc broken="true" head="isTurnQ" head-magnet="0" kind="INPUT" tail="TurnQ" tail-magnet="0">
<point x="17.282891999999997" y="19.504384"/>
<point x="10.433903999999998" y="-20.46206"/>
</arc>
<arc head="isTurnQ" head-magnet="0" kind="INPUT" tail="Q0" tail-magnet="0"/>
<arc broken="true" head="TurnQ" head-magnet="0" kind="OUTPUT" tail="isTurnQ" tail-magnet="0">
<point x="6.462059999999994" y="-2.5660999999999987"/>
<point x="11.272937999999996" y="35.41411599999999"/>
</arc>
<arc head="Q1" head-magnet="0" kind="OUTPUT" tail="isTurnQ" tail-magnet="0"/>
<arc head="T1" head-magnet="0" kind="INPUT" tail="Q0" tail-magnet="0">
<point x="38.500002" y="7.5"/>
</arc>
<arc head="Q0" head-magnet="0" kind="OUTPUT" tail="T1" tail-magnet="0">
<point x="40.000002" y="3.999996"/>
</arc>
<arc broken="true" head="T02" head-magnet="0" kind="INPUT" tail="TurnQ" tail-magnet="0">
<point x="23.651652" y="17.348350000000003"/>
<point x="10.433903999999998" y="-10.462057999999999"/>
</arc>
<arc head="T02" head-magnet="0" kind="INPUT" tail="Q1" tail-magnet="0"/>
<arc broken="true" head="TurnP" head-magnet="0" kind="OUTPUT" tail="T02" tail-magnet="0">
<point x="6.962059999999994" y="10.433902"/>
<point x="19.428259999999995" y="29.342608"/>
</arc>
<arc head="Q0" head-magnet="0" kind="OUTPUT" tail="T02" tail-magnet="0">
<point x="37.000002" y="26.500002000000002"/>
<point x="31.000002000000002" y="22.999998"/>
<point x="31.000002000000002" y="4.5"/>
<point x="35.500002" y="3.0"/>
</arc>
<arc broken="true" head="T0" head-magnet="0" kind="INPUT" tail="TurnP" tail-magnet="0">
<point x="25.712310000000002" y="9.530332000000001"/>
<point x="13.433903999999998" y="-7.962055999999997"/>
</arc>
<arc head="T0" head-magnet="0" kind="INPUT" tail="Q1" tail-magnet="0"/>
<arc broken="true" head="TurnP" head-magnet="0" kind="OUTPUT" tail="T0" tail-magnet="0">
<point x="26.0" y="25.0"/>
<point x="27.0" y="5.5"/>
</arc>
<arc head="Q0" head-magnet="0" kind="OUTPUT" tail="T0" tail-magnet="0">
<point x="37.000002" y="26.500002000000002"/>
<point x="31.000002000000002" y="22.999998"/>
<point x="31.000002000000002" y="4.5"/>
<point x="35.500002" y="3.0"/>
</arc>
</edges>
</gspn>
</project>