~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/workflow-test012/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="WR">
 
6
                <graphics>
 
7
                    <position x="180" y="240"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>WR</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>2</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="WN">
 
20
                <graphics>
 
21
                    <position x="405" y="240"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>WN</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="WD">
 
34
                <graphics>
 
35
                    <position x="690" y="240"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>WD</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="WRoom">
 
48
                <graphics>
 
49
                    <position x="690" y="660"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>WRoom</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="WO">
 
62
                <graphics>
 
63
                    <position x="825" y="540"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>WO</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="Out">
 
76
                <graphics>
 
77
                    <position x="180" y="390"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>Out</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="CHO">
 
90
                <graphics>
 
91
                    <position x="540" y="390"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>CHO</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="Working">
 
104
                <graphics>
 
105
                    <position x="225" y="120"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>Working</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>1</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="Resting">
 
118
                <graphics>
 
119
                    <position x="75" y="120"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>Resting</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="NurseResting">
 
132
                <graphics>
 
133
                    <position x="390" y="120"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>NurseResting</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="NurseWorking">
 
146
                <graphics>
 
147
                    <position x="540" y="120"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>NurseWorking</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>1</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="DoctorWorking">
 
160
                <graphics>
 
161
                    <position x="930" y="300"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="9" y="38"/>
 
166
                    </graphics>
 
167
                    <text>DoctorWorking</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>1</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <place id="DoctorResting">
 
174
                <graphics>
 
175
                    <position x="1110" y="300"/>
 
176
                </graphics>
 
177
                <name>
 
178
                    <graphics>
 
179
                        <offset x="-5" y="35"/>
 
180
                    </graphics>
 
181
                    <text>DoctorResting</text>
 
182
                </name>
 
183
                <initialMarking>
 
184
                    <text>0</text>
 
185
                </initialMarking>
 
186
            </place>
 
187
            <place id="SurgeonWorking">
 
188
                <graphics>
 
189
                    <position x="945" y="480"/>
 
190
                </graphics>
 
191
                <name>
 
192
                    <graphics>
 
193
                        <offset x="3" y="50"/>
 
194
                    </graphics>
 
195
                    <text>SurgeonWorking</text>
 
196
                </name>
 
197
                <initialMarking>
 
198
                    <text>1</text>
 
199
                </initialMarking>
 
200
            </place>
 
201
            <place id="SurgeonResting">
 
202
                <graphics>
 
203
                    <position x="1125" y="480"/>
 
204
                </graphics>
 
205
                <name>
 
206
                    <graphics>
 
207
                        <offset x="-5" y="35"/>
 
208
                    </graphics>
 
209
                    <text>SurgeonResting</text>
 
210
                </name>
 
211
                <initialMarking>
 
212
                    <text>0</text>
 
213
                </initialMarking>
 
214
            </place>
 
215
            <place id="WS">
 
216
                <graphics>
 
217
                    <position x="825" y="390"/>
 
218
                </graphics>
 
219
                <name>
 
220
                    <graphics>
 
221
                        <offset x="-5" y="35"/>
 
222
                    </graphics>
 
223
                    <text>WS</text>
 
224
                </name>
 
225
                <initialMarking>
 
226
                    <text>0</text>
 
227
                </initialMarking>
 
228
            </place>
 
229
            <transition id="Check_in">
 
230
                <name>
 
231
                    <graphics>
 
232
                        <offset x="-5" y="35"/>
 
233
                    </graphics>
 
234
                    <text>Check_in</text>
 
235
                </name>
 
236
                <graphics>
 
237
                    <position x="270" y="240"/>
 
238
                </graphics>
 
239
            </transition>
 
240
            <transition id="Nurse">
 
241
                <name>
 
242
                    <graphics>
 
243
                        <offset x="-5" y="35"/>
 
244
                    </graphics>
 
245
                    <text>Nurse</text>
 
246
                </name>
 
247
                <graphics>
 
248
                    <position x="585" y="240"/>
 
249
                </graphics>
 
