~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/abp-test004/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="Medium_A">
 
6
                <graphics>
 
7
                    <position x="390" y="150"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="50" y="-5"/>
 
12
                    </graphics>
 
13
                    <text>Medium_A</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>0</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Sender_0_A">
 
20
                <graphics>
 
21
                    <position x="150" y="60"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Sender_0_A</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>1</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="Receiver_1_B">
 
34
                <graphics>
 
35
                    <position x="600" y="615"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="107" y="32"/>
 
40
                    </graphics>
 
41
                    <text>Receiver_1_B</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="Receiver_0_A">
 
48
                <graphics>
 
49
                    <position x="600" y="780"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>Receiver_0_A</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>1</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="Sender_0_B">
 
62
                <graphics>
 
63
                    <position x="150" y="240"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="31"/>
 
68
                    </graphics>
 
69
                    <text>Sender_0_B</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="Sender_1_A">
 
76
                <graphics>
 
77
                    <position x="150" y="450"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>Sender_1_A</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="Sender_1_B">
 
90
                <graphics>
 
91
                    <position x="150" y="630"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>Sender_1_B</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="Medium_B">
 
104
                <graphics>
 
105
                    <position x="390" y="360"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="44" y="0"/>
 
110
                    </graphics>
 
111
                    <text>Medium_B</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="Medium_C">
 
118
                <graphics>
 
119
                    <position x="390" y="540"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="48" y="4"/>
 
124
                    </graphics>
 
125
                    <text>Medium_C</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="Medium_D">
 
132
                <graphics>
 
133
                    <position x="390" y="720"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="44" y="0"/>
 
138
                    </graphics>
 
139
                    <text>Medium_D</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="Receiver_0_B">
 
146
                <graphics>
 
147
                    <position x="600" y="240"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="110" y="33"/>
 
152
                    </graphics>
 
153
                    <text>Receiver_0_B</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>0</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="Receiver_1_A">
 
160
                <graphics>
 
161
                    <position x="600" y="450"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="110" y="35"/>
 
166
                    </graphics>
 
167
                    <text>Receiver_1_A</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>0</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <transition id="Ack_rec_0">
 
174
                <name>
 
175
                    <graphics>
 
176
                        <offset x="-5" y="35"/>
 
177
                    </graphics>
 
178
                    <text>Ack_rec_0</text>
 
179
                </name>
 
180
                <graphics>
 
181
                    <position x="150" y="360"/>
 
182
                </graphics>
 
183
            </transition>
 
184
            <transition id="Send_1">
 
185
                <name>
 
186
                    <graphics>
 
187
                        <offset x="-5" y="35"/>
 
188
                    </graphics>
 
189
                    <text>Send_1</text>
 
190
                </name>
 
191
                <graphics>
 
192
                    <position x="150" y="540"/>
 
193
                </graphics>
 
194
            </transition>
 
195
            <transition id="Ack_send_0">
 
196
                <name>
 
197
                    <graphics>
 
198
                        <offset x="110" y="31"/>
 
199
                    </graphics>
 
200
                    <text>Ack_send_0</text>
 
201
                </name>
 
202
                <graphics>
 
203
                    <position x="600" y="360"/>
 
204
                </graphics>
 
205
            </transition>
 
206
            <transition id="Loss_C">
 
207
                <name>
 
208
                    <graphics>
 
209
                        <offset x="-5" y="35"/>
 
210
                    </graphics>
 
211
                    <text>Loss_C</text>
 
212
                </name>
 
213
                <graphics>
 
214
                    <position x="390" y="630"/>
 
215
                </graphics>
 
216
            </transition>
 
217
            <transition id="Loss_D">
 
218
                <name>
 
219
                    <graphics>
 
220
                        <offset x="-5" y="35"/>
 
221
                    </graphics>
 
222
                    <text>Loss_D</text>
 
223
                </name>
 
224
                <graphics>
 
225
                    <position x="390" y="780"/>
 
226
                </graphics>
 
227
            </transition>
 
228
            <transition id="ReSend_1">
 
229
                <name>
 
230
                    <graphics>
 
231
                        <offset x="63" y="50"/>
 
232
                    </graphics>
 
233
                    <text>ReSend_1</text>
 
234
                </name>
 
235
                <graphics>
 
236
                    <position x="240" y="630"/>
 
237
                </graphics>
 
238
            </transition>
 
239
            <transition id="Receive_old_1">
 
240
                <name>
 
241
                    <graphics>
 
242
                        <offset x="74" y="-4"/>
 
243
                    </graphics>
 
244
                    <text>Receive_old_1</text>
 
245
                </name>
 
246
                <graphics>
 
247
                    <position x="510" y="615"/>
 
248
                </graphics>
 
249
            </transition>
 
250
            <transition id="Ack_send_1">
 
251
                <name>
 
252
                    <graphics>
 
253
                        <offset x="108" y="33"/>
 
