~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/weighted-test001/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="135" y="90"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>P0</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>2</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="P1">
 
20
                <graphics>
 
21
                    <position x="270" y="90"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>P1</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>1</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="P2">
 
34
                <graphics>
 
35
                    <position x="120" y="270"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>P2</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>1</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="P3">
 
48
                <graphics>
 
49
                    <position x="255" y="285"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>P3</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>1</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="P4">
 
62
                <graphics>
 
63
                    <position x="420" y="270"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>P4</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>2</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="P5">
 
76
                <graphics>
 
77
                    <position x="195" y="555"/>
 
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="330" y="555"/>
 
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="615" y="345"/>
 
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
            <transition id="T0">
 
118
                <name>
 
119
                    <graphics>
 
120
                        <offset x="-5" y="35"/>
 
121
                    </graphics>
 
122
                    <text>T0</text>
 
123
                </name>
 
124
                <graphics>
 
125
                    <position x="210" y="195"/>
 
126
                </graphics>
 
127
            </transition>
 
128
            <transition id="T1">
 
129
                <name>
 
130
                    <graphics>
 
131
                        <offset x="-5" y="35"/>
 
132
                    </graphics>
 
133
                    <text>T1</text>
 
134
                </name>
 
135
                <graphics>
 
136
                    <position x="255" y="420"/>
 
137
                </graphics>
 
138
            </transition>
 
139
            <transition id="T2">
 
140
                <name>
 
141
                    <graphics>
 
142
                        <offset x="-5" y="35"/>
 
143
                    </graphics>
 
144
                    <text>T2</text>
 
145
                </name>
 
146
                <graphics>
 
147
                    <position x="120" y="180"/>
 
148
                </graphics>
 
149
            </transition>
 
150
            <transition id="T3">
 
151
                <name>
 
152
                    <graphics>
 
153
                        <offset x="-5" y="35"/>
 
154
                    </graphics>
 
155
                    <text>T3</text>
 
156
                </name>
 
157
                <graphics>
 
158
                    <position x="555" y="180"/>
 
159
                </graphics>
 
160
            </transition>
 
161
            <transition id="T4">
 
162
                <name>
 
163
                    <graphics>
 
164
                        <offset x="-5" y="35"/>
 
165
                    </graphics>
 
166
                    <text>T4</text>
 
167
                </name>
 
168
                <graphics>
 
169
                    <position x="540" y="480"/>
 
170
                </graphics>
 
171
            </transition>
 
172
            <transition id="T5">
 
173
                <name>
 
174
                    <graphics>
 
175
                        <offset x="-5" y="35"/>
 
176
                    </graphics>
 
177
                    <text>T5</text>
 
178
                </name>
 
179
                <graphics>
 
180
                    <position x="420" y="195"/>
 
181
                </graphics>
 
182
            </transition>
 
183
            <arc id="P0_to_T2" source="P0" target="T2" type="normal"/>
 
184
            <arc id="P1_to_T0" source="P1" target="T0" type="normal"/>
 
185
            <arc id="P4_to_T5" source="P4" target="T5" type="normal">
 
186
                <graphics>
 
187
                    <position x="405" y="240"/>
 
188
                </graphics>
 
189
            </arc>
 
190
            <arc id="P2_to_T1" source="P2" target="T1" type="normal">
 
191
                <inscription>
 
192
                    <text>2</text>
 
193
                </inscription>
 
194
            </arc>
 
195
            <arc id="P3_to_T1" source="P3" target="T1" type="normal">
 
196
                <inscription>
 
197
                    <text>3</text>
 
198
                </inscription>
 
199
            </arc>
 
200
            <arc id="P4_to_T1" source="P4" target="T1" type="normal">
 
201
                <inscription>
 
202
                    <text>4</text>
 
203
                </inscription>
 
204
            </arc>
 
205
            <arc id="P6_to_T4" source="P6" target="T4" type="normal"/>
 
206
            <arc id="P5_to_T3" source="P5" target="T3" type="normal">
 
207
                <graphics>
 
208
                    <position x="555" y="330"/>
 
209
                </graphics>
 
210
            </arc>
 
211
            <arc id="P7_to_T3" source="P7" target="T3" type="normal"/>
 
212
            <arc id="P6_to_T3" source="P6" target="T3" type="normal">
 
213
                <graphics>
 
214
                    <position x="540" y="390"/>
 
215
                    <position x="525" y="270"/>
 
216
                </graphics>
 
217
            </arc>
 
218
            <arc id="P3_to_T5" source="P3" target="T5" type="normal">
 
219
                <graphics>
 
220
                    <position x="374" y="194"/>
 
221
                </graphics>
 
222
            </arc>
 
223
            <arc id="T2_to_P2" source="T2" target="P2" type="normal"/>
 
224
            <arc id="T0_to_P3" source="T0" target="P3" type="normal">
 
225
                <inscription>
 
226
                    <text>2</text>
 
227
                </inscription>
 
228
            </arc>
 
229
            <arc id="T0_to_P4" source="T0" target="P4" type="normal">
 
230
                <inscription>
 
231
                    <text>2</text>
 
232
                </inscription>
 
233
            </arc>
 
234
            <arc id="T5_to_P4" source="T5" target="P4" type="normal">
 
235
                <graphics>
 
236
                    <position x="465" y="240"/>
 
237
                </graphics>
 
238
            </arc>
 
239
            <arc id="T1_to_P5" source="T1" target="P5" type="normal"/>
 
240
            <arc id="T1_to_P6" source="T1" target="P6" type="normal">
 
241
                <inscription>
 
242
                    <text>2</text>
 
243
                </inscription>
 
244
            </arc>
 
245
            <arc id="T4_to_P7" source="T4" target="P7" type="normal"/>
 
246
            <arc id="T3_to_P1" source="T3" target="P1" type="normal">
 
247
                <graphics>
 
248
                    <position x="345" y="45"/>
 
249
                </graphics>
 
250
            </arc>
 
251
            <arc id="T3_to_P0" source="T3" target="P0" type="normal">
 
252
                <graphics>
 
253
                    <position x="450" y="45"/>
 
254
                    <position x="210" y="30"/>
 
255
                </graphics>
 
256
            </arc>
 
257
            <arc id="T5_to_P3" source="T5" target="P3" type="normal">
 
258
                <graphics>
 
259
                    <position x="344" y="299"/>
 
260
                </graphics>
 
261
            </arc>
 
262
            <arc id="P0_to_T0" source="P0" target="T0" type="inhibitor"/>
 
263
        </page>
 
264
        <name>
 
265
            <text>ComposedModel</text>
 
266
        </name>
 
267
    </net>
 
268
</pnml>