~tapaal-ltl/verifypn/rule-D-fix

« back to all changes in this revision

Viewing changes to test_models/other-test001/model.pnml

  • Committer: Peter G. Jensen
  • Date: 2020-07-03 09:19:50 UTC
  • mto: This revision was merged to the branch mainline in revision 225.
  • Revision ID: root@petergjoel.dk-20200703091950-0wdbe4bezt4obe0t
added simple test-script and test models

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="_3rd">
 
6
                <graphics>
 
7
                    <position x="180" y="120"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>_3rd</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>0</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="_2nd">
 
20
                <graphics>
 
21
                    <position x="180" y="255"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>_2nd</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="_1st">
 
34
                <graphics>
 
35
                    <position x="180" y="360"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>_1st</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="Ground">
 
48
                <graphics>
 
49
                    <position x="180" y="495"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>Ground</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>1</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="moving">
 
62
                <graphics>
 
63
                    <position x="285" y="435"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>moving</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="P1">
 
76
                <graphics>
 
77
                    <position x="285" y="315"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>P1</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="P2">
 
90
                <graphics>
 
91
                    <position x="300" y="195"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>P2</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="P3">
 
104
                <graphics>
 
105
                    <position x="105" y="165"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>P3</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>0</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="P4">
 
118
                <graphics>
 
119
                    <position x="105" y="285"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>P4</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="P5">
 
132
                <graphics>
 
133
                    <position x="105" y="405"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>P5</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>0</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="P6">
 
146
                <graphics>
 
147
                    <position x="480" y="270"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>P6</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>1</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="number">
 
160
                <graphics>
 
161
                    <position x="345" y="90"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>number</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>0</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="330" y="255"/>
 
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="330" y="360"/>
 
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="330" y="465"/>
 
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="75" y="120"/>
 
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="75" y="255"/>
 
226
                </graphics>
 
227
            </transition>
 
228
            <transition id="T5">
 
229
                <name>
 
230
                    <graphics>
 
231
                        <offset x="-5" y="35"/>
 
232
                    </graphics>
 
233
                    <text>T5</text>
 
234
                </name>
 
235
                <graphics>
 
236
                    <position x="75" y="360"/>
 
237
                </graphics>
 
238
            </transition>
 
239
            <transition id="T6">
 
240
                <name>
 
241
                    <graphics>
 
242
                        <offset x="-5" y="35"/>
 
243
                    </graphics>
 
244
                    <text>T6</text>
 
245
                </name>
 
246
                <graphics>
 
247
                    <position x="225" y="390"/>
 
248
                </graphics>
 
249
            </transition>
 
250
            <transition id="T7">
 
251
                <name>
 
252
                    <graphics>
 
253
                        <offset x="-5" y="35"/>
 
254
                    </graphics>
 
255
                    <text>T7</text>
 
256
                </name>
 
257
                <graphics>
 
258
                    <position x="225" y="285"/>
 
259
                </graphics>
 
260
            </transition>
 
261
            <transition id="T8">
 
262
                <name>
 
263
                    <graphics>
 
264
                        <offset x="-5" y="35"/>
 
265
                    </graphics>
 
266
                    <text>T8</text>
 
267
                </name>
 
268
                <graphics>
 
269
                    <position x="210" y="150"/>
 
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="150" y="210"/>
 
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="135" y="315"/>
 
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="135" y="450"/>
 
303
                </graphics>
 
304
            </transition>
 
305
            <arc id="Ground_to_T2" source="Ground" target="T2" type="normal"/>
 
306
            <arc id="_1st_to_T1" source="_1st" target="T1" type="normal"/>
 
307
            <arc id="_2nd_to_T0" source="_2nd" target="T0" type="normal"/>
 
308
            <arc id="_3rd_to_T3" source="_3rd" target="T3" type="normal"/>
 
309
            <arc id="_2nd_to_T4" source="_2nd" target="T4" type="normal"/>
 
310
            <arc id="_1st_to_T5" source="_1st" target="T5" type="normal"/>
 
311
            <arc id="moving_to_T6" source="moving" target="T6" type="normal"/>
 
312
            <arc id="P1_to_T7" source="P1" target="T7" type="normal"/>
 
313
            <arc id="P2_to_T8" source="P2" target="T8" type="normal"/>
 
314
            <arc id="P3_to_T10" source="P3" target="T10" type="normal"/>
 
315
            <arc id="P4_to_T11" source="P4" target="T11" type="normal"/>
 
316
            <arc id="P5_to_T12" source="P5" target="T12" type="normal"/>
 
317
            <arc id="T2_to_moving" source="T2" target="moving" type="normal"/>
 
318
            <arc id="T6_to__1st" source="T6" target="_1st" type="normal"/>
 
319
            <arc id="T1_to_P1" source="T1" target="P1" type="normal"/>
 
320
            <arc id="T7_to__2nd" source="T7" target="_2nd" type="normal"/>
 
321
            <arc id="T0_to_P2" source="T0" target="P2" type="normal"/>
 
322
            <arc id="T8_to__3rd" source="T8" target="_3rd" type="normal"/>
 
323
            <arc id="T3_to_P3" source="T3" target="P3" type="normal"/>
 
324
            <arc id="T10_to__2nd" source="T10" target="_2nd" type="normal"/>
 
325
            <arc id="T4_to_P4" source="T4" target="P4" type="normal"/>
 
326
            <arc id="T11_to__1st" source="T11" target="_1st" type="normal"/>
 
327
            <arc id="T5_to_P5" source="T5" target="P5" type="normal"/>
 
328
            <arc id="T12_to_Ground" source="T12" target="Ground" type="normal"/>
 
329
            <arc id="T8_to_number" source="T8" target="number" type="normal"/>
 
330
        </page>
 
331
        <name>
 
332
            <text>ComposedModel</text>
 
333
        </name>
 
334
    </net>
 
335
</pnml>