~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/tricky-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="Train_Crossing">
 
6
                <graphics>
 
7
                    <position x="540" y="270"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="49" y="-17"/>
 
12
                    </graphics>
 
13
                    <text>Train_Crossing</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>0</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="Train_P5">
 
20
                <graphics>
 
21
                    <position x="300" y="90"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>Train_P5</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>2</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="Train_P2">
 
34
                <graphics>
 
35
                    <position x="375" y="270"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="144" y="59"/>
 
40
                    </graphics>
 
41
                    <text>Train_P2</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="TragicLight_Green">
 
48
                <graphics>
 
49
                    <position x="735" y="330"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>TragicLight_Green</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>1</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="TragicLight_Yellow">
 
62
                <graphics>
 
63
                    <position x="1050" y="240"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>TragicLight_Yellow</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="TragicLight_Red">
 
76
                <graphics>
 
77
                    <position x="1380" y="330"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="35"/>
 
82
                    </graphics>
 
83
                    <text>TragicLight_Red</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="TragicLight_Request">
 
90
                <graphics>
 
91
                    <position x="1005" y="120"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-15" y="18"/>
 
96
                    </graphics>
 
97
                    <text>TragicLight_Request</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <transition id="Shared_StopCars">
 
104
                <name>
 
105
                    <graphics>
 
106
                        <offset x="44" y="59"/>
 
107
                    </graphics>
 
108
                    <text>Shared_StopCars</text>
 
109
                </name>
 
110
                <graphics>
 
111
                    <position x="315" y="270"/>
 
112
                </graphics>
 
113
            </transition>
 
114
            <transition id="Train_T0">
 
115
                <name>
 
116
                    <graphics>
 
117
                        <offset x="-5" y="35"/>
 
118
                    </graphics>
 
119
                    <text>Train_T0</text>
 
120
                </name>
 
121
                <graphics>
 
122
                    <position x="525" y="150"/>
 
123
                </graphics>
 
124
            </transition>
 
125
            <transition id="Train_DangerZoneEntrance">
 
126
                <name>
 
127
                    <graphics>
 
128
                        <offset x="53" y="55"/>
 
129
                    </graphics>
 
130
                    <text>Train_DangerZoneEntrance</text>
 
131
                </name>
 
132
                <graphics>
 
133
                    <position x="495" y="270"/>
 
134
                </graphics>
 
135
            </transition>
 
136
            <transition id="TragicLight_T1">
 
137
                <name>
 
138
                    <graphics>
 
139
                        <offset x="-5" y="35"/>
 
140
                    </graphics>
 
141
                    <text>TragicLight_T1</text>
 
142
                </name>
 
143
                <graphics>
 
144
                    <position x="870" y="285"/>
 
145
                </graphics>
 
146
            </transition>
 
147
            <transition id="TragicLight_T2">
 
148
                <name>
 
149
                    <graphics>
 
150
                        <offset x="-5" y="35"/>
 
151
                    </graphics>
 
152
                    <text>TragicLight_T2</text>
 
153
                </name>
 
154
                <graphics>
 
155
                    <position x="1215" y="285"/>
 
156
                </graphics>
 
157
            </transition>
 
158
            <transition id="TragicLight_T7">
 
159
                <name>
 
160
                    <graphics>
 
161
                        <offset x="-5" y="35"/>
 
162
                    </graphics>
 
163
                    <text>TragicLight_T7</text>
 
164
                </name>
 
165
                <graphics>
 
166
                    <position x="1140" y="135"/>
 
167
                </graphics>
 
168
            </transition>
 
169
            <transition id="TragicLight_T5">
 
170
                <name>
 
171
                    <graphics>
 
172
                        <offset x="-5" y="35"/>
 
173
                    </graphics>
 
174
                    <text>TragicLight_T5</text>
 
175
                </name>
 
176
                <graphics>
 
177
                    <position x="1035" y="435"/>
 
178
                </graphics>
 
179
            </transition>
 
180
            <arc id="Train_P5_to_Shared_StopCars" source="Train_P5" target="Shared_StopCars" type="normal">
 
181
                <graphics>
 
182
                    <position x="224" y="254"/>
 
183
                </graphics>
 
184
            </arc>
 
185
            <arc id="Train_Crossing_to_Train_T0" source="Train_Crossing" target="Train_T0" type="normal"/>
 
186
            <arc id="Train_P2_to_Train_DangerZoneEntrance" source="Train_P2" target="Train_DangerZoneEntrance" type="normal"/>
 
187
            <arc id="TragicLight_Green_to_TragicLight_T1" source="TragicLight_Green" target="TragicLight_T1" type="normal"/>
 
188
            <arc id="TragicLight_Request_to_TragicLight_T1" source="TragicLight_Request" target="TragicLight_T1" type="normal"/>
 
189
            <arc id="TragicLight_Yellow_to_TragicLight_T2" source="TragicLight_Yellow" target="TragicLight_T2" type="normal"/>
 
190
            <arc id="TragicLight_Request_to_TragicLight_T7" source="TragicLight_Request" target="TragicLight_T7" type="normal"/>
 
191
            <arc id="TragicLight_Red_to_TragicLight_T5" source="TragicLight_Red" target="TragicLight_T5" type="normal"/>
 
192
            <arc id="Train_T0_to_Train_P5" source="Train_T0" target="Train_P5" type="normal"/>
 
193
            <arc id="Train_DangerZoneEntrance_to_Train_Crossing" source="Train_DangerZoneEntrance" target="Train_Crossing" type="normal"/>
 
194
            <arc id="Shared_StopCars_to_Train_P2" source="Shared_StopCars" target="Train_P2" type="normal"/>
 
195
            <arc id="Shared_StopCars_to_TragicLight_Request" source="Shared_StopCars" target="TragicLight_Request" type="normal"/>
 
196
            <arc id="TragicLight_T1_to_TragicLight_Yellow" source="TragicLight_T1" target="TragicLight_Yellow" type="normal"/>
 
197
            <arc id="TragicLight_T2_to_TragicLight_Red" source="TragicLight_T2" target="TragicLight_Red" type="normal"/>
 
198
            <arc id="TragicLight_T5_to_TragicLight_Green" source="TragicLight_T5" target="TragicLight_Green" type="normal"/>
 
199
            <arc id="TragicLight_Yellow_to_TragicLight_T7" source="TragicLight_Yellow" target="TragicLight_T7" type="normal">
 
200
                <graphics>
 
201
                    <position x="1096" y="181"/>
 
202
                </graphics>
 
203
            </arc>
 
204
            <arc id="TragicLight_T7_to_TragicLight_Yellow" source="TragicLight_T7" target="TragicLight_Yellow" type="normal">
 
205
                <graphics>
 
206
                    <position x="1156" y="151"/>
 
207
                    <position x="1156" y="211"/>
 
208
                </graphics>
 
209
            </arc>
 
210
        </page>
 
211
        <name>
 
212
            <text>ComposedModel</text>
 
213
        </name>
 
214
    </net>
 
215
</pnml>