~tapaal-ltl/verifypn/scc-optimise

« back to all changes in this revision

Viewing changes to test_models/train-simple-test003/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="green">
 
6
                <graphics>
 
7
                    <position x="180" y="750"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>green</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>1</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="yellow">
 
20
                <graphics>
 
21
                    <position x="570" y="750"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="130" y="47"/>
 
26
                    </graphics>
 
27
                    <text>yellow</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="red">
 
34
                <graphics>
 
35
                    <position x="990" y="750"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="152" y="25"/>
 
40
                    </graphics>
 
41
                    <text>red</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>0</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="RedRequested">
 
48
                <graphics>
 
49
                    <position x="180" y="450"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-6" y="5"/>
 
54
                    </graphics>
 
55
                    <text>RedRequested</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="far">
 
62
                <graphics>
 
63
                    <position x="540" y="30"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="29" y="5"/>
 
68
                    </graphics>
 
69
                    <text>far</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>5</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="approaching">
 
76
                <graphics>
 
77
                    <position x="300" y="270"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="135" y="49"/>
 
82
                    </graphics>
 
83
                    <text>approaching</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>0</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="dangerZone">
 
90
                <graphics>
 
91
                    <position x="690" y="270"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="132" y="53"/>
 
96
                    </graphics>
 
97
                    <text>dangerZone</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <transition id="T1">
 
104
                <name>
 
105
                    <graphics>
 
106
                        <offset x="-5" y="35"/>
 
107
                    </graphics>
 
108
                    <text>T1</text>
 
109
                </name>
 
110
                <graphics>
 
111
                    <position x="780" y="750"/>
 
112
                </graphics>
 
113
            </transition>
 
114
            <transition id="T2">
 
115
                <name>
 
116
                    <graphics>
 
117
                        <offset x="-5" y="35"/>
 
118
                    </graphics>
 
119
                    <text>T2</text>
 
120
                </name>
 
121
                <graphics>
 
122
                    <position x="570" y="870"/>
 
123
                </graphics>
 
124
            </transition>
 
125
            <transition id="T3">
 
126
                <name>
 
127
                    <graphics>
 
128
                        <offset x="-5" y="35"/>
 
129
                    </graphics>
 
130
                    <text>T3</text>
 
131
                </name>
 
132
                <graphics>
 
133
                    <position x="180" y="570"/>
 
134
                </graphics>
 
135
            </transition>
 
136
            <transition id="T4">
 
137
                <name>
 
138
                    <graphics>
 
139
                        <offset x="-5" y="35"/>
 
140
                    </graphics>
 
141
                    <text>T4</text>
 
142
                </name>
 
143
                <graphics>
 
144
                    <position x="570" y="570"/>
 
145
                </graphics>
 
146
            </transition>
 
147
            <transition id="T5">
 
148
                <name>
 
149
                    <graphics>
 
150
                        <offset x="-5" y="35"/>
 
151
                    </graphics>
 
152
                    <text>T5</text>
 
153
                </name>
 
154
                <graphics>
 
155
                    <position x="990" y="570"/>
 
156
                </graphics>
 
157
            </transition>
 
158
            <transition id="sendSignal">
 
159
                <name>
 
160
                    <graphics>
 
161
                        <offset x="-5" y="35"/>
 
162
                    </graphics>
 
163
                    <text>sendSignal</text>
 
164
                </name>
 
165
                <graphics>
 
166
                    <position x="180" y="270"/>
 
167
                </graphics>
 
168
            </transition>
 
169
            <transition id="T7">
 
170
                <name>
 
171
                    <graphics>
 
172
                        <offset x="-5" y="35"/>
 
173
                    </graphics>
 
174
                    <text>T7</text>
 
175
                </name>
 
176
                <graphics>
 
177
                    <position x="585" y="270"/>
 
178
                </graphics>
 
179
            </transition>
 
180
            <transition id="T8">
 
181
                <name>
 
182
                    <graphics>
 
183
                        <offset x="-5" y="35"/>
 
184
                    </graphics>
 
185
                    <text>T8</text>
 
186
                </name>
 
187
                <graphics>
 
188
                    <position x="1005" y="270"/>
 
189
                </graphics>
 
190
            </transition>
 
191
            <arc id="yellow_to_T1" source="yellow" target="T1" type="normal"/>
 
192
            <arc id="red_to_T2" source="red" target="T2" type="normal"/>
 
193
            <arc id="green_to_T3" source="green" target="T3" type="normal"/>
 
194
            <arc id="red_to_T5" source="red" target="T5" type="normal">
 
195
                <graphics>
 
196
                    <position x="1048" y="658"/>
 
197
                </graphics>
 
198
            </arc>
 
199
            <arc id="RedRequested_to_T3" source="RedRequested" target="T3" type="normal"/>
 
200
            <arc id="RedRequested_to_T4" source="RedRequested" target="T4" type="normal"/>
 
201
            <arc id="RedRequested_to_T5" source="RedRequested" target="T5" type="normal"/>
 
202
            <arc id="far_to_sendSignal" source="far" target="sendSignal" type="normal"/>
 
203
            <arc id="approaching_to_T7" source="approaching" target="T7" type="normal"/>
 
204
            <arc id="dangerZone_to_T8" source="dangerZone" target="T8" type="normal"/>
 
205
            <arc id="T1_to_red" source="T1" target="red" type="normal"/>
 
206
            <arc id="T2_to_green" source="T2" target="green" type="normal"/>
 
207
            <arc id="T3_to_yellow" source="T3" target="yellow" type="normal"/>
 
208
            <arc id="T5_to_red" source="T5" target="red" type="normal"/>
 
209
            <arc id="sendSignal_to_approaching" source="sendSignal" target="approaching" type="normal"/>
 
210
            <arc id="sendSignal_to_RedRequested" source="sendSignal" target="RedRequested" type="normal"/>
 
211
            <arc id="T7_to_dangerZone" source="T7" target="dangerZone" type="normal"/>
 
212
            <arc id="T8_to_far" source="T8" target="far" type="normal"/>
 
213
            <arc id="yellow_to_T4" source="yellow" target="T4" type="normal">
 
214
                <graphics>
 
215
                    <position x="643" y="679"/>
 
216
                </graphics>
 
217
            </arc>
 
218
            <arc id="T4_to_yellow" source="T4" target="yellow" type="normal"/>
 
219
        </page>
 
220
        <name>
 
221
            <text>ComposedModel</text>
 
222
        </name>
 
223
    </net>
 
224
</pnml>