~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/extra-test-004-burger/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="Shared_Ham">
 
6
                <graphics>
 
7
                    <position x="330" y="90"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>Shared_Ham</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>5</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Shared_Cheese">
 
20
                <graphics>
 
21
                    <position x="450" y="180"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Shared_Cheese</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>5</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="Shared_Bread">
 
34
                <graphics>
 
35
                    <position x="120" y="90"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>Shared_Bread</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>5</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="Shared_MissedDeadline">
 
48
                <graphics>
 
49
                    <position x="225" y="555"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>Shared_MissedDeadline</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="BreadImporter_P1">
 
62
                <graphics>
 
63
                    <position x="180" y="180"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>BreadImporter_P1</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>1</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="CheeseImporter_P1">
 
76
                <graphics>
 
77
                    <position x="690" y="180"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>CheeseImporter_P1</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>1</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="HamImporter_P1">
 
90
                <graphics>
 
91
                    <position x="180" y="735"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>HamImporter_P1</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>1</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="HamBurger_P2">
 
104
                <graphics>
 
105
                    <position x="735" y="870"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>HamBurger_P2</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>1</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="CheeseBurger_P2">
 
118
                <graphics>
 
119
                    <position x="225" y="1425"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>CheeseBurger_P2</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>1</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="DoubleBurger_P2">
 
132
                <graphics>
 
133
                    <position x="735" y="1425"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>DoubleBurger_P2</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>1</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <transition id="BreadImporter_T0">
 
146
                <name>
 
147
                    <graphics>
 
148
                        <offset x="-5" y="35"/>
 
149
                    </graphics>
 
150
                    <text>BreadImporter_T0</text>
 
151
                </name>
 
152
                <graphics>
 
153
                    <position x="315" y="180"/>
 
154
                </graphics>
 
155
            </transition>
 
156
            <transition id="BreadImporter_miss">
 
157
                <name>
 
158
                    <graphics>
 
159
                        <offset x="-5" y="35"/>
 
160
                    </graphics>
 
161
                    <text>BreadImporter_miss</text>
 
162
                </name>
 
163
                <graphics>
 
164
                    <position x="180" y="300"/>
 
165
                </graphics>
 
166
            </transition>
 
167
            <transition id="CheeseImporter_T0">
 
168
                <name>
 
169
                    <graphics>
 
170
                        <offset x="-5" y="35"/>
 
171
                    </graphics>
 
172
                    <text>CheeseImporter_T0</text>
 
173
                </name>
 
174
                <graphics>
 
175
                    <position x="825" y="180"/>
 
176
                </graphics>
 
177
            </transition>
 
178
            <transition id="CheeseImporter_miss">
 
179
                <name>
 
180
                    <graphics>
 
181
                        <offset x="-5" y="35"/>
 
182
                    </graphics>
 
183
                    <text>CheeseImporter_miss</text>
 
184
                </name>
 
185
                <graphics>
 
186
                    <position x="690" y="300"/>
 
187
                </graphics>
 
188
            </transition>
 
189
            <transition id="HamImporter_T0">
 
190
                <name>
 
191
                    <graphics>
 
192
                        <offset x="-5" y="35"/>
 
193
                    </graphics>
 
194
                    <text>HamImporter_T0</text>
 
195
                </name>
 
196
                <graphics>
 
197
                    <position x="315" y="735"/>
 
198
                </graphics>
 
199
            </transition>
 
200
            <transition id="HamImporter_miss">
 
201
                <name>
 
202
                    <graphics>
 
203
                        <offset x="-5" y="35"/>
 
204
                    </graphics>
 
205
                    <text>HamImporter_miss</text>
 
206
                </name>
 
207
                <graphics>
 
208
                    <position x="180" y="855"/>
 
209
                </graphics>
 
210
            </transition>
 
211
            <transition id="HamBurger_MakeHamBurger">
 
212
                <name>
 
213
                    <graphics>
 
214
                        <offset x="-5" y="35"/>
 
215
                    </graphics>
 