250
            </transition>
 
251
            <transition id="DoctorOk">
 
252
                <name>
 
253
                    <graphics>
 
254
                        <offset x="-5" y="35"/>
 
255
                    </graphics>
 
256
                    <text>DoctorOk</text>
 
257
                </name>
 
258
                <graphics>
 
259
                    <position x="630" y="345"/>
 
260
                </graphics>
 
261
            </transition>
 
262
            <transition id="Surgeon">
 
263
                <name>
 
264
                    <graphics>
 
265
                        <offset x="-5" y="35"/>
 
266
                    </graphics>
 
267
                    <text>Surgeon</text>
 
268
                </name>
 
269
                <graphics>
 
270
                    <position x="825" y="480"/>
 
271
                </graphics>
 
272
            </transition>
 
273
            <transition id="Check_out">
 
274
                <name>
 
275
                    <graphics>
 
276
                        <offset x="-5" y="35"/>
 
277
                    </graphics>
 
278
                    <text>Check_out</text>
 
279
                </name>
 
280
                <graphics>
 
281
                    <position x="435" y="390"/>
 
282
                </graphics>
 
283
            </transition>
 
284
            <transition id="Operating">
 
285
                <name>
 
286
                    <graphics>
 
287
                        <offset x="-5" y="35"/>
 
288
                    </graphics>
 
289
                    <text>Operating</text>
 
290
                </name>
 
291
                <graphics>
 
292
                    <position x="825" y="600"/>
 
293
                </graphics>
 
294
            </transition>
 
295
            <transition id="In_Room">
 
296
                <name>
 
297
                    <graphics>
 
298
                        <offset x="-5" y="35"/>
 
299
                    </graphics>
 
300
                    <text>In_Room</text>
 
301
                </name>
 
302
                <graphics>
 
303
                    <position x="540" y="660"/>
 
304
                </graphics>
 
305
            </transition>
 
306
            <transition id="TR">
 
307
                <name>
 
308
                    <graphics>
 
309
                        <offset x="-5" y="35"/>
 
310
                    </graphics>
 
311
                    <text>TR</text>
 
312
                </name>
 
313
                <graphics>
 
314
                    <position x="150" y="165"/>
 
315
                </graphics>
 
316
            </transition>
 
317
            <transition id="TW">
 
318
                <name>
 
319
                    <graphics>
 
320
                        <offset x="-5" y="35"/>
 
321
                    </graphics>
 
322
                    <text>TW</text>
 
323
                </name>
 
324
                <graphics>
 
325
                    <position x="150" y="75"/>
 
326
                </graphics>
 
327
            </transition>
 
328
            <transition id="TNW">
 
329
                <name>
 
330
                    <graphics>
 
331
                        <offset x="-5" y="35"/>
 
332
                    </graphics>
 
333
                    <text>TNW</text>
 
334
                </name>
 
335
                <graphics>
 
336
                    <position x="450" y="75"/>
 
337
                </graphics>
 
338
            </transition>
 
339
            <transition id="TNR">
 
340
                <name>
 
341
                    <graphics>
 
342
                        <offset x="-5" y="35"/>
 
343
                    </graphics>
 
344
                    <text>TNR</text>
 
345
                </name>
 
346
                <graphics>
 
347
                    <position x="450" y="165"/>
 
348
                </graphics>
 
349
            </transition>
 
350
            <transition id="TDW">
 
351
                <name>
 
352
                    <graphics>
 
353
                        <offset x="-5" y="35"/>
 
354
                    </graphics>
 
355
                    <text>TDW</text>
 
356
                </name>
 
357
                <graphics>
 
358
                    <position x="1020" y="240"/>
 
359
                </graphics>
 
360
            </transition>
 
361
            <transition id="TDR">
 
362
                <name>
 
363
                    <graphics>
 
364
                        <offset x="-5" y="35"/>
 
365
                    </graphics>
 
366
                    <text>TDR</text>
 
367
                </name>
 
368
                <graphics>
 
