~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/exercise-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="P4">
 
6
                <graphics>
 
7
                    <position x="270" y="270"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>P4</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>2</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="P5">
 
20
                <graphics>
 
21
                    <position x="75" y="480"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>P5</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="P6">
 
34
                <graphics>
 
35
                    <position x="75" y="45"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>P6</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="P11">
 
48
                <graphics>
 
49
                    <position x="270" y="45"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>P11</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="P27">
 
62
                <graphics>
 
63
                    <position x="480" y="480"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>P27</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="number">
 
76
                <graphics>
 
77
                    <position x="570" y="0"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>number</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>14</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="P29">
 
90
                <graphics>
 
91
                    <position x="585" y="165"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>P29</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="P30">
 
104
                <graphics>
 
105
                    <position x="735" y="165"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>P30</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="P32">
 
118
                <graphics>
 
119
                    <position x="675" y="390"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>P32</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="notPrime">
 
132
                <graphics>
 
133
                    <position x="750" y="585"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>notPrime</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="venter">
 
146
                <graphics>
 
147
                    <position x="270" y="585"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>venter</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>1</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="P35">
 
160
                <graphics>
 
161
                    <position x="420" y="585"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>P35</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>0</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <place id="begrenser">
 
174
                <graphics>
 
175
                    <position x="450" y="150"/>
 
176
                </graphics>
 
177
                <name>
 
178
                    <graphics>
 
179
                        <offset x="-5" y="35"/>
 
180
                    </graphics>
 
181
                    <text>begrenser</text>
 
182
                </name>
 
183
                <initialMarking>
 
184
                    <text>0</text>
 
185
                </initialMarking>
 
186
            </place>
 
187
            <place id="P37">
 
188
                <graphics>
 
189
                    <position x="600" y="585"/>
 
190
                </graphics>
 
191
                <name>
 
192
                    <graphics>
 
193
                        <offset x="-5" y="35"/>
 
194
                    </graphics>
 
195
                    <text>P37</text>
 
196
                </name>
 
197
                <initialMarking>
 
198
                    <text>1</text>
 
199
                </initialMarking>
 
200
            </place>
 
201
            <place id="P38">
 
202
                <graphics>
 
203
                    <position x="675" y="660"/>
 
204
                </graphics>
 
205
                <name>
 
206
                    <graphics>
 
207
                        <offset x="-5" y="35"/>
 
208
                    </graphics>
 
209
                    <text>P38</text>
 
210
                </name>
 
211
                <initialMarking>
 
212
                    <text>0</text>
 
213
                </initialMarking>
 
214
            </place>
 
215
            <transition id="T2">
 
216
                <name>
 
217
                    <graphics>
 
218
                        <offset x="-5" y="35"/>
 
219
                    </graphics>
 
220
                    <text>T2</text>
 
221
                </name>
 
222
                <graphics>
 
223
                    <position x="75" y="270"/>
 
224
                </graphics>
 
225
            </transition>
 
226
            <transition id="T5">
 
227
                <name>
 
228
                    <graphics>
 
229
                        <offset x="-5" y="35"/>
 
230
                    </graphics>
 
231
                    <text>T5</text>
 
232
                </name>
 
233
                <graphics>
 
234
                    <position x="195" y="45"/>
 
235
                </graphics>
 
236
            </transition>
 
237
            <transition id="T6">
 
238
                <name>
 
239
                    <graphics>
 
240
                        <offset x="-5" y="35"/>
 
241
                    </graphics>
 
242
                    <text>T6</text>
 
243
                </name>
 
244
                <graphics>
 
245
                    <position x="270" y="165"/>
 
246
                </graphics>
 
247
            </transition>
 
248
            <transition id="T19">
 
249
                <name>
 
250
                    <graphics>
 
251
                        <offset x="-5" y="35"/>
 
252
                    </graphics>
 
253
                    <text>T19</text>
 
254
                </name>
 
255
                <graphics>
 
256
                    <position x="270" y="480"/>
 
257
                </graphics>
 
258
            </transition>
 
259
            <transition id="T20">
 
260
                <name>
 
261
                    <graphics>
 
262
                        <offset x="-5" y="35"/>
 
263
                    </graphics>
 
264
                    <text>T20</text>
 
265
                </name>
 
266
                <graphics>
 
267
                    <position x="660" y="120"/>
 
268
                </graphics>
 
269
            </transition>
 
270
            <transition id="T21">
 
271
                <name>
 
272
                    <graphics>
 
273
                        <offset x="-5" y="35"/>
 
274
                    </graphics>
 
275
                    <text>T21</text>
 
276
                </name>
 
277
                <graphics>
 
278
                    <position x="480" y="255"/>
 
279
                </graphics>
 
280
            </transition>
 
281
            <transition id="T22">
 
282
                <name>
 
283
                    <graphics>
 
284
                        <offset x="-5" y="35"/>
 
285
                    </graphics>
 
286
                    <text>T22</text>
 
287
                </name>
 
288
                <graphics>
 
289
                    <position x="645" y="270"/>
 
290
                </graphics>
 
291
            </transition>
 
292
            <transition id="T23">
 
293
                <name>
 
294
                    <graphics>
 
295
                        <offset x="-5" y="35"/>
 