216
                    <text>HamBurger_MakeHamBurger</text>
 
217
                </name>
 
218
                <graphics>
 
219
                    <position x="735" y="750"/>
 
220
                </graphics>
 
221
            </transition>
 
222
            <transition id="HamBurger_miss">
 
223
                <name>
 
224
                    <graphics>
 
225
                        <offset x="-5" y="35"/>
 
226
                    </graphics>
 
227
                    <text>HamBurger_miss</text>
 
228
                </name>
 
229
                <graphics>
 
230
                    <position x="735" y="990"/>
 
231
                </graphics>
 
232
            </transition>
 
233
            <transition id="CheeseBurger_MakeCheeseBurger">
 
234
                <name>
 
235
                    <graphics>
 
236
                        <offset x="-5" y="35"/>
 
237
                    </graphics>
 
238
                    <text>CheeseBurger_MakeCheeseBurger</text>
 
239
                </name>
 
240
                <graphics>
 
241
                    <position x="225" y="1305"/>
 
242
                </graphics>
 
243
            </transition>
 
244
            <transition id="CheeseBurger_miss">
 
245
                <name>
 
246
                    <graphics>
 
247
                        <offset x="-5" y="35"/>
 
248
                    </graphics>
 
249
                    <text>CheeseBurger_miss</text>
 
250
                </name>
 
251
                <graphics>
 
252
                    <position x="225" y="1545"/>
 
253
                </graphics>
 
254
            </transition>
 
255
            <transition id="DoubleBurger_MakeDoubleBurger">
 
256
                <name>
 
257
                    <graphics>
 
258
                        <offset x="-5" y="35"/>
 
259
                    </graphics>
 
260
                    <text>DoubleBurger_MakeDoubleBurger</text>
 
261
                </name>
 
262
                <graphics>
 
263
                    <position x="735" y="1305"/>
 
264
                </graphics>
 
265
            </transition>
 
266
            <transition id="DoubleBurger_miss">
 
267
                <name>
 
268
                    <graphics>
 
269
                        <offset x="-5" y="35"/>
 
270
                    </graphics>
 
271
                    <text>DoubleBurger_miss</text>
 
272
                </name>
 
273
                <graphics>
 
274
                    <position x="735" y="1545"/>
 
275
                </graphics>
 
276
            </transition>
 
277
            <arc id="BreadImporter_P1_to_BreadImporter_T0" source="BreadImporter_P1" target="BreadImporter_T0" type="normal">
 
278
                <graphics>
 
279
                    <position x="258" y="153"/>
 
280
                </graphics>
 
281
            </arc>
 
282
            <arc id="BreadImporter_P1_to_BreadImporter_miss" source="BreadImporter_P1" target="BreadImporter_miss" type="normal"/>
 
283
            <arc id="CheeseImporter_P1_to_CheeseImporter_T0" source="CheeseImporter_P1" target="CheeseImporter_T0" type="normal">
 
284
                <graphics>
 
285
                    <position x="768" y="153"/>
 
286
                </graphics>
 
287
            </arc>
 
288
            <arc id="CheeseImporter_P1_to_CheeseImporter_miss" source="CheeseImporter_P1" target="CheeseImporter_miss" type="normal"/>
 
289
            <arc id="HamImporter_P1_to_HamImporter_T0" source="HamImporter_P1" target="HamImporter_T0" type="normal">
 
290
                <graphics>
 
291
                    <position x="258" y="708"/>
 
292
                </graphics>
 
293
            </arc>
 
294
            <arc id="HamImporter_P1_to_HamImporter_miss" source="HamImporter_P1" target="HamImporter_miss" type="normal"/>
 
295
            <arc id="Shared_Bread_to_HamBurger_MakeHamBurger" source="Shared_Bread" target="HamBurger_MakeHamBurger" type="normal"/>
 
296
            <arc id="Shared_Ham_to_HamBurger_MakeHamBurger" source="Shared_Ham" target="HamBurger_MakeHamBurger" type="normal"/>
 
