~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/arithmetic-test003/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="P0">
 
6
                <graphics>
 
7
                    <position x="465" y="180"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>P0</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>1</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="P1">
 
20
                <graphics>
 
21
                    <position x="255" y="435"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>P1</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="P2">
 
34
                <graphics>
 
35
                    <position x="450" y="435"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>P2</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="P3">
 
48
                <graphics>
 
49
                    <position x="660" y="435"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>P3</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="P4">
 
62
                <graphics>
 
63
                    <position x="840" y="435"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>P4</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="P5">
 
76
                <graphics>
 
77
                    <position x="990" y="450"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>P5</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="P6">
 
90
                <graphics>
 
91
                    <position x="525" y="375"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>P6</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="P7">
 
104
                <graphics>
 
105
                    <position x="630" y="390"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>P7</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="P8">
 
118
                <graphics>
 
119
                    <position x="750" y="375"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>P8</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="P9">
 
132
                <graphics>
 
133
                    <position x="915" y="330"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>P9</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="P10">
 
146
                <graphics>
 
147
                    <position x="570" y="540"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>P10</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>0</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="P11">
 
160
                <graphics>
 
161
                    <position x="735" y="540"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>P11</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>0</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <place id="P12">
 
174
                <graphics>
 
175
                    <position x="930" y="510"/>
 
176
                </graphics>
 
177
                <name>
 
178
                    <graphics>
 
179
                        <offset x="-5" y="35"/>
 
180
                    </graphics>
 
181
                    <text>P12</text>
 
182
                </name>
 
183
                <initialMarking>
 
184
                    <text>0</text>
 
185
                </initialMarking>
 
186
            </place>
 
187
            <transition id="T0">
 
188
                <name>
 
189
                    <graphics>
 
190
                        <offset x="-5" y="35"/>
 
191
                    </graphics>
 
192
                    <text>T0</text>
 
193
                </name>
 
194
                <graphics>
 
195
                    <position x="585" y="300"/>
 
196
                </graphics>
 
197
            </transition>
 
198
            <transition id="T1">
 
199
                <name>
 
200
                    <graphics>
 
201
                        <offset x="-5" y="35"/>
 
202
                    </graphics>
 
203
                    <text>T1</text>
 
204
                </name>
 
205
                <graphics>
 
206
                    <position x="660" y="570"/>
 
207
                </graphics>
 
208
            </transition>
 
209
            <transition id="T2">
 
210
                <name>
 
211
                    <graphics>
 
212
                        <offset x="-5" y="35"/>
 
213
                    </graphics>
 
214
                    <text>T2</text>
 
215
                </name>
 
216
                <graphics>
 
217
                    <position x="810" y="630"/>
 
218
                </graphics>
 
219
            </transition>
 
220
            <transition id="T3">
 
221
                <name>
 
222
                    <graphics>
 
223
                        <offset x="-5" y="35"/>
 
224
                    </graphics>
 
225
                    <text>T3</text>
 
226
                </name>
 
227
                <graphics>
 
228
                    <position x="495" y="570"/>
 
229
                </graphics>
 
230
            </transition>
 
231
            <transition id="T4">
 
232
                <name>
 
233
                    <graphics>
 
234
                        <offset x="-5" y="35"/>
 
235
                    </graphics>
 
236
                    <text>T4</text>
 
237
                </name>
 
238
                <graphics>
 
239
                    <position x="315" y="570"/>
 
240
                </graphics>
 
241
            </transition>
 
242
            <transition id="T6">
 
243
                <name>
 
244
                    <graphics>
 
245
                        <offset x="-5" y="35"/>
 
246
                    </graphics>
 
247
                    <text>T6</text>
 
248
                </name>
 
249
                <graphics>
 
250
                    <position x="1020" y="615"/>
 
251
                </graphics>
 
252
            </transition>
 
253
            <transition id="T7">
 
254
                <name>
 
255
                    <graphics>
 