254
                    </graphics>
 
255
                    <text>Ack_send_1</text>
 
256
                </name>
 
257
                <graphics>
 
258
                    <position x="600" y="720"/>
 
259
                </graphics>
 
260
            </transition>
 
261
            <transition id="Ack_rec_1">
 
262
                <name>
 
263
                    <graphics>
 
264
                        <offset x="-5" y="35"/>
 
265
                    </graphics>
 
266
                    <text>Ack_rec_1</text>
 
267
                </name>
 
268
                <graphics>
 
269
                    <position x="150" y="720"/>
 
270
                </graphics>
 
271
            </transition>
 
272
            <transition id="Send_0">
 
273
                <name>
 
274
                    <graphics>
 
275
                        <offset x="-5" y="35"/>
 
276
                    </graphics>
 
277
                    <text>Send_0</text>
 
278
                </name>
 
279
                <graphics>
 
280
                    <position x="150" y="150"/>
 
281
                </graphics>
 
282
            </transition>
 
283
            <transition id="Receive_0">
 
284
                <name>
 
285
                    <graphics>
 
286
                        <offset x="92" y="36"/>
 
287
                    </graphics>
 
288
                    <text>Receive_0</text>
 
289
                </name>
 
290
                <graphics>
 
291
                    <position x="600" y="150"/>
 
292
                </graphics>
 
293
            </transition>
 
294
            <transition id="ReSend_0">
 
295
                <name>
 
296
                    <graphics>
 
297
                        <offset x="65" y="46"/>
 
298
                    </graphics>
 
299
                    <text>ReSend_0</text>
 
300
                </name>
 
301
                <graphics>
 
302
                    <position x="240" y="240"/>
 
303
                </graphics>
 
304
            </transition>
 
305
            <transition id="Receive_old_0">
 
306
                <name>
 
307
                    <graphics>
 
308
                        <offset x="90" y="-3"/>
 
309
                    </graphics>
 
310
                    <text>Receive_old_0</text>
 
311
                </name>
 
312
                <graphics>
 
313
                    <position x="495" y="240"/>
 
314
                </graphics>
 
315
            </transition>
 
316
            <transition id="Loss_A">
 
317
                <name>
 
318
                    <graphics>
 
319
                        <offset x="-5" y="35"/>
 
320
                    </graphics>
 
321
                    <text>Loss_A</text>
 
322
                </name>
 
323
                <graphics>
 
324
                    <position x="390" y="240"/>
 
325
                </graphics>
 
326
            </transition>
 
327
            <transition id="Loss_B">
 
328
                <name>
 
329
                    <graphics>
 
330
                        <offset x="-5" y="35"/>
 
331
                    </graphics>
 
332
                    <text>Loss_B</text>
 
333
                </name>
 
334
                <graphics>
 
335
                    <position x="390" y="450"/>
 
336
                </graphics>
 
337
            </transition>
 
338
            <transition id="Receive_1">
 
339
                <name>
 
340
                    <graphics>
 
341
                        <offset x="89" y="31"/>
 
342
                    </graphics>
 
343
                    <text>Receive_1</text>
 
344
                </name>
 
345
                <graphics>
 
346
                    <position x="600" y="540"/>
 
347
                </graphics>
 
348
            </transition>
 
349
            <arc id="Medium_A_to_Loss_A" source="Medium_A" target="Loss_A" type="normal"/>
 
350
            <arc id="Receiver_0_A_to_Receive_old_1" source="Receiver_0_A" target="Receive_old_1" type="normal"/>
 
351
            <arc id="Receiver_0_A_to_Receive_0" source="Receiver_0_A" target="Receive_0" type="normal">
 
352
                <graphics>
 
353
                    <position x="681" y="806"/>
 
354
                    <position x="730" y="805"/>
 
355
                    <position x="730" y="145"/>
 
356
                    <position x="656" y="144"/>
 
357
                </graphics>
 
358
            </arc>
 
359
            <arc id="Sender_0_A_to_Send_0" source="Sender_0_A" target="Send_0" type="normal"/>
 
360
            <arc id="Sender_0_B_to_Ack_rec_0" source="Sender_0_B" target="Ack_rec_0" type="normal"/>
 
361
            <arc id="Sender_0_B_to_ReSend_0" source="Sender_0_B" target="ReSend_0" type="normal">
 
362
                <graphics>
 
363
                    <position x="220" y="235"/>
 
364
                </graphics>
 
365
            </arc>
 
366
            <arc id="Sender_1_A_to_Send_1" source="Sender_1_A" target="Send_1" type="normal"/>
 
367
            <arc id="Sender_1_B_to_ReSend_1" source="Sender_1_B" target="ReSend_1" type="normal">
 
368
                <graphics>
 
369
                    <position x="220" y="625"/>
 
370
                </graphics>
 
371
            </arc>
 
