~tapaal-dist/verifypn/verifypnLTSmin

« back to all changes in this revision

Viewing changes to Tests/TAPAAL-test-nets/000-untimed-composition-test011.xml

  • Committer: Mads Johannsen
  • Date: 2015-05-27 01:37:47 UTC
  • Revision ID: mjohan12@student.aau.dk-20150527013747-fc4uexe0yfjsw7pm
Directory cleanup and readme

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
 
<pnml xmlns="http://www.informatik.hu-berlin.de/top/pnml/ptNetb">
3
 
<shared-transition name="RadioSignalSending"/>
4
 
<shared-transition name="BrakingStops"/>
5
 
<shared-transition name="OutputConnection"/>
6
 
<shared-transition name="StopCars"/>
7
 
<constant name="YellowDuration" value="2"/>
8
 
<constant name="RedDuration" value="1"/>
9
 
<constant name="EnterDelay" value="1"/>
10
 
<constant name="CrossingTime" value="3"/>
11
 
<constant name="ControllerSpeed" value="2"/>
12
 
<constant name="TimeToDangerZone" value="4"/>
13
 
<net active="true" id="Train" type="P/T net">
14
 
<labels border="true" height="54" positionX="89" positionY="394" width="378">An example from the paper Safety requirements and p-time Petri nets: A Level Crossing case study
15
 
.</labels>
16
 
<place id="P0" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="P0" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="120.0" positionY="270.0"/>
17
 
<place id="P1" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="P1" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="255.0" positionY="270.0"/>
18
 
<place id="P2" initialMarking="0" invariant="&lt;= TimeToDangerZone" markingOffsetX="0.0" markingOffsetY="0.0" name="P2" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="375.0" positionY="270.0"/>
19
 
<place id="Crossing" initialMarking="0" invariant="&lt;= CrossingTime" markingOffsetX="0.0" markingOffsetY="0.0" name="Crossing" nameOffsetX="49.0" nameOffsetY="-17.0" positionX="540.0" positionY="270.0"/>
20
 
<place id="P4" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="P4" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="660.0" positionY="270.0"/>
21
 
<place id="P5" initialMarking="3" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="P5" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="300.0" positionY="90.0"/>
22
 
<transition angle="0" id="BrakingStarts" infiniteServer="false" name="BrakingStarts" nameOffsetX="43.0" nameOffsetY="61.0" positionX="180.0" positionY="270.0" priority="1" timed="true"/>
23
 
<transition angle="0" id="BrakingStops" infiniteServer="false" name="BrakingStops" nameOffsetX="44.0" nameOffsetY="59.0" positionX="315.0" positionY="270.0" priority="1" timed="true"/>
24
 
<transition angle="0" id="DangerZoneEntrance" infiniteServer="false" name="DangerZoneEntrance" nameOffsetX="53.0" nameOffsetY="55.0" positionX="495.0" positionY="270.0" priority="1" timed="true"/>
25
 
<transition angle="0" id="DangerZoneExit" infiniteServer="false" name="DangerZoneExit" nameOffsetX="53.0" nameOffsetY="56.0" positionX="600.0" positionY="270.0" priority="1" timed="true"/>
26
 
<transition angle="0" id="RadioSignalSending" infiniteServer="false" name="RadioSignalSending" nameOffsetX="59.0" nameOffsetY="62.0" positionX="45.0" positionY="270.0" priority="1" timed="true"/>
27
 
<transition angle="0" id="OutputConnection" infiniteServer="false" name="OutputConnection" nameOffsetX="76.0" nameOffsetY="56.0" positionX="750.0" positionY="270.0" priority="1" timed="true"/>
28
 
<arc id="P5 to RadioSignalSending" inscription="[0,inf)" source="P5" target="RadioSignalSending" type="timed">
29
 
<arcpath arcPointType="false" id="0" xCoord="299" yCoord="110"/>
30
 
<arcpath arcPointType="false" id="1" xCoord="62" yCoord="277"/>
31
 