297
            <arc id="HamBurger_P2_to_HamBurger_MakeHamBurger" source="HamBurger_P2" target="HamBurger_MakeHamBurger" type="normal">
 
298
                <graphics>
 
299
                    <position x="708" y="828"/>
 
300
                </graphics>
 
301
            </arc>
 
302
            <arc id="HamBurger_P2_to_HamBurger_miss" source="HamBurger_P2" target="HamBurger_miss" type="normal"/>
 
303
            <arc id="Shared_Bread_to_CheeseBurger_MakeCheeseBurger" source="Shared_Bread" target="CheeseBurger_MakeCheeseBurger" type="normal"/>
 
304
            <arc id="Shared_Ham_to_CheeseBurger_MakeCheeseBurger" source="Shared_Ham" target="CheeseBurger_MakeCheeseBurger" type="normal"/>
 
305
            <arc id="CheeseBurger_P2_to_CheeseBurger_MakeCheeseBurger" source="CheeseBurger_P2" target="CheeseBurger_MakeCheeseBurger" type="normal">
 
306
                <graphics>
 
307
                    <position x="198" y="1383"/>
 
308
                </graphics>
 
309
            </arc>
 
310
            <arc id="CheeseBurger_P2_to_CheeseBurger_miss" source="CheeseBurger_P2" target="CheeseBurger_miss" type="normal"/>
 
311
            <arc id="Shared_Cheese_to_CheeseBurger_MakeCheeseBurger" source="Shared_Cheese" target="CheeseBurger_MakeCheeseBurger" type="normal">
 
312
                <graphics>
 
313
                    <position x="453" y="1308"/>
 
314
                </graphics>
 
315
            </arc>
 
316
            <arc id="Shared_Bread_to_DoubleBurger_MakeDoubleBurger" source="Shared_Bread" target="DoubleBurger_MakeDoubleBurger" type="normal"/>
 
317
            <arc id="Shared_Ham_to_DoubleBurger_MakeDoubleBurger" source="Shared_Ham" target="DoubleBurger_MakeDoubleBurger" type="normal">
 
318
                <inscription>
 
319
                    <text>2</text>
 
320
                </inscription>
 
321
            </arc>
 
322
            <arc id="DoubleBurger_P2_to_DoubleBurger_MakeDoubleBurger" source="DoubleBurger_P2" target="DoubleBurger_MakeDoubleBurger" type="normal">
 
323
                <graphics>
 
324
                    <position x="708" y="1383"/>
 
325
                </graphics>
 
326
            </arc>
 
327
            <arc id="DoubleBurger_P2_to_DoubleBurger_miss" source="DoubleBurger_P2" target="DoubleBurger_miss" type="normal"/>
 
328
            <arc id="Shared_Cheese_to_DoubleBurger_MakeDoubleBurger" source="Shared_Cheese" target="DoubleBurger_MakeDoubleBurger" type="normal">
 
329
                <inscription>
 
330
                    <text>3</text>
 
331
                </inscription>
 
332
                <graphics>
 
333
                    <position x="963" y="1308"/>
 
334
                </graphics>
 
335
            </arc>
 
336
            <arc id="BreadImporter_T0_to_BreadImporter_P1" source="BreadImporter_T0" target="BreadImporter_P1" type="normal">
 
337
                <graphics>
 
338
                    <position x="258" y="243"/>
 
339
                </graphics>
 
340
            </arc>
 
341
            <arc id="BreadImporter_T0_to_Shared_Bread" source="BreadImporter_T0" target="Shared_Bread" type="normal">
 
342
                <inscription>
 
343
                    <text>5</text>
 
344
                </inscription>
 
345
            </arc>
 
346
            <arc id="BreadImporter_miss_to_Shared_MissedDeadline" source="BreadImporter_miss" target="Shared_MissedDeadline" type="normal"/>
 
347
            <arc id="CheeseImporter_T0_to_CheeseImporter_P1" source="CheeseImporter_T0" target="CheeseImporter_P1" type="normal">
 
348
                <graphics>
 
