~tapaal-contributor/verifypn/show-reduced-net

« back to all changes in this revision

Viewing changes to test_models/deadlock-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="Res1">
 
6
                <graphics>
 
7
                    <position x="435" y="180"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>Res1</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>1</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Res2">
 
20
                <graphics>
 
21
                    <position x="615" y="180"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Res2</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>1</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="in">
 
34
                <graphics>
 
35
                    <position x="165" y="180"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>in</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>1</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="P1">
 
48
                <graphics>
 
49
                    <position x="345" y="90"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>P1</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="P2">
 
62
                <graphics>
 
63
                    <position x="330" y="255"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>P2</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="P3">
 
76
                <graphics>
 
77
                    <position x="540" y="90"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>P3</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="P4">
 
90
                <graphics>
 
91
                    <position x="540" y="270"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>P4</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="out">
 
104
                <graphics>
 
105
                    <position x="735" y="180"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="60" y="18"/>
 
110
                    </graphics>
 
111
                    <text>out</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="240" y="120"/>
 
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="240" y="240"/>
 
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="435" y="90"/>
 
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="435" y="270"/>
 
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="630" y="120"/>
 
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="630" y="240"/>
 
181
                </graphics>
 
182
            </transition>
 
183
            <arc id="in_to_T0" source="in" target="T0" type="normal"/>
 
184
            <arc id="P1_to_T2" source="P1" target="T2" type="normal"/>
 
185
            <arc id="P3_to_T4" source="P3" target="T4" type="normal"/>
 
186
            <arc id="in_to_T1" source="in" target="T1" type="normal"/>
 
187
            <arc id="P2_to_T3" source="P2" target="T3" type="normal"/>
 
188
            <arc id="P4_to_T5" source="P4" target="T5" type="normal"/>
 
189
            <arc id="Res1_to_T2" source="Res1" target="T2" type="normal"/>
 
190
            <arc id="Res2_to_T4" source="Res2" target="T4" type="normal"/>
 
191
            <arc id="Res2_to_T3" source="Res2" target="T3" type="normal"/>
 
192
            <arc id="Res1_to_T5" source="Res1" target="T5" type="normal"/>
 
193
            <arc id="T0_to_P1" source="T0" target="P1" type="normal"/>
 
194
            <arc id="T2_to_P3" source="T2" target="P3" type="normal"/>
 
195
            <arc id="T4_to_out" source="T4" target="out" type="normal"/>
 
196
            <arc id="T1_to_P2" source="T1" target="P2" type="normal"/>
 
197
            <arc id="T3_to_P4" source="T3" target="P4" type="normal"/>
 
198
            <arc id="T5_to_out" source="T5" target="out" type="normal"/>
 
199
            <arc id="T4_to_Res2" source="T4" target="Res2" type="normal">
 
200
                <graphics>
 
201
                    <position x="673" y="178"/>
 
202
                </graphics>
 
203
            </arc>
 
204
            <arc id="T4_to_Res1" source="T4" target="Res1" type="normal"/>
 
205
            <arc id="T5_to_Res1" source="T5" target="Res1" type="normal">
 
206
                <graphics>
 
207
                    <position x="553" y="208"/>
 
208
                </graphics>
 
209
            </arc>
 
210
            <arc id="T5_to_Res2" source="T5" target="Res2" type="normal"/>
 
211
        </page>
 
212
        <name>
 
213
            <text>ComposedModel</text>
 
214
        </name>
 
215
    </net>
 
216
</pnml>