</arc>
32
 
<arc id="RadioSignalSending to P0" inscription="1" source="RadioSignalSending" target="P0" type="normal">
33
 
<arcpath arcPointType="false" id="0" xCoord="61" yCoord="287"/>
34
 
<arcpath arcPointType="false" id="1" xCoord="117" yCoord="283"/>
35
 
</arc>
36
 
<arc id="P0 to BrakingStarts" inscription="[0,inf)" source="P0" target="BrakingStarts" type="timed">
37
 
<arcpath arcPointType="false" id="0" xCoord="146" yCoord="282"/>
38
 
<arcpath arcPointType="false" id="1" xCoord="186" yCoord="282"/>
39
 
</arc>
40
 
<arc id="BrakingStarts to P1" inscription="1" source="BrakingStarts" target="P1" type="normal">
41
 
<arcpath arcPointType="false" id="0" xCoord="196" yCoord="282"/>
42
 
<arcpath arcPointType="false" id="1" xCoord="252" yCoord="282"/>
43
 
</arc>
44
 
<arc id="P1 to BrakingStops" inscription="[0,inf)" source="P1" target="BrakingStops" type="timed">
45
 
<arcpath arcPointType="false" id="0" xCoord="281" yCoord="282"/>
46
 
<arcpath arcPointType="false" id="1" xCoord="321" yCoord="282"/>
47
 
</arc>
48
 
<arc id="BrakingStops to P2" inscription="1" source="BrakingStops" target="P2" type="normal">
49
 
<arcpath arcPointType="false" id="0" xCoord="331" yCoord="282"/>
50
 
<arcpath arcPointType="false" id="1" xCoord="372" yCoord="282"/>
51
 
</arc>
52
 
<arc id="P2 to DangerZoneEntrance" inscription="[0,inf)" source="P2" target="DangerZoneEntrance" type="timed">
53
 
<arcpath arcPointType="false" id="0" xCoord="401" yCoord="282"/>
54
 
<arcpath arcPointType="false" id="1" xCoord="501" yCoord="282"/>
55
 
</arc>
56
 
<arc id="DangerZoneEntrance to Crossing" inscription="1" source="DangerZoneEntrance" target="Crossing" type="normal">
57
 
<arcpath arcPointType="false" id="0" xCoord="511" yCoord="282"/>
58
 
<arcpath arcPointType="false" id="1" xCoord="537" yCoord="282"/>
59
 
</arc>
60
 
<arc id="Crossing to DangerZoneExit" inscription="[0,inf)" source="Crossing" target="DangerZoneExit" type="timed">
61
 
<arcpath arcPointType="false" id="0" xCoord="566" yCoord="282"/>
62
 
<arcpath arcPointType="false" id="1" xCoord="606" yCoord="282"/>
63
 
</arc>
64
 
<arc id="DangerZoneExit to P4" inscription="1" source="DangerZoneExit" target="P4" type="normal">
65
 
<arcpath arcPointType="false" id="0" xCoord="616" yCoord="282"/>
66
 
<arcpath arcPointType="false" id="1" xCoord="657" yCoord="282"/>
67
 
</arc>
68
 
<arc id="P4 to OutputConnection" inscription="[0,inf)" source="P4" target="OutputConnection" type="timed">
69
 
<arcpath arcPointType="false" id="0" xCoord="686" yCoord="283"/>
70
 
<arcpath arcPointType="false" id="1" xCoord="756" yCoord="287"/>
71
 
</arc>
72
 
<arc id="OutputConnection to P5" inscription="1" source="OutputConnection" target="P5" type="normal">
73
 
<arcpath arcPointType="false" id="0" xCoord="757" yCoord="277"/>
74
 
<arcpath arcPointType="false" id="1" xCoord="325" yCoord="107"/>
75
 
</arc>
76
 
</net>
77
 
<net active="true" id="LevelCrossing" type="P/T net">
78
 
<place id="P0" initialMarking="3" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="P0" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="375.0" positionY="75.0"/>
79
 