372
            <arc id="Sender_1_B_to_Ack_rec_1" source="Sender_1_B" target="Ack_rec_1" type="normal"/>
 
373
            <arc id="Medium_B_to_Ack_rec_0" source="Medium_B" target="Ack_rec_0" type="normal"/>
 
374
            <arc id="Medium_B_to_Loss_B" source="Medium_B" target="Loss_B" type="normal"/>
 
375
            <arc id="Medium_C_to_Loss_C" source="Medium_C" target="Loss_C" type="normal"/>
 
376
            <arc id="Medium_D_to_Loss_D" source="Medium_D" target="Loss_D" type="normal"/>
 
377
            <arc id="Medium_D_to_Ack_rec_1" source="Medium_D" target="Ack_rec_1" type="normal"/>
 
378
            <arc id="Receiver_1_A_to_Receive_old_0" source="Receiver_1_A" target="Receive_old_0" type="normal"/>
 
379
            <arc id="Receiver_1_A_to_Receive_1" source="Receiver_1_A" target="Receive_1" type="normal"/>
 
380
            <arc id="Ack_rec_0_to_Sender_1_A" source="Ack_rec_0" target="Sender_1_A" type="normal"/>
 
381
            <arc id="Ack_send_0_to_Receiver_1_A" source="Ack_send_0" target="Receiver_1_A" type="normal"/>
 
382
            <arc id="ReSend_1_to_Sender_1_B" source="ReSend_1" target="Sender_1_B" type="normal">
 
383
                <graphics>
 
384
                    <position x="220" y="700"/>
 
385
                </graphics>
 
386
            </arc>
 
387
            <arc id="ReSend_1_to_Medium_C" source="ReSend_1" target="Medium_C" type="normal"/>
 
388
            <arc id="Ack_send_1_to_Receiver_0_A" source="Ack_send_1" target="Receiver_0_A" type="normal"/>
 
389
            <arc id="Send_1_to_Sender_1_B" source="Send_1" target="Sender_1_B" type="normal"/>
 
390
            <arc id="Send_1_to_Medium_C" source="Send_1" target="Medium_C" type="normal"/>
 
391
            <arc id="Ack_rec_1_to_Sender_0_A" source="Ack_rec_1" target="Sender_0_A" type="normal">
 
392
                <graphics>
 
393
                    <position x="144" y="804"/>
 
394
                    <position x="69" y="804"/>
 
395
                    <position x="69" y="39"/>
 
396
                    <position x="174" y="39"/>
 
397
                </graphics>
 
398
            </arc>
 
399
            <arc id="Send_0_to_Medium_A" source="Send_0" target="Medium_A" type="normal"/>
 
400
            <arc id="Send_0_to_Sender_0_B" source="Send_0" target="Sender_0_B" type="normal"/>
 
401
            <arc id="ReSend_0_to_Medium_A" source="ReSend_0" target="Medium_A" type="normal"/>
 
402
            <arc id="ReSend_0_to_Sender_0_B" source="ReSend_0" target="Sender_0_B" type="normal">
 
403
                <graphics>
 
404
                    <position x="220" y="310"/>
 
405
                </graphics>
 
406
            </arc>
 
407
            <arc id="Receiver_0_B_to_Ack_send_0" source="Receiver_0_B" target="Ack_send_0" type="normal"/>
 
408
            <arc id="Ack_send_0_to_Medium_B" source="Ack_send_0" target="Medium_B" type="normal"/>
 
409
            <arc id="Medium_C_to_Receive_old_1" source="Medium_C" target="Receive_old_1" type="normal"/>
 
410
            <arc id="Receive_old_1_to_Receiver_1_B" source="Receive_old_1" target="Receiver_1_B" type="normal"/>
 
411
            <arc id="Receiver_1_B_to_Ack_send_1" source="Receiver_1_B" target="Ack_send_1" type="normal"/>
 
412
            <arc id="Ack_send_1_to_Medium_D" source="Ack_send_1" target="Medium_D" type="normal"/>
 
413
            <arc id="Medium_A_to_Receive_0" source="Medium_A" target="Receive_0" type="normal"/>
 
414
            <arc id="Receive_0_to_Receiver_0_B" source="Receive_0" target="Receiver_0_B" type="normal"/>
 
415
            <arc id="Medium_A_to_Receive_old_0" source="Medium_A" target="Receive_old_0" type="normal"/>
 
416
            <arc id="Receive_old_0_to_Receiver_0_B" source="Receive_old_0" target="Receiver_0_B" type="normal"/>
 
417
            <arc id="Medium_C_to_Receive_1" source="Medium_C" target="Receive_1" type="normal"/>
 
418
            <arc id="Receive_1_to_Receiver_1_B" source="Receive_1" target="Receiver_1_B" type="normal"/>
 
419
        </page>
 
420
        <name>
 
421
            <text>ComposedModel</text>
 
422
        </name>
 
423
    </net>
 
424
</pnml>