~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/prime-test0019/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="number">
 
6
                <graphics>
 
7
                    <position x="330" y="255"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>number</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>0</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="diviser">
 
20
                <graphics>
 
21
                    <position x="570" y="255"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>diviser</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>2</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="P2">
 
34
                <graphics>
 
35
                    <position x="570" y="405"/>
 
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="810" y="210"/>
 
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="notprime">
 
62
                <graphics>
 
63
                    <position x="330" y="420"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>notprime</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="P4">
 
76
                <graphics>
 
77
                    <position x="210" y="255"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>P4</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="P5">
 
90
                <graphics>
 
91
                    <position x="210" y="405"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>P5</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="P7">
 
104
                <graphics>
 
105
                    <position x="465" y="90"/>
 
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="330" y="90"/>
 
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="210" y="135"/>
 
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="init">
 
146
                <graphics>
 
147
                    <position x="150" y="15"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>init</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>7</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="P12">
 
160
                <graphics>
 
161
                    <position x="45" y="195"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>P12</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>3</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <transition id="T0">
 
174
                <name>
 
175
                    <graphics>
 
176
                        <offset x="-5" y="35"/>
 
177
                    </graphics>
 
178
                    <text>T0</text>
 
179
                </name>
 
180
                <graphics>
 
181
                    <position x="465" y="225"/>
 
182
                </graphics>
 
183
            </transition>
 
184
            <transition id="T1">
 
185
                <name>
 
186
                    <graphics>
 
187
                        <offset x="-5" y="35"/>
 
188
                    </graphics>
 
189
                    <text>T1</text>
 
190
                </name>
 
191
                <graphics>
 
192
                    <position x="810" y="405"/>
 
193
                </graphics>
 
194
            </transition>
 
195
            <transition id="T2">
 
196
                <name>
 
197
                    <graphics>
 
198
                        <offset x="-5" y="35"/>
 
199
                    </graphics>
 
200
                    <text>T2</text>
 
201
                </name>
 
202
                <graphics>
 
203
                    <position x="660" y="255"/>
 
204
                </graphics>
 
205
            </transition>
 
206
            <transition id="T3">
 
207
                <name>
 
208
                    <graphics>
 
209
                        <offset x="-5" y="35"/>
 
210
                    </graphics>
 
211
                    <text>T3</text>
 
212
                </name>
 
213
                <graphics>
 
214
                    <position x="330" y="330"/>
 
215
                </graphics>
 
216
            </transition>
 
217
            <transition id="T4">
 
218
                <name>
 
219
                    <graphics>
 
220
                        <offset x="-5" y="35"/>
 
221
                    </graphics>
 
222
                    <text>T4</text>
 
223
                </name>
 
224
                <graphics>
 
225
                    <position x="210" y="330"/>
 
226
                </graphics>
 
227
            </transition>
 
228
            <transition id="T6">
 
229
                <name>
 
230
                    <graphics>
 
231
                        <offset x="-5" y="35"/>
 
232
                    </graphics>
 
233
                    <text>T6</text>
 
234
                </name>
 
235
                <graphics>
 
236
                    <position x="330" y="165"/>
 
237
                </graphics>
 
238
            </transition>
 
239
            <transition id="T7">
 
240
                <name>
 
241
                    <graphics>
 
242
                        <offset x="-5" y="35"/>
 
243
                    </graphics>
 
244
                    <text>T7</text>
 
245
                </name>
 
246
                <graphics>
 
247
                    <position x="390" y="90"/>
 
248
                </graphics>
 
249
            </transition>
 
250
            <transition id="T8">
 
251
                <name>
 
252
                    <graphics>
 
253
                        <offset x="-5" y="35"/>
 
254
                    </graphics>
 
255
                    <text>T8</text>
 
256
                </name>
 
257
                <graphics>
 
258
                    <position x="210" y="195"/>
 
259
                </graphics>
 
260
            </transition>
 
261
            <transition id="T9">
 
262
                <name>
 
263
                    <graphics>
 
264
                        <offset x="-5" y="35"/>
 
265
                    </graphics>
 
266
                    <text>T9</text>
 
267
                </name>
 
268
                <graphics>
 
269
                    <position x="570" y="315"/>
 
270
                </graphics>
 
271
            </transition>
 
272
            <transition id="T10">
 
273
                <name>
 
274
                    <graphics>
 
275
                        <offset x="-5" y="35"/>
 
276
                    </graphics>
 
277
                    <text>T10</text>
 
278
                </name>
 
279
                <graphics>
 
280
                    <position x="285" y="150"/>
 
281
                </graphics>
 
282
            </transition>
 
283
            <transition id="T11">
 
284
                <name>
 
285
                    <graphics>
 
286
                        <offset x="-5" y="35"/>
 
287
                    </graphics>
 
288
                    <text>T11</text>
 
289
                </name>
 
290
                <graphics>
 