369
                    <position x="1020" y="345"/>
 
370
                </graphics>
 
371
            </transition>
 
372
            <transition id="TSW">
 
373
                <name>
 
374
                    <graphics>
 
375
                        <offset x="-5" y="35"/>
 
376
                    </graphics>
 
377
                    <text>TSW</text>
 
378
                </name>
 
379
                <graphics>
 
380
                    <position x="1035" y="420"/>
 
381
                </graphics>
 
382
            </transition>
 
383
            <transition id="TSR">
 
384
                <name>
 
385
                    <graphics>
 
386
                        <offset x="-5" y="35"/>
 
387
                    </graphics>
 
388
                    <text>TSR</text>
 
389
                </name>
 
390
                <graphics>
 
391
                    <position x="1035" y="555"/>
 
392
                </graphics>
 
393
            </transition>
 
394
            <transition id="NurseOk">
 
395
                <name>
 
396
                    <graphics>
 
397
                        <offset x="-5" y="35"/>
 
398
                    </graphics>
 
399
                    <text>NurseOk</text>
 
400
                </name>
 
401
                <graphics>
 
402
                    <position x="540" y="300"/>
 
403
                </graphics>
 
404
            </transition>
 
405
            <transition id="Doctor">
 
406
                <name>
 
407
                    <graphics>
 
408
                        <offset x="-5" y="35"/>
 
409
                    </graphics>
 
410
                    <text>Doctor</text>
 
411
                </name>
 
412
                <graphics>
 
413
                    <position x="825" y="240"/>
 
414
                </graphics>
 
415
            </transition>
 
416
            <transition id="DoctorRoom">
 
417
                <name>
 
418
                    <graphics>
 
419
                        <offset x="-5" y="35"/>
 
420
                    </graphics>
 
421
                    <text>DoctorRoom</text>
 
422
                </name>
 
423
                <graphics>
 
424
                    <position x="690" y="405"/>
 
425
                </graphics>
 
426
            </transition>
 
427
            <transition id="T0">
 
428
                <name>
 
429
                    <graphics>
 
430
                        <offset x="-5" y="35"/>
 
431
                    </graphics>
 
432
                    <text>T0</text>
 
433
                </name>
 
434
                <graphics>
 
435
                    <position x="195" y="300"/>
 
436
                </graphics>
 
437
            </transition>
 
438
            <arc id="WR_to_Check_in" source="WR" target="Check_in" type="normal"/>
 
439
            <arc id="WN_to_Nurse" source="WN" target="Nurse" type="normal"/>
 
440
            <arc id="WD_to_DoctorOk" source="WD" target="DoctorOk" type="normal"/>
 
441
            <arc id="WO_to_Operating" source="WO" target="Operating" type="normal"/>
 
442
            <arc id="CHO_to_Check_out" source="CHO" target="Check_out" type="normal"/>
 
443
            <arc id="WRoom_to_In_Room" source="WRoom" target="In_Room" type="normal"/>
 
444
            <arc id="Resting_to_TW" source="Resting" target="TW" type="normal">
 
445
                <graphics>
 
446
                    <position x="92" y="92"/>
 
447
                </graphics>
 
448
            </arc>
 
449
            <arc id="NurseResting_to_TNW" source="NurseResting" target="TNW" type="normal">
 
450
                <graphics>
 
451
                    <position x="407" y="92"/>
 
452
                </graphics>
 
453
            </arc>
 
454
            <arc id="DoctorResting_to_TDW" source="DoctorResting" target="TDW" type="normal">
 
455
                <graphics>
 
456
                    <position x="1127" y="257"/>
 
457
                </graphics>
 
458
            </arc>
 
459
            <arc id="SurgeonResting_to_TSW" source="SurgeonResting" target="TSW" type="normal">
 
460
                <graphics>
 
461
                    <position x="1142" y="437"/>
 
462
                </graphics>
 
463
            </arc>
 
464
            <arc id="WN_to_NurseOk" source="WN" target="NurseOk" type="normal"/>
 