296
                    </graphics>
 
297
                    <text>T23</text>
 
298
                </name>
 
299
                <graphics>
 
300
                    <position x="750" y="480"/>
 
301
                </graphics>
 
302
            </transition>
 
303
            <transition id="T24">
 
304
                <name>
 
305
                    <graphics>
 
306
                        <offset x="-5" y="35"/>
 
307
                    </graphics>
 
308
                    <text>T24</text>
 
309
                </name>
 
310
                <graphics>
 
311
                    <position x="345" y="585"/>
 
312
                </graphics>
 
313
            </transition>
 
314
            <transition id="T26">
 
315
                <name>
 
316
                    <graphics>
 
317
                        <offset x="-5" y="35"/>
 
318
                    </graphics>
 
319
                    <text>T26</text>
 
320
                </name>
 
321
                <graphics>
 
322
                    <position x="675" y="585"/>
 
323
                </graphics>
 
324
            </transition>
 
325
            <arc id="P4_to_T2" source="P4" target="T2" type="normal"/>
 
326
            <arc id="P6_to_T5" source="P6" target="T5" type="normal"/>
 
327
            <arc id="P11_to_T6" source="P11" target="T6" type="normal"/>
 
328
            <arc id="P5_to_T19" source="P5" target="T19" type="normal"/>
 
329
            <arc id="number_to_T20" source="number" target="T20" type="normal"/>
 
330
            <arc id="P29_to_T21" source="P29" target="T21" type="normal">
 
331
                <inscription>
 
332
                    <text>2</text>
 
333
                </inscription>
 
334
            </arc>
 
335
            <arc id="P30_to_T22" source="P30" target="T22" type="normal"/>
 
336
            <arc id="P27_to_T22" source="P27" target="T22" type="normal"/>
 
337
            <arc id="P32_to_T23" source="P32" target="T23" type="normal"/>
 
338
            <arc id="venter_to_T24" source="venter" target="T24" type="normal"/>
 
339
            <arc id="begrenser_to_T6" source="begrenser" target="T6" type="normal"/>
 
340
            <arc id="P37_to_T26" source="P37" target="T26" type="normal"/>
 
341
            <arc id="notPrime_to_T26" source="notPrime" target="T26" type="normal"/>
 
342
            <arc id="T2_to_P5" source="T2" target="P5" type="normal"/>
 
343
            <arc id="T2_to_P6" source="T2" target="P6" type="normal"/>
 
344
            <arc id="T5_to_P11" source="T5" target="P11" type="normal"/>
 
345
            <arc id="T6_to_P4" source="T6" target="P4" type="normal"/>
 
346
            <arc id="T19_to_P27" source="T19" target="P27" type="normal"/>
 
347
            <arc id="T20_to_P29" source="T20" target="P29" type="normal"/>
 
348
            <arc id="T20_to_P30" source="T20" target="P30" type="normal"/>
 
349
            <arc id="T21_to_P4" source="T21" target="P4" type="normal"/>
 
350
            <arc id="T22_to_P32" source="T22" target="P32" type="normal"/>
 
351
            <arc id="T23_to_notPrime" source="T23" target="notPrime" type="normal"/>
 
352
            <arc id="T24_to_P35" source="T24" target="P35" type="normal"/>
 
353
            <arc id="T20_to_begrenser" source="T20" target="begrenser" type="normal"/>
 
354
            <arc id="T26_to_P38" source="T26" target="P38" type="normal"/>
 
355
            <arc id="P4_to_T5" source="P4" target="T5" type="inhibitor"/>
 
356
            <arc id="P6_to_T6" source="P6" target="T6" type="inhibitor"/>
 
357
            <arc id="P11_to_T2" source="P11" target="T2" type="inhibitor"/>
 
358
            <arc id="P4_to_T19" source="P4" target="T19" type="inhibitor"/>
 
359
            <arc id="P6_to_T19" source="P6" target="T19" type="inhibitor"/>
 
360
            <arc id="P5_to_T21" source="P5" target="T21" type="inhibitor"/>
 
361
            <arc id="P27_to_T21" source="P27" target="T21" type="inhibitor"/>
 
362
            <arc id="P30_to_T23" source="P30" target="T23" type="inhibitor"/>
 
363
            <arc id="P27_to_T23" source="P27" target="T23" type="inhibitor"/>
 
364
            <arc id="P5_to_T22" source="P5" target="T22" type="inhibitor"/>
 
365
            <arc id="venter_to_T19" source="venter" target="T19" type="inhibitor"/>
 
366
            <arc id="number_to_T22" source="number" target="T22" type="inhibitor"/>
 
367
            <arc id="number_to_T21" source="number" target="T21" type="inhibitor"/>
 
368
            <arc id="number_to_T2" source="number" target="T2" type="inhibitor"/>
 
369
            <arc id="P6_to_T21" source="P6" target="T21" type="inhibitor"/>
 
370
            <arc id="P11_to_T21" source="P11" target="T21" type="inhibitor"/>
 
371
            <arc id="P32_to_T21" source="P32" target="T21" type="inhibitor"/>
 
372
        </page>
 
373
        <name>
 
374
            <text>ComposedModel</text>
 
375
        </name>
 
376
    </net>
 
377
</pnml>