<place id="P1" initialMarking="0" invariant="&lt;= ControllerSpeed" markingOffsetX="0.0" markingOffsetY="0.0" name="P1" nameOffsetX="105.0" nameOffsetY="38.0" positionX="150.0" positionY="270.0"/>
80
 
<place id="P7" initialMarking="0" invariant="&lt;= ControllerSpeed" markingOffsetX="0.0" markingOffsetY="0.0" name="P7" nameOffsetX="60.0" nameOffsetY="40.0" positionX="420.0" positionY="270.0"/>
81
 
<place id="P8" initialMarking="0" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="P8" nameOffsetX="40.0" nameOffsetY="39.0" positionX="600.0" positionY="270.0"/>
82
 
<transition angle="0" id="RadioSignalSending" infiniteServer="false" name="RadioSignalSending" nameOffsetX="76.0" nameOffsetY="63.0" positionX="45.0" positionY="270.0" priority="1" timed="true"/>
83
 
<transition angle="0" id="StopCars" infiniteServer="false" name="StopCars" nameOffsetX="29.0" nameOffsetY="62.0" positionX="300.0" positionY="270.0" priority="1" timed="true"/>
84
 
<transition angle="0" id="BrakingStops" infiniteServer="false" name="BrakingStops" nameOffsetX="43.0" nameOffsetY="66.0" positionX="525.0" positionY="270.0" priority="1" timed="true"/>
85
 
<transition angle="0" id="OutputConnection" infiniteServer="false" name="OutputConnection" nameOffsetX="66.0" nameOffsetY="59.0" positionX="780.0" positionY="270.0" priority="1" timed="true"/>
86
 
<arc id="P0 to RadioSignalSending" inscription="[0,inf)" source="P0" target="RadioSignalSending" type="timed">
87
 
<arcpath arcPointType="false" id="0" xCoord="374" yCoord="94"/>
88
 
<arcpath arcPointType="false" id="1" xCoord="62" yCoord="277"/>
89
 
</arc>
90
 
<arc id="OutputConnection to P0" inscription="1" source="OutputConnection" target="P0" type="normal">
91
 
<arcpath arcPointType="false" id="0" xCoord="787" yCoord="277"/>
92
 
<arcpath arcPointType="false" id="1" xCoord="400" yCoord="93"/>
93
 
</arc>
94
 
<arc id="RadioSignalSending to P1" inscription="1" source="RadioSignalSending" target="P1" type="normal">
95
 
<arcpath arcPointType="false" id="0" xCoord="61" yCoord="287"/>
96
 
<arcpath arcPointType="false" id="1" xCoord="147" yCoord="282"/>
97
 
</arc>
98
 
<arc id="P7 to BrakingStops" inscription="[0,inf):1" source="P7" target="BrakingStops" type="transport">
99
 
<arcpath arcPointType="false" id="0" xCoord="446" yCoord="282"/>
100
 
<arcpath arcPointType="false" id="1" xCoord="531" yCoord="282"/>
101
 
</arc>
102
 
<arc id="BrakingStops to P8" inscription="[0,inf):1" source="BrakingStops" target="P8" type="transport">
103
 
<arcpath arcPointType="false" id="0" xCoord="541" yCoord="282"/>
104
 
<arcpath arcPointType="false" id="1" xCoord="544" yCoord="289"/>
105
 
<arcpath arcPointType="false" id="2" xCoord="597" yCoord="283"/>
106
 
</arc>
107
 
<arc id="P8 to OutputConnection" inscription="[0,inf)" source="P8" target="OutputConnection" type="timed">
108
 
<arcpath arcPointType="false" id="0" xCoord="626" yCoord="282"/>
109
 
<arcpath arcPointType="false" id="1" xCoord="786" yCoord="287"/>
110
 
</arc>
111
 
<arc id="P1 to StopCars" inscription="[0,inf):1" source="P1" target="StopCars" type="transport">
112
 
