~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/composition-test009/model.pnml

  • Committer: srba.jiri at gmail
  • Date: 2020-09-11 14:23:39 UTC
  • mfrom: (213.1.151 interval_tar)
  • Revision ID: srba.jiri@gmail.com-20200911142339-bq9328s1gppw24uj
merged in lp:~verifypn-maintainers/verifypn/interval_tar doing 
- Implements TAR w/o z3, but using a simple integer inference engine for Hoare logic.
 - Replaces LP-Solve with GLPK, reduces computation-time and memory overhead
 - Implements new global properties, translated into CTL formulae.

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.pnml.org/version-2009/grammar/pnml">
 
3
    <net id="ComposedModel" type="http://www.pnml.org/version-2009/grammar/ptnet">
 
4
        <page id="page0">
 
5
            <place id="Train_P0">
 
6
                <graphics>
 
7
                    <position x="120" y="270"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>Train_P0</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>0</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Train_P1">
 
20
                <graphics>
 
21
                    <position x="255" y="270"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Train_P1</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="Train_P2">
 
34
                <graphics>
 
35
                    <position x="375" y="270"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>Train_P2</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="Train_Crossing">
 
48
                <graphics>
 
49
                    <position x="540" y="270"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="49" y="-17"/>
 
54
                    </graphics>
 
55
                    <text>Train_Crossing</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="Train_P4">
 
62
                <graphics>
 
63
                    <position x="660" y="270"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>Train_P4</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="Train_P5">
 
76
                <graphics>
 
77
                    <position x="300" y="90"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>Train_P5</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>2</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="LevelCrossing_P0">
 
90
                <graphics>
 
91
                    <position x="1155" y="75"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>LevelCrossing_P0</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>2</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="LevelCrossing_P1">
 
104
                <graphics>
 
105
                    <position x="930" y="270"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="105" y="38"/>
 
110
                    </graphics>
 
111
                    <text>LevelCrossing_P1</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="LevelCrossing_P7">
 
118
                <graphics>
 
119
                    <position x="1200" y="270"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="60" y="40"/>
 
124
                    </graphics>
 
125
                    <text>LevelCrossing_P7</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="LevelCrossing_P8">
 
132
                <graphics>
 
133
                    <position x="1380" y="270"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="40" y="39"/>
 
138
                    </graphics>
 
139
                    <text>LevelCrossing_P8</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="TragicLight_Green">
 
146
                <graphics>
 
147
                    <position x="45" y="765"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>TragicLight_Green</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>1</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="TragicLight_Yellow">
 
160
                <graphics>
 
161
                    <position x="360" y="675"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>TragicLight_Yellow</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>0</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <place id="TragicLight_Red">
 
174
                <graphics>
 
175
                    <position x="690" y="765"/>
 
176
                </graphics>
 
177
                <name>
 
178
                    <graphics>
 
179
                        <offset x="-5" y="35"/>
 
180
                    </graphics>
 
181
                    <text>TragicLight_Red</text>
 
182
                </name>
 
183
                <initialMarking>
 
184
                    <text>0</text>
 
185
                </initialMarking>
 
186
            </place>
 
187
            <place id="TragicLight_Request">
 
188
                <graphics>
 
189
                    <position x="315" y="555"/>
 
190
                </graphics>
 
191
                <name>
 
192
                    <graphics>
 
193
                        <offset x="-15" y="18"/>
 
194
                    </graphics>
 
195
                    <text>TragicLight_Request</text>
 
196
                </name>
 
197
                <initialMarking>
 
198
                    <text>0</text>
 
199
                </initialMarking>
 
200
            </place>
 
201
            <transition id="Train_BrakingStarts">
 
202
                <name>
 
203
                    <graphics>
 
204
                        <offset x="43" y="61"/>
 
205
                    </graphics>
 
206
                    <text>Train_BrakingStarts</text>
 
207
                </name>
 
208
                <graphics>
 
209
                    <position x="180" y="270"/>
 
210
                </graphics>
 
211
            </transition>
 
212
            <transition id="Shared_BrakingStops">
 
213
                <name>
 
214
                    <graphics>
 
215
                        <offset x="44" y="59"/>
 
216
                    </graphics>
 
217
                    <text>Shared_BrakingStops</text>
 
218
                </name>
 
219
                <graphics>
 
220
                    <position x="315" y="270"/>
 
221
                </graphics>
 
222
            </transition>
 
223
            <transition id="Train_DangerZoneEntrance">
 
224
                <name>
 
225
                    <graphics>
 
226
                        <offset x="53" y="55"/>
 
227
                    </graphics>
 
228
                    <text>Train_DangerZoneEntrance</text>
 
229
                </name>
 
230
                <graphics>
 
231
                    <position x="495" y="270"/>
 
232
                </graphics>
 
233
            </transition>
 
234
            <transition id="Train_DangerZoneExit">
 
235
                <name>
 