291
                    <position x="75" y="135"/>
 
292
                </graphics>
 
293
            </transition>
 
294
            <transition id="T12">
 
295
                <name>
 
296
                    <graphics>
 
297
                        <offset x="-5" y="35"/>
 
298
                    </graphics>
 
299
                    <text>T12</text>
 
300
                </name>
 
301
                <graphics>
 
302
                    <position x="0" y="75"/>
 
303
                </graphics>
 
304
            </transition>
 
305
            <arc id="number_to_T0" source="number" target="T0" type="normal"/>
 
306
            <arc id="diviser_to_T0" source="diviser" target="T0" type="normal"/>
 
307
            <arc id="P2_to_T1" source="P2" target="T1" type="normal"/>
 
308
            <arc id="P3_to_T2" source="P3" target="T2" type="normal"/>
 
309
            <arc id="P4_to_T4" source="P4" target="T4" type="normal"/>
 
310
            <arc id="P8_to_T6" source="P8" target="T6" type="normal"/>
 
311
            <arc id="P7_to_T7" source="P7" target="T7" type="normal"/>
 
312
            <arc id="P9_to_T8" source="P9" target="T8" type="normal"/>
 
313
            <arc id="P2_to_T9" source="P2" target="T9" type="normal"/>
 
314
            <arc id="init_to_T10" source="init" target="T10" type="normal"/>
 
315
            <arc id="P12_to_T11" source="P12" target="T11" type="normal"/>
 
316
            <arc id="P9_to_T11" source="P9" target="T11" type="normal"/>
 
317
            <arc id="P12_to_T12" source="P12" target="T12" type="normal"/>
 
318
            <arc id="T0_to_P2" source="T0" target="P2" type="normal"/>
 
319
            <arc id="T1_to_P3" source="T1" target="P3" type="normal"/>
 
320
            <arc id="T2_to_diviser" source="T2" target="diviser" type="normal"/>
 
321
            <arc id="T3_to_notprime" source="T3" target="notprime" type="normal"/>
 
322
            <arc id="T4_to_P5" source="T4" target="P5" type="normal"/>
 
323
            <arc id="T6_to_number" source="T6" target="number" type="normal"/>
 
324
            <arc id="T7_to_P8" source="T7" target="P8" type="normal"/>
 
325
            <arc id="T0_to_P7" source="T0" target="P7" type="normal"/>
 
326
            <arc id="T8_to_P4" source="T8" target="P4" type="normal"/>
 
327
            <arc id="T9_to_diviser" source="T9" target="diviser" type="normal"/>
 
328
            <arc id="T8_to_diviser" source="T8" target="diviser" type="normal">
 
329
                <graphics>
 
330
                    <position x="272" y="287"/>
 
331
                    <position x="377" y="302"/>
 
332
                </graphics>
 
333
            </arc>
 
334
            <arc id="T10_to_number" source="T10" target="number" type="normal"/>
 
335
            <arc id="T10_to_P9" source="T10" target="P9" type="normal"/>
 
336
            <arc id="diviser_to_T1" source="diviser" target="T1" type="inhibitor"/>
 
337
            <arc id="P2_to_T2" source="P2" target="T2" type="inhibitor"/>
 
338
            <arc id="number_to_T3" source="number" target="T3" type="inhibitor"/>
 
339
            <arc id="diviser_to_T3" source="diviser" target="T3" type="inhibitor"/>
 
340
            <arc id="P3_to_T0" source="P3" target="T0" type="inhibitor"/>
 
341
            <arc id="P2_to_T3" source="P2" target="T3" type="inhibitor"/>
 
342
            <arc id="P2_to_T6" source="P2" target="T6" type="inhibitor"/>
 
343
            <arc id="P8_to_T0" source="P8" target="T0" type="inhibitor"/>
 
344
            <arc id="number_to_T7" source="number" target="T7" type="inhibitor"/>
 
345
            <arc id="P4_to_T8" source="P4" target="T8" type="inhibitor"/>
 
346
            <arc id="number_to_T8" source="number" target="T8" type="inhibitor"/>
 
347
            <arc id="number_to_T9" source="number" target="T9" type="inhibitor"/>
 
348
            <arc id="P7_to_T6" source="P7" target="T6" type="inhibitor"/>
 
349
            <arc id="init_to_T0" source="init" target="T0" type="inhibitor"/>
 
350
            <arc id="P12_to_T8" source="P12" target="T8" type="inhibitor"/>
 
351
            <arc id="P12_to_T0" source="P12" target="T0" type="inhibitor"/>
 
352
            <arc id="init_to_T12" source="init" target="T12" type="inhibitor"/>
 
353
            <arc id="P9_to_T12" source="P9" target="T12" type="inhibitor"/>
 
354
        </page>
 
355
        <name>
 
356
            <text>ComposedModel</text>
 
357
        </name>
 
358
    </net>
 
359
</pnml>