~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/urgency-test017/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="ReadyWorkforce">
 
6
                <graphics>
 
7
                    <position x="150" y="90"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>ReadyWorkforce</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>2</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="PackingArea">
 
20
                <graphics>
 
21
                    <position x="315" y="90"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>PackingArea</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="FoodPacked">
 
34
                <graphics>
 
35
                    <position x="510" y="90"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>FoodPacked</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="P3">
 
48
                <graphics>
 
49
                    <position x="375" y="225"/>
 
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="195" y="345"/>
 
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="90" 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="315" y="450"/>
 
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="EndFridge">
 
104
                <graphics>
 
105
                    <position x="195" y="540"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>EndFridge</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="P8">
 
118
                <graphics>
 
119
                    <position x="435" y="345"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>P8</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>2</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="Deadline">
 
132
                <graphics>
 
133
                    <position x="675" y="255"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>Deadline</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>1</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="StartFridge">
 
146
                <graphics>
 
147
                    <position x="225" y="30"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>StartFridge</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>2</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <transition id="GetBox">
 
160
                <name>
 
161
                    <graphics>
 
162
                        <offset x="-5" y="35"/>
 
163
                    </graphics>
 
164
                    <text>GetBox</text>
 
165
                </name>
 
166
                <graphics>
 
167
                    <position x="225" y="90"/>
 
168
                </graphics>
 
169
            </transition>
 
170
            <transition id="PackingFood">
 
171
                <name>
 
172
                    <graphics>
 
173
                        <offset x="-5" y="35"/>
 
174
                    </graphics>
 
175
                    <text>PackingFood</text>
 
176
                </name>
 
177
                <graphics>
 
178
                    <position x="420" y="90"/>
 
179
                </graphics>
 
180
            </transition>
 
181
            <transition id="DeliverPackedFood">
 
182
                <name>
 
183
                    <graphics>
 
184
                        <offset x="-5" y="35"/>
 
185
                    </graphics>
 
186
                    <text>DeliverPackedFood</text>
 
187
                </name>
 
188
                <graphics>
 
189
                    <position x="435" y="165"/>
 
190
                </graphics>
 
191
            </transition>
 
192
            <transition id="GiveRecievePackedFood">
 
193
                <name>
 
194
                    <graphics>
 
195
                        <offset x="-5" y="35"/>
 
196
                    </graphics>
 
197
                    <text>GiveRecievePackedFood</text>
 
198
                </name>
 
199
                <graphics>
 
200
                    <position x="300" y="225"/>
 
201
                </graphics>
 
202
            </transition>
 
203
            <transition id="GoToCar">
 
204
                <name>
 
205
                    <graphics>
 
206
                        <offset x="-5" y="35"/>
 
207
                    </graphics>
 
208
                    <text>GoToCar</text>
 
209
                </name>
 
210
                <graphics>
 
211
                    <position x="90" y="345"/>
 
212
                </graphics>
 
213
            </transition>
 
214
            <transition id="DeliverToCar">
 
215
                <name>
 
216
                    <graphics>
 
217
                        <offset x="-5" y="35"/>
 
218
                    </graphics>
 
219
                    <text>DeliverToCar</text>
 
220
                </name>
 
221
                <graphics>
 
222
                    <position x="195" y="450"/>
 
223
                </graphics>
 
224
            </transition>
 
225
            <transition id="T6">
 
226
                <name>
 
227
                    <graphics>
 
228
                        <offset x="-5" y="35"/>
 
229
                    </graphics>
 
230
                    <text>T6</text>
 
231
                </name>
 
232
                <graphics>
 
233
                    <position x="435" y="450"/>
 
234
                </graphics>
 
235
            </transition>
 
236
            <arc id="ReadyWorkforce_to_GetBox" source="ReadyWorkforce" target="GetBox" type="normal"/>
 
237
            <arc id="PackingArea_to_PackingFood" source="PackingArea" target="PackingFood" type="normal"/>
 
238
            <arc id="FoodPacked_to_DeliverPackedFood" source="FoodPacked" target="DeliverPackedFood" type="normal"/>
 
239
            <arc id="P3_to_GiveRecievePackedFood" source="P3" target="GiveRecievePackedFood" type="normal"/>
 
240
            <arc id="P4_to_GoToCar" source="P4" target="GoToCar" type="normal"/>
 
241
            <arc id="P5_to_DeliverToCar" source="P5" target="DeliverToCar" type="normal"/>
 
242
            <arc id="P6_to_T6" source="P6" target="T6" type="normal"/>
 
243
            <arc id="P8_to_GiveRecievePackedFood" source="P8" target="GiveRecievePackedFood" type="normal"/>
 
244
            <arc id="StartFridge_to_GetBox" source="StartFridge" target="GetBox" type="normal"/>
 
245
            <arc id="PackingFood_to_FoodPacked" source="PackingFood" target="FoodPacked" type="normal"/>
 
246
            <arc id="DeliverPackedFood_to_P3" source="DeliverPackedFood" target="P3" type="normal"/>
 
247
            <arc id="GiveRecievePackedFood_to_ReadyWorkforce" source="GiveRecievePackedFood" target="ReadyWorkforce" type="normal"/>
 
248
            <arc id="GiveRecievePackedFood_to_P4" source="GiveRecievePackedFood" target="P4" type="normal"/>
 
249
            <arc id="GoToCar_to_P5" source="GoToCar" target="P5" type="normal"/>
 
250
            <arc id="DeliverToCar_to_P6" source="DeliverToCar" target="P6" type="normal"/>
 
251
            <arc id="T6_to_P8" source="T6" target="P8" type="normal"/>
 
252
            <arc id="DeliverToCar_to_EndFridge" source="DeliverToCar" target="EndFridge" type="normal"/>
 
253
            <arc id="GetBox_to_PackingArea" source="GetBox" target="PackingArea" type="normal"/>
 
254
            <arc id="PackingArea_to_GetBox" source="PackingArea" target="GetBox" type="inhibitor">
 
255
                <graphics>
 
256
                    <position x="329" y="149"/>
 
257
                    <position x="254" y="149"/>
 
258
                </graphics>
 
259
            </arc>
 
260
        </page>
 
261
        <name>
 
262
            <text>ComposedModel</text>
 
263
        </name>
 
264
    </net>
 
265
</pnml>