236
                    <graphics>
 
237
                        <offset x="53" y="56"/>
 
238
                    </graphics>
 
239
                    <text>Train_DangerZoneExit</text>
 
240
                </name>
 
241
                <graphics>
 
242
                    <position x="600" y="270"/>
 
243
                </graphics>
 
244
            </transition>
 
245
            <transition id="Shared_RadioSignalSending">
 
246
                <name>
 
247
                    <graphics>
 
248
                        <offset x="59" y="62"/>
 
249
                    </graphics>
 
250
                    <text>Shared_RadioSignalSending</text>
 
251
                </name>
 
252
                <graphics>
 
253
                    <position x="45" y="270"/>
 
254
                </graphics>
 
255
            </transition>
 
256
            <transition id="Shared_OutputConnection">
 
257
                <name>
 
258
                    <graphics>
 
259
                        <offset x="76" y="56"/>
 
260
                    </graphics>
 
261
                    <text>Shared_OutputConnection</text>
 
262
                </name>
 
263
                <graphics>
 
264
                    <position x="750" y="270"/>
 
265
                </graphics>
 
266
            </transition>
 
267
            <transition id="Shared_StopCars">
 
268
                <name>
 
269
                    <graphics>
 
270
                        <offset x="29" y="62"/>
 
271
                    </graphics>
 
272
                    <text>Shared_StopCars</text>
 
273
                </name>
 
274
                <graphics>
 
275
                    <position x="1080" y="270"/>
 
276
                </graphics>
 
277
            </transition>
 
278
            <transition id="TragicLight_T1">
 
279
                <name>
 
280
                    <graphics>
 
281
                        <offset x="-5" y="35"/>
 
282
                    </graphics>
 
283
                    <text>TragicLight_T1</text>
 
284
                </name>
 
285
                <graphics>
 
286
                    <position x="180" y="720"/>
 
287
                </graphics>
 
288
            </transition>
 
289
            <transition id="TragicLight_T2">
 
290
                <name>
 
291
                    <graphics>
 
292
                        <offset x="-5" y="35"/>
 
293
                    </graphics>
 
294
                    <text>TragicLight_T2</text>
 
295
                </name>
 
296
                <graphics>
 
297
                    <position x="525" y="720"/>
 
298
                </graphics>
 
299
            </transition>
 
300
            <transition id="TragicLight_T5">
 
301
                <name>
 
302
                    <graphics>
 
303
                        <offset x="-5" y="35"/>
 
304
                    </graphics>
 
305
                    <text>TragicLight_T5</text>
 
306
                </name>
 
307
                <graphics>
 
308
                    <position x="345" y="870"/>
 
309
                </graphics>
 
310
            </transition>
 
311
            <transition id="TragicLight_T7">
 
312
                <name>
 
313
                    <graphics>
 
314
                        <offset x="-5" y="35"/>
 
315
                    </graphics>
 
316
                    <text>TragicLight_T7</text>
 
317
                </name>
 
318
                <graphics>
 
319
                    <position x="450" y="570"/>
 
320
                </graphics>
 
321
            </transition>
 
322
            <transition id="TragicLight_T8">
 
323
                <name>
 
324
                    <graphics>
 
325
                        <offset x="-5" y="35"/>
 
326
                    </graphics>
 
327
                    <text>TragicLight_T8</text>
 
328
                </name>
 
329
                <graphics>
 
330
                    <position x="645" y="555"/>
 
331
                </graphics>
 
332
            </transition>
 
333
            <arc id="Train_P5_to_Shared_RadioSignalSending" source="Train_P5" target="Shared_RadioSignalSending" type="normal"/>
 
334
            <arc id="Train_P0_to_Train_BrakingStarts" source="Train_P0" target="Train_BrakingStarts" type="normal"/>
 
335
            <arc id="Train_P1_to_Shared_BrakingStops" source="Train_P1" target="Shared_BrakingStops" type="normal"/>
 
336
            <arc id="Train_P2_to_Train_DangerZoneEntrance" source="Train_P2" target="Train_DangerZoneEntrance" type="normal"/>
 
337
            <arc id="Train_Crossing_to_Train_DangerZoneExit" source="Train_Crossing" target="Train_DangerZoneExit" type="normal"/>
 
338
            <arc id="Train_P4_to_Shared_OutputConnection" source="Train_P4" target="Shared_OutputConnection" type="normal"/>
 
339
            <arc id="LevelCrossing_P0_to_Shared_RadioSignalSending" source="LevelCrossing_P0" target="Shared_RadioSignalSending" type="normal"/>
 
340
            <arc id="LevelCrossing_P8_to_Shared_OutputConnection" source="LevelCrossing_P8" target="Shared_OutputConnection" type="normal"/>
 
341
            <arc id="TragicLight_Green_to_TragicLight_T1" source="TragicLight_Green" target="TragicLight_T1" type="normal"/>
 