465
            <arc id="WS_to_Surgeon" source="WS" target="Surgeon" type="normal"/>
 
466
            <arc id="WD_to_Doctor" source="WD" target="Doctor" type="normal"/>
 
467
            <arc id="WD_to_DoctorRoom" source="WD" target="DoctorRoom" type="normal"/>
 
468
            <arc id="WR_to_T0" source="WR" target="T0" type="normal">
 
469
                <graphics>
 
470
                    <position x="178" y="298"/>
 
471
                </graphics>
 
472
            </arc>
 
473
            <arc id="Check_in_to_WN" source="Check_in" target="WN" type="normal"/>
 
474
            <arc id="Surgeon_to_WO" source="Surgeon" target="WO" type="normal"/>
 
475
            <arc id="Operating_to_WRoom" source="Operating" target="WRoom" type="normal">
 
476
                <graphics>
 
477
                    <position x="842" y="677"/>
 
478
                </graphics>
 
479
            </arc>
 
480
            <arc id="Check_out_to_Out" source="Check_out" target="Out" type="normal"/>
 
481
            <arc id="TW_to_Working" source="TW" target="Working" type="normal">
 
482
                <graphics>
 
483
                    <position x="242" y="92"/>
 
484
                </graphics>
 
485
            </arc>
 
486
            <arc id="TNW_to_NurseWorking" source="TNW" target="NurseWorking" type="normal">
 
487
                <graphics>
 
488
                    <position x="557" y="92"/>
 
489
                </graphics>
 
490
            </arc>
 
491
            <arc id="Nurse_to_WD" source="Nurse" target="WD" type="normal"/>
 
492
            <arc id="TDW_to_DoctorWorking" source="TDW" target="DoctorWorking" type="normal">
 
493
                <graphics>
 
494
                    <position x="947" y="257"/>
 
495
                </graphics>
 
496
            </arc>
 
497
            <arc id="TSW_to_SurgeonWorking" source="TSW" target="SurgeonWorking" type="normal">
 
498
                <graphics>
 
499
                    <position x="962" y="437"/>
 
500
                </graphics>
 
501
            </arc>
 
502
            <arc id="DoctorOk_to_CHO" source="DoctorOk" target="CHO" type="normal"/>
 
503
            <arc id="NurseOk_to_CHO" source="NurseOk" target="CHO" type="normal"/>
 
504
            <arc id="Doctor_to_WS" source="Doctor" target="WS" type="normal"/>
 
505
            <arc id="In_Room_to_CHO" source="In_Room" target="CHO" type="normal"/>
 
506
            <arc id="DoctorRoom_to_WRoom" source="DoctorRoom" target="WRoom" type="normal"/>
 
507
            <arc id="T0_to_WR" source="T0" target="WR" type="normal">
 
508
                <graphics>
 
509
                    <position x="238" y="298"/>
 
510
                </graphics>
 
511
            </arc>
 
512
            <arc id="Working_to_TR" source="Working" target="TR" type="normal">
 
513
                <graphics>
 
514
                    <position x="242" y="182"/>
 
515
                </graphics>
 
516
            </arc>
 
517
            <arc id="TR_to_Resting" source="TR" target="Resting" type="normal">
 
518
                <graphics>
 
519
                    <position x="167" y="182"/>
 
520
                    <position x="92" y="182"/>
 
521
                </graphics>
 
522
            </arc>
 
523
            <arc id="Working_to_Check_in" source="Working" target="Check_in" type="normal">
 
524
                <graphics>
 
525
                    <position x="287" y="137"/>
 
526
                </graphics>
 
527
            </arc>
 
528
            <arc id="Check_in_to_Working" source="Check_in" target="Working" type="normal"/>
 
529
            <arc id="NurseWorking_to_TNR" source="NurseWorking" target="TNR" type="normal">
 
530
                <graphics>
 
531
                    <position x="557" y="182"/>
 
532
                </graphics>
 
533
            </arc>
 