<arcpath arcPointType="false" id="0" xCoord="176" yCoord="282"/>
113
 
<arcpath arcPointType="false" id="1" xCoord="306" yCoord="282"/>
114
 
</arc>
115
 
<arc id="StopCars to P7" inscription="[0,inf):1" source="StopCars" target="P7" type="transport">
116
 
<arcpath arcPointType="false" id="0" xCoord="316" yCoord="282"/>
117
 
<arcpath arcPointType="false" id="1" xCoord="417" yCoord="282"/>
118
 
</arc>
119
 
</net>
120
 
<net active="true" id="TragicLight" type="P/T net">
121
 
<place id="Green" initialMarking="1" invariant="&lt; inf" markingOffsetX="0.0" markingOffsetY="0.0" name="Green" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="45.0" positionY="330.0"/>
122
 
<place id="Yellow" initialMarking="0" invariant="&lt;= YellowDuration" markingOffsetX="0.0" markingOffsetY="0.0" name="Yellow" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="360.0" positionY="240.0"/>
123
 
<place id="Red" initialMarking="0" invariant="&lt;= RedDuration" markingOffsetX="0.0" markingOffsetY="0.0" name="Red" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="690.0" positionY="330.0"/>
124
 
<place id="Request" initialMarking="0" invariant="&lt;= 0" markingOffsetX="0.0" markingOffsetY="0.0" name="Request" nameOffsetX="-15.0" nameOffsetY="18.0" positionX="315.0" positionY="120.0"/>
125
 
<transition angle="0" id="StopCars" infiniteServer="false" name="StopCars" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="315.0" positionY="15.0" priority="1" timed="true"/>
126
 
<transition angle="0" id="T1" infiniteServer="false" name="T1" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="180.0" positionY="285.0" priority="1" timed="true"/>
127
 
<transition angle="0" id="T2" infiniteServer="false" name="T2" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="525.0" positionY="285.0" priority="1" timed="true"/>
128
 
<transition angle="0" id="T5" infiniteServer="false" name="T5" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="345.0" positionY="435.0" priority="1" timed="true"/>
129
 
<transition angle="0" id="T7" infiniteServer="false" name="T7" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="450.0" positionY="135.0" priority="1" timed="true"/>
130
 
<transition angle="0" id="T8" infiniteServer="false" name="T8" nameOffsetX="-5.0" nameOffsetY="35.0" positionX="645.0" positionY="120.0" priority="1" timed="true"/>
131
 
<arc id="StopCars to Request" inscription="1" source="StopCars" target="Request" type="normal">
132
 
<arcpath arcPointType="false" id="0" xCoord="327" yCoord="42"/>
133
 
<arcpath arcPointType="false" id="1" xCoord="327" yCoord="117"/>
134
 
</arc>
135
 
<arc id="Green to T1" inscription="[0,inf)" source="Green" target="T1" type="timed">
136
 
<arcpath arcPointType="false" id="0" xCoord="71" yCoord="337"/>
137
 
<arcpath arcPointType="false" id="1" xCoord="186" yCoord="297"/>
138
 
</arc>
139
 
<arc id="T1 to Yellow" inscription="1" source="T1" target="Yellow" type="normal">
140
 
<arcpath arcPointType="false" id="0" xCoord="196" yCoord="302"/>
141
 
<arcpath arcPointType="false" id="1" xCoord="357" yCoord="256"/>
142
 
</arc>
143
 
<arc id="Request to T1" inscription="[0,inf)" source="Request" target="T1" type="timed">
144
 
<arcpath arcPointType="false" id="0" xCoord="317" yCoord="143"/>
145
 
<arcpath arcPointType="false" id="1" xCoord="197" yCoord="292"/>
146
 
</arc>
147
 
<arc id="Yellow to T2" inscription="[0,inf)" source="Yellow" target="T2" type="timed">
148
 
<arcpath arcPointType="false" id="0" xCoord="386" yCoord="256"/>
149
 