342
            <arc id="TragicLight_Request_to_TragicLight_T1" source="TragicLight_Request" target="TragicLight_T1" type="normal"/>
 
343
            <arc id="TragicLight_Yellow_to_TragicLight_T2" source="TragicLight_Yellow" target="TragicLight_T2" type="normal"/>
 
344
            <arc id="TragicLight_Red_to_TragicLight_T5" source="TragicLight_Red" target="TragicLight_T5" type="normal"/>
 
345
            <arc id="TragicLight_Request_to_TragicLight_T7" source="TragicLight_Request" target="TragicLight_T7" type="normal"/>
 
346
            <arc id="TragicLight_Request_to_TragicLight_T8" source="TragicLight_Request" target="TragicLight_T8" type="normal">
 
347
                <graphics>
 
348
                    <position x="515" y="500"/>
 
349
                </graphics>
 
350
            </arc>
 
351
            <arc id="TragicLight_Red_to_TragicLight_T8" source="TragicLight_Red" target="TragicLight_T8" type="normal">
 
352
                <graphics>
 
353
                    <position x="635" y="680"/>
 
354
                </graphics>
 
355
            </arc>
 
356
            <arc id="Shared_RadioSignalSending_to_Train_P0" source="Shared_RadioSignalSending" target="Train_P0" type="normal"/>
 
357
            <arc id="Train_BrakingStarts_to_Train_P1" source="Train_BrakingStarts" target="Train_P1" type="normal"/>
 
358
            <arc id="Shared_BrakingStops_to_Train_P2" source="Shared_BrakingStops" target="Train_P2" type="normal"/>
 
359
            <arc id="Train_DangerZoneEntrance_to_Train_Crossing" source="Train_DangerZoneEntrance" target="Train_Crossing" type="normal"/>
 
360
            <arc id="Train_DangerZoneExit_to_Train_P4" source="Train_DangerZoneExit" target="Train_P4" type="normal"/>
 
361
            <arc id="Shared_OutputConnection_to_Train_P5" source="Shared_OutputConnection" target="Train_P5" type="normal"/>
 
362
            <arc id="Shared_OutputConnection_to_LevelCrossing_P0" source="Shared_OutputConnection" target="LevelCrossing_P0" type="normal"/>
 
363
            <arc id="Shared_RadioSignalSending_to_LevelCrossing_P1" source="Shared_RadioSignalSending" target="LevelCrossing_P1" type="normal"/>
 
364
            <arc id="Shared_StopCars_to_TragicLight_Request" source="Shared_StopCars" target="TragicLight_Request" type="normal"/>
 
365
            <arc id="TragicLight_T1_to_TragicLight_Yellow" source="TragicLight_T1" target="TragicLight_Yellow" type="normal"/>
 
366
            <arc id="TragicLight_T2_to_TragicLight_Red" source="TragicLight_T2" target="TragicLight_Red" type="normal"/>
 
367
            <arc id="TragicLight_T5_to_TragicLight_Green" source="TragicLight_T5" target="TragicLight_Green" type="normal"/>
 
368
            <arc id="TragicLight_T8_to_TragicLight_Red" source="TragicLight_T8" target="TragicLight_Red" type="normal">
 
369
                <graphics>
 
370
                    <position x="740" y="665"/>
 
371
                </graphics>
 
372
            </arc>
 
373
            <arc id="LevelCrossing_P7_to_Shared_BrakingStops" source="LevelCrossing_P7" target="Shared_BrakingStops" type="normal"/>
 
374
            <arc id="Shared_BrakingStops_to_LevelCrossing_P8" source="Shared_BrakingStops" target="LevelCrossing_P8" type="normal">
 
375
                <graphics>
 
376
                    <position x="1325" y="290"/>
 
377
                </graphics>
 
378
            </arc>
 
379
            <arc id="LevelCrossing_P1_to_Shared_StopCars" source="LevelCrossing_P1" target="Shared_StopCars" type="normal"/>
 
380
            <arc id="Shared_StopCars_to_LevelCrossing_P7" source="Shared_StopCars" target="LevelCrossing_P7" type="normal"/>
 
381
            <arc id="TragicLight_Yellow_to_TragicLight_T7" source="TragicLight_Yellow" target="TragicLight_T7" type="normal">
 
382
                <graphics>
 
383
                    <position x="409" y="619"/>
 
384
                </graphics>
 
385
            </arc>
 
386
            <arc id="TragicLight_T7_to_TragicLight_Yellow" source="TragicLight_T7" target="TragicLight_Yellow" type="normal">
 
387
                <graphics>
 
388
                    <position x="469" y="589"/>
 
389
                    <position x="469" y="649"/>
 
390
                </graphics>
 
391
            </arc>
 
392
        </page>
 
393
        <name>
 
394
            <text>ComposedModel</text>
 
395
        </name>
 
396
    </net>
 
397
</pnml>