349
                    <position x="768" y="243"/>
 
350
                </graphics>
 
351
            </arc>
 
352
            <arc id="CheeseImporter_T0_to_Shared_Cheese" source="CheeseImporter_T0" target="Shared_Cheese" type="normal">
 
353
                <inscription>
 
354
                    <text>5</text>
 
355
                </inscription>
 
356
            </arc>
 
357
            <arc id="CheeseImporter_miss_to_Shared_MissedDeadline" source="CheeseImporter_miss" target="Shared_MissedDeadline" type="normal"/>
 
358
            <arc id="HamImporter_T0_to_HamImporter_P1" source="HamImporter_T0" target="HamImporter_P1" type="normal">
 
359
                <graphics>
 
360
                    <position x="258" y="798"/>
 
361
                </graphics>
 
362
            </arc>
 
363
            <arc id="HamImporter_T0_to_Shared_Ham" source="HamImporter_T0" target="Shared_Ham" type="normal">
 
364
                <inscription>
 
365
                    <text>8</text>
 
366
                </inscription>
 
367
            </arc>
 
368
            <arc id="HamImporter_miss_to_Shared_MissedDeadline" source="HamImporter_miss" target="Shared_MissedDeadline" type="normal"/>
 
369
            <arc id="HamBurger_MakeHamBurger_to_HamBurger_P2" source="HamBurger_MakeHamBurger" target="HamBurger_P2" type="normal">
 
370
                <graphics>
 
371
                    <position x="798" y="813"/>
 
372
                </graphics>
 
373
            </arc>
 
374
            <arc id="HamBurger_miss_to_Shared_MissedDeadline" source="HamBurger_miss" target="Shared_MissedDeadline" type="normal"/>
 
375
            <arc id="CheeseBurger_MakeCheeseBurger_to_CheeseBurger_P2" source="CheeseBurger_MakeCheeseBurger" target="CheeseBurger_P2" type="normal">
 
376
                <graphics>
 
377
                    <position x="288" y="1368"/>
 
378
                </graphics>
 
379
            </arc>
 
380
            <arc id="CheeseBurger_miss_to_Shared_MissedDeadline" source="CheeseBurger_miss" target="Shared_MissedDeadline" type="normal"/>
 
381
            <arc id="DoubleBurger_MakeDoubleBurger_to_DoubleBurger_P2" source="DoubleBurger_MakeDoubleBurger" target="DoubleBurger_P2" type="normal">
 
382
                <graphics>
 
383
                    <position x="798" y="1368"/>
 
384
                </graphics>
 
385
            </arc>
 
386
            <arc id="DoubleBurger_miss_to_Shared_MissedDeadline" source="DoubleBurger_miss" target="Shared_MissedDeadline" type="normal"/>
 
387
            <arc id="Shared_Bread_to_BreadImporter_T0" source="Shared_Bread" target="BreadImporter_T0" type="inhibitor">
 
388
                <inscription>
 
389
                    <text>11</text>
 
390
                </inscription>
 
391
                <graphics>
 
392
                    <position x="393" y="123"/>
 
393
                </graphics>
 
394
            </arc>
 
395
            <arc id="Shared_Cheese_to_CheeseImporter_T0" source="Shared_Cheese" target="CheeseImporter_T0" type="inhibitor">
 
396
                <inscription>
 
397
                    <text>11</text>
 
398
                </inscription>
 
399
                <graphics>
 
400
                    <position x="903" y="123"/>
 
401
                </graphics>
 
402
            </arc>
 
403
            <arc id="Shared_Ham_to_HamImporter_T0" source="Shared_Ham" target="HamImporter_T0" type="inhibitor">
 
404
                <inscription>
 
405
                    <text>11</text>
 
406
                </inscription>
 
407
                <graphics>
 
408
                    <position x="408" y="678"/>
 
409
                </graphics>
 
410
            </arc>
 
411
        </page>
 
412
        <name>
 
413
            <text>ComposedModel</text>
 
414
        </name>
 
415
    </net>
 
416
</pnml>