<arcpath arcPointType="false" id="1" xCoord="531" yCoord="297"/>
150
 
</arc>
151
 
<arc id="T2 to Red" inscription="1" source="T2" target="Red" type="normal">
152
 
<arcpath arcPointType="false" id="0" xCoord="541" yCoord="297"/>
153
 
<arcpath arcPointType="false" id="1" xCoord="687" yCoord="337"/>
154
 
</arc>
155
 
<arc id="Red to T5" inscription="[0,inf)" source="Red" target="T5" type="timed">
156
 
<arcpath arcPointType="false" id="0" xCoord="687" yCoord="346"/>
157
 
<arcpath arcPointType="false" id="1" xCoord="361" yCoord="447"/>
158
 
</arc>
159
 
<arc id="T5 to Green" inscription="1" source="T5" target="Green" type="normal">
160
 
<arcpath arcPointType="false" id="0" xCoord="351" yCoord="447"/>
161
 
<arcpath arcPointType="false" id="1" xCoord="71" yCoord="347"/>
162
 
</arc>
163
 
<arc id="Request to T7" inscription="[0,inf)" source="Request" target="T7" type="timed">
164
 
<arcpath arcPointType="false" id="0" xCoord="341" yCoord="133"/>
165
 
<arcpath arcPointType="false" id="1" xCoord="457" yCoord="142"/>
166
 
</arc>
167
 
<arc id="Request to T8" inscription="[0,inf)" source="Request" target="T8" type="timed">
168
 
<arcpath arcPointType="false" id="0" xCoord="341" yCoord="126"/>
169
 
<arcpath arcPointType="false" id="1" xCoord="514" yCoord="64"/>
170
 
<arcpath arcPointType="false" id="2" xCoord="651" yCoord="132"/>
171
 
</arc>
172
 
<arc id="Red to T8" inscription="[0,inf)" source="Red" target="T8" type="timed">
173
 
<arcpath arcPointType="false" id="0" xCoord="693" yCoord="329"/>
174
 
<arcpath arcPointType="false" id="1" xCoord="634" yCoord="244"/>
175
 
<arcpath arcPointType="false" id="2" xCoord="657" yCoord="147"/>
176
 
</arc>
177
 
<arc id="T8 to Red" inscription="1" source="T8" target="Red" type="normal">
178
 
<arcpath arcPointType="false" id="0" xCoord="661" yCoord="132"/>
179
 
<arcpath arcPointType="false" id="1" xCoord="739" yCoord="229"/>
180
 
<arcpath arcPointType="false" id="2" xCoord="706" yCoord="327"/>
181
 
</arc>
182
 
<arc id="Yellow to T7" inscription="[0,inf):1" source="Yellow" target="T7" type="transport">
183
 
<arcpath arcPointType="false" id="0" xCoord="378" yCoord="238"/>
184
 
<arcpath arcPointType="false" id="1" xCoord="408" yCoord="183"/>
185
 
<arcpath arcPointType="false" id="2" xCoord="456" yCoord="152"/>
186
 
</arc>
187
 
<arc id="T7 to Yellow" inscription="[0,inf):1" source="T7" target="Yellow" type="transport">
188
 
<arcpath arcPointType="false" id="0" xCoord="466" yCoord="147"/>
189
 
<arcpath arcPointType="false" id="1" xCoord="468" yCoord="153"/>
190
 
<arcpath arcPointType="false" id="2" xCoord="468" yCoord="213"/>
191
 
<arcpath arcPointType="false" id="3" xCoord="385" yCoord="246"/>
192
 
</arc>
193
 
</net>
194
 
<query active="true" capacity="3" discreteInclusion="false" extrapolationOption="AUTOMATIC" hashTableSize="MB_16" inclusionPlaces="*NONE*" name="FALSE" query="EF (Train.Crossing&gt;=1 and TragicLight.Green&gt;=1)" reductionOption="VerifyTAPN" searchOption="BFS" symmetry="true" traceOption="NONE"/>
195
 
</pnml>