534
            <arc id="TNR_to_NurseResting" source="TNR" target="NurseResting" type="normal">
 
535
                <graphics>
 
536
                    <position x="407" y="182"/>
 
537
                </graphics>
 
538
            </arc>
 
539
            <arc id="NurseWorking_to_Nurse" source="NurseWorking" target="Nurse" type="normal">
 
540
                <graphics>
 
541
                    <position x="602" y="137"/>
 
542
                </graphics>
 
543
            </arc>
 
544
            <arc id="Nurse_to_NurseWorking" source="Nurse" target="NurseWorking" type="normal"/>
 
545
            <arc id="DoctorWorking_to_TDR" source="DoctorWorking" target="TDR" type="normal">
 
546
                <graphics>
 
547
                    <position x="947" y="362"/>
 
548
                </graphics>
 
549
            </arc>
 
550
            <arc id="TDR_to_DoctorResting" source="TDR" target="DoctorResting" type="normal">
 
551
                <graphics>
 
552
                    <position x="1127" y="362"/>
 
553
                </graphics>
 
554
            </arc>
 
555
            <arc id="DoctorWorking_to_DoctorOk" source="DoctorWorking" target="DoctorOk" type="normal"/>
 
556
            <arc id="DoctorOk_to_DoctorWorking" source="DoctorOk" target="DoctorWorking" type="normal"/>
 
557
            <arc id="SurgeonWorking_to_TSR" source="SurgeonWorking" target="TSR" type="normal">
 
558
                <graphics>
 
559
                    <position x="962" y="572"/>
 
560
                </graphics>
 
561
            </arc>
 
562
            <arc id="TSR_to_SurgeonResting" source="TSR" target="SurgeonResting" type="normal">
 
563
                <graphics>
 
564
                    <position x="1142" y="572"/>
 
565
                </graphics>
 
566
            </arc>
 
567
            <arc id="SurgeonWorking_to_Surgeon" source="SurgeonWorking" target="Surgeon" type="normal"/>
 
568
            <arc id="Surgeon_to_SurgeonWorking" source="Surgeon" target="SurgeonWorking" type="normal"/>
 
569
            <arc id="NurseWorking_to_Operating" source="NurseWorking" target="Operating" type="normal">
 
570
                <graphics>
 
571
                    <position x="662" y="77"/>
 
572
                    <position x="1172" y="77"/>
 
573
                    <position x="1172" y="617"/>
 
574
                </graphics>
 
575
            </arc>
 
576
            <arc id="Operating_to_NurseWorking" source="Operating" target="NurseWorking" type="normal">
 
577
                <graphics>
 
578
                    <position x="1172" y="617"/>
 
579
                    <position x="1177" y="80"/>
 
580
                    <position x="669" y="80"/>
 
581
                </graphics>
 
582
            </arc>
 
583
            <arc id="SurgeonWorking_to_Operating" source="SurgeonWorking" target="Operating" type="normal"/>
 
584
            <arc id="Operating_to_SurgeonWorking" source="Operating" target="SurgeonWorking" type="normal"/>
 
585
            <arc id="DoctorWorking_to_Doctor" source="DoctorWorking" target="Doctor" type="normal"/>
 
586
            <arc id="Doctor_to_DoctorWorking" source="Doctor" target="DoctorWorking" type="normal">
 
587
                <graphics>
 
588
                    <position x="886" y="286"/>
 
589
                </graphics>
 
590
            </arc>
 
591
            <arc id="DoctorWorking_to_DoctorRoom" source="DoctorWorking" target="DoctorRoom" type="normal"/>
 
592
            <arc id="DoctorRoom_to_DoctorWorking" source="DoctorRoom" target="DoctorWorking" type="normal"/>
 
593
            <arc id="Working_to_T0" source="Working" target="T0" type="inhibitor"/>
 
594
        </page>
 
595
        <name>
 
596
            <text>ComposedModel</text>
 
597
        </name>
 
598
    </net>
 
599
</pnml>