256
                        <offset x="-5" y="35"/>
 
257
                    </graphics>
 
258
                    <text>T7</text>
 
259
                </name>
 
260
                <graphics>
 
261
                    <position x="510" y="420"/>
 
262
                </graphics>
 
263
            </transition>
 
264
            <transition id="T8">
 
265
                <name>
 
266
                    <graphics>
 
267
                        <offset x="-5" y="35"/>
 
268
                    </graphics>
 
269
                    <text>T8</text>
 
270
                </name>
 
271
                <graphics>
 
272
                    <position x="600" y="420"/>
 
273
                </graphics>
 
274
            </transition>
 
275
            <transition id="T9">
 
276
                <name>
 
277
                    <graphics>
 
278
                        <offset x="-5" y="35"/>
 
279
                    </graphics>
 
280
                    <text>T9</text>
 
281
                </name>
 
282
                <graphics>
 
283
                    <position x="810" y="390"/>
 
284
                </graphics>
 
285
            </transition>
 
286
            <transition id="T10">
 
287
                <name>
 
288
                    <graphics>
 
289
                        <offset x="-5" y="35"/>
 
290
                    </graphics>
 
291
                    <text>T10</text>
 
292
                </name>
 
293
                <graphics>
 
294
                    <position x="975" y="390"/>
 
295
                </graphics>
 
296
            </transition>
 
297
            <transition id="T11">
 
298
                <name>
 
299
                    <graphics>
 
300
                        <offset x="-5" y="35"/>
 
301
                    </graphics>
 
302
                    <text>T11</text>
 
303
                </name>
 
304
                <graphics>
 
305
                    <position x="615" y="510"/>
 
306
                </graphics>
 
307
            </transition>
 
308
            <transition id="T12">
 
309
                <name>
 
310
                    <graphics>
 
311
                        <offset x="-5" y="35"/>
 
312
                    </graphics>
 
313
                    <text>T12</text>
 
314
                </name>
 
315
                <graphics>
 
316
                    <position x="780" y="510"/>
 
317
                </graphics>
 
318
            </transition>
 
319
            <transition id="T13">
 
320
                <name>
 
321
                    <graphics>
 
322
                        <offset x="-5" y="35"/>
 
323
                    </graphics>
 
324
                    <text>T13</text>
 
325
                </name>
 
326
                <graphics>
 
327
                    <position x="900" y="570"/>
 
328
                </graphics>
 
329
            </transition>
 
330
            <arc id="P0_to_T0" source="P0" target="T0" type="normal"/>
 
331
            <arc id="P3_to_T1" source="P3" target="T1" type="normal"/>
 
332
            <arc id="P4_to_T2" source="P4" target="T2" type="normal"/>
 
333
            <arc id="P2_to_T3" source="P2" target="T3" type="normal"/>
 
334
            <arc id="P1_to_T4" source="P1" target="T4" type="normal"/>
 
335
            <arc id="P2_to_T4" source="P2" target="T4" type="normal"/>
 
336
            <arc id="P5_to_T6" source="P5" target="T6" type="normal"/>
 
337
            <arc id="P6_to_T7" source="P6" target="T7" type="normal"/>
 
338
            <arc id="P7_to_T8" source="P7" target="T8" type="normal"/>
 
339
            <arc id="P8_to_T9" source="P8" target="T9" type="normal"/>
 
340
            <arc id="P9_to_T10" source="P9" target="T10" type="normal"/>
 
341
            <arc id="P3_to_T11" source="P3" target="T11" type="normal"/>
 
342
            <arc id="P10_to_T3" source="P10" target="T3" type="normal"/>
 
343
            <arc id="P3_to_T3" source="P3" target="T3" type="normal"/>
 
344
            <arc id="P4_to_T12" source="P4" target="T12" type="normal"/>
 
345
            <arc id="P11_to_T1" source="P11" target="T1" type="normal"/>
 
346
            <arc id="P4_to_T1" source="P4" target="T1" type="normal">
 
347
                <graphics>
 
348
                    <position x="719" y="524"/>
 
349
                </graphics>
 
350
            </arc>
 
351
            <arc id="P5_to_T13" source="P5" target="T13" type="normal"/>
 
352
            <arc id="P12_to_T2" source="P12" target="T2" type="normal">
 
353
                <graphics>
 
354
                    <position x="944" y="524"/>
 
355
                </graphics>
 
356
            </arc>
 
357
            <arc id="P5_to_T2" source="P5" target="T2" type="normal">
 
358
                <graphics>
 
359
                    <position x="869" y="524"/>
 
360
                </graphics>
 
361
            </arc>
 
362
            <arc id="T0_to_P1" source="T0" target="P1" type="normal"/>
 
363
            <arc id="T0_to_P6" source="T0" target="P6" type="normal"/>
 
364
            <arc id="T7_to_P2" source="T7" target="P2" type="normal"/>
 
365
            <arc id="T0_to_P2" source="T0" target="P2" type="normal">
 
366
                <graphics>
 
367
                    <position x="479" y="389"/>
 
368
                </graphics>
 
369
            </arc>
 
370
            <arc id="T0_to_P7" source="T0" target="P7" type="normal"/>
 
371
            <arc id="T8_to_P3" source="T8" target="P3" type="normal"/>
 
372
            <arc id="T0_to_P3" source="T0" target="P3" type="normal">
 
373
                <graphics>
 
374
                    <position x="704" y="419"/>
 
375
                </graphics>
 
376
            </arc>
 
377
            <arc id="T7_to_P3" source="T7" target="P3" type="normal">
 
378
                <graphics>
 
379
                    <position x="584" y="479"/>
 
380
                </graphics>
 
381
            </arc>
 
382
            <arc id="T0_to_P8" source="T0" target="P8" type="normal">
 
383
                <graphics>
 
384
                    <position x="734" y="344"/>
 
385
                </graphics>
 
386
            </arc>
 
387
            <arc id="T9_to_P4" source="T9" target="P4" type="normal"/>
 
388
            <arc id="T0_to_P4" source="T0" target="P4" type="normal">
 
389
                <graphics>
 
390
                    <position x="824" y="329"/>
 
391
                </graphics>
 
392
            </arc>
 
393
            <arc id="T8_to_P4" source="T8" target="P4" type="normal"/>
 
394
            <arc id="T7_to_P4" source="T7" target="P4" type="normal">
 
395
                <graphics>
 
396
                    <position x="539" y="509"/>
 
397
                    <position x="779" y="479"/>
 
398
                </graphics>
 
399
            </arc>
 
400
            <arc id="T0_to_P9" source="T0" target="P9" type="normal">
 
401
                <graphics>
 
402
                    <position x="824" y="269"/>
 
403
                </graphics>
 
404
            </arc>
 
405
            <arc id="T10_to_P5" source="T10" target="P5" type="normal"/>
 
406
            <arc id="T0_to_P5" source="T0" target="P5" type="normal">
 
407
                <graphics>
 
408
                    <position x="839" y="224"/>
 
409
                    <position x="1049" y="359"/>
 
410
                </graphics>
 
411
            </arc>
 
412
            <arc id="T9_to_P5" source="T9" target="P5" type="normal"/>
 
413
            <arc id="T8_to_P5" source="T8" target="P5" type="normal"/>
 
414
            <arc id="T7_to_P5" source="T7" target="P5" type="normal"/>
 
415
            <arc id="T11_to_P10" source="T11" target="P10" type="normal"/>
 
416
            <arc id="T12_to_P11" source="T12" target="P11" type="normal"/>
 
417
            <arc id="T13_to_P12" source="T13" target="P12" type="normal"/>
 
418
        </page>
 
419
        <name>
 
420
            <text>ComposedModel</text>
 
421
        </name>
 
422
    </net>
 
423
</pnml>