diff options
author | 2020-04-28 00:29:00 -0400 | |
---|---|---|
committer | 2020-04-28 00:29:00 -0400 | |
commit | 68a0667e862f0714410aafbb499a95a03f5bee23 (patch) | |
tree | 34b7d690dae5b9dd8f188fc44802a02f8dd9a64a /Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505 | |
parent | rename Pledge Case Studies and add familyTree case study (diff) | |
download | VIATRA-Generator-68a0667e862f0714410aafbb499a95a03f5bee23.tar.gz VIATRA-Generator-68a0667e862f0714410aafbb499a95a03f5bee23.tar.zst VIATRA-Generator-68a0667e862f0714410aafbb499a95a03f5bee23.zip |
Able to run Pledge Case Study
Diffstat (limited to 'Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505')
4 files changed, 1240 insertions, 0 deletions
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem new file mode 100644 index 00000000..eaf86353 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/problem.logicproblem | |||
@@ -0,0 +1,151 @@ | |||
1 | <?xml version="1.0" encoding="ASCII"?> | ||
2 | <language:LogicProblem xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore2logicannotations="http://www.bme.hu/mit/inf/dslreasoner/logic/model/language/ecore2logicannotation" xmlns:language="http://www.bme.hu/mit/inf/dslreasoner/logic/model/problem" xmlns:language_1="http://www.bme.hu/mit/inf/dslreasoner/logic/model/language"> | ||
3 | <types xsi:type="language_1:TypeDeclaration" name="FamilyTree class"/> | ||
4 | <types xsi:type="language_1:TypeDeclaration" name="Member class"/> | ||
5 | <assertions name="upperMultiplicity parents Member" annotations="//@annotations.0"> | ||
6 | <value xsi:type="language_1:Forall"> | ||
7 | <quantifiedVariables name="src"> | ||
8 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
9 | </quantifiedVariables> | ||
10 | <quantifiedVariables name="trg 1"> | ||
11 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
12 | </quantifiedVariables> | ||
13 | <quantifiedVariables name="trg 2"> | ||
14 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
15 | </quantifiedVariables> | ||
16 | <quantifiedVariables name="trg 3"> | ||
17 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
18 | </quantifiedVariables> | ||
19 | <expression xsi:type="language_1:Impl"> | ||
20 | <leftOperand xsi:type="language_1:And"> | ||
21 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.2"> | ||
22 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.0"/> | ||
23 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.1"/> | ||
24 | </operands> | ||
25 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.2"> | ||
26 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.0"/> | ||
27 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.2"/> | ||
28 | </operands> | ||
29 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.2"> | ||
30 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.0"/> | ||
31 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.3"/> | ||
32 | </operands> | ||
33 | </leftOperand> | ||
34 | <rightOperand xsi:type="language_1:Not"> | ||
35 | <operand xsi:type="language_1:Distinct"> | ||
36 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.1"/> | ||
37 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.2"/> | ||
38 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.0/@value/@quantifiedVariables.3"/> | ||
39 | </operand> | ||
40 | </rightOperand> | ||
41 | </expression> | ||
42 | </value> | ||
43 | </assertions> | ||
44 | <assertions name="oppositeReference children Member" annotations="//@annotations.1"> | ||
45 | <value xsi:type="language_1:Forall"> | ||
46 | <quantifiedVariables name="src"> | ||
47 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
48 | </quantifiedVariables> | ||
49 | <quantifiedVariables name="trg"> | ||
50 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
51 | </quantifiedVariables> | ||
52 | <expression xsi:type="language_1:Iff"> | ||
53 | <leftOperand xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.1"> | ||
54 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.1/@value/@quantifiedVariables.0"/> | ||
55 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.1/@value/@quantifiedVariables.1"/> | ||
56 | </leftOperand> | ||
57 | <rightOperand xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.2"> | ||
58 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.1/@value/@quantifiedVariables.1"/> | ||
59 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.1/@value/@quantifiedVariables.0"/> | ||
60 | </rightOperand> | ||
61 | </expression> | ||
62 | </value> | ||
63 | </assertions> | ||
64 | <assertions name="upperMultiplicity name Member" annotations="//@annotations.2"> | ||
65 | <value xsi:type="language_1:Forall"> | ||
66 | <quantifiedVariables name="src"> | ||
67 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
68 | </quantifiedVariables> | ||
69 | <quantifiedVariables name="trg 1"> | ||
70 | <range xsi:type="language_1:StringTypeReference"/> | ||
71 | </quantifiedVariables> | ||
72 | <quantifiedVariables name="trg 2"> | ||
73 | <range xsi:type="language_1:StringTypeReference"/> | ||
74 | </quantifiedVariables> | ||
75 | <expression xsi:type="language_1:Impl"> | ||
76 | <leftOperand xsi:type="language_1:And"> | ||
77 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.3"> | ||
78 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.2/@value/@quantifiedVariables.0"/> | ||
79 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.2/@value/@quantifiedVariables.1"/> | ||
80 | </operands> | ||
81 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.3"> | ||
82 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.2/@value/@quantifiedVariables.0"/> | ||
83 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.2/@value/@quantifiedVariables.2"/> | ||
84 | </operands> | ||
85 | </leftOperand> | ||
86 | <rightOperand xsi:type="language_1:Not"> | ||
87 | <operand xsi:type="language_1:Distinct"> | ||
88 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.2/@value/@quantifiedVariables.1"/> | ||
89 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.2/@value/@quantifiedVariables.2"/> | ||
90 | </operand> | ||
91 | </rightOperand> | ||
92 | </expression> | ||
93 | </value> | ||
94 | </assertions> | ||
95 | <assertions name="upperMultiplicity age Member" annotations="//@annotations.3"> | ||
96 | <value xsi:type="language_1:Forall"> | ||
97 | <quantifiedVariables name="src"> | ||
98 | <range xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
99 | </quantifiedVariables> | ||
100 | <quantifiedVariables name="trg 1"> | ||
101 | <range xsi:type="language_1:IntTypeReference"/> | ||
102 | </quantifiedVariables> | ||
103 | <quantifiedVariables name="trg 2"> | ||
104 | <range xsi:type="language_1:IntTypeReference"/> | ||
105 | </quantifiedVariables> | ||
106 | <expression xsi:type="language_1:Impl"> | ||
107 | <leftOperand xsi:type="language_1:And"> | ||
108 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.4"> | ||
109 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.3/@value/@quantifiedVariables.0"/> | ||
110 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.3/@value/@quantifiedVariables.1"/> | ||
111 | </operands> | ||
112 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@relations.4"> | ||
113 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.3/@value/@quantifiedVariables.0"/> | ||
114 | <parameterSubstitutions xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.3/@value/@quantifiedVariables.2"/> | ||
115 | </operands> | ||
116 | </leftOperand> | ||
117 | <rightOperand xsi:type="language_1:Not"> | ||
118 | <operand xsi:type="language_1:Distinct"> | ||
119 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.3/@value/@quantifiedVariables.1"/> | ||
120 | <operands xsi:type="language_1:SymbolicValue" symbolicReference="//@assertions.3/@value/@quantifiedVariables.2"/> | ||
121 | </operand> | ||
122 | </rightOperand> | ||
123 | </expression> | ||
124 | </value> | ||
125 | </assertions> | ||
126 | <relations xsi:type="language_1:RelationDeclaration" name="members reference FamilyTree"> | ||
127 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.0"/> | ||
128 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
129 | </relations> | ||
130 | <relations xsi:type="language_1:RelationDeclaration" name="children reference Member"> | ||
131 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
132 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
133 | </relations> | ||
134 | <relations xsi:type="language_1:RelationDeclaration" name="parents reference Member"> | ||
135 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
136 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
137 | </relations> | ||
138 | <relations xsi:type="language_1:RelationDeclaration" name="name attribute Member"> | ||
139 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
140 | <parameters xsi:type="language_1:StringTypeReference"/> | ||
141 | </relations> | ||
142 | <relations xsi:type="language_1:RelationDeclaration" name="age attribute Member"> | ||
143 | <parameters xsi:type="language_1:ComplexTypeReference" referred="//@types.1"/> | ||
144 | <parameters xsi:type="language_1:IntTypeReference"/> | ||
145 | </relations> | ||
146 | <containmentHierarchies typesOrderedInHierarchy="//@types.0 //@types.1" containmentRelations="//@relations.0"/> | ||
147 | <annotations xsi:type="ecore2logicannotations:UpperMultiplicityAssertion" target="//@assertions.0" relation="//@relations.2" upper="2"/> | ||
148 | <annotations xsi:type="ecore2logicannotations:InverseRelationAssertion" target="//@assertions.1" inverseA="//@relations.1" inverseB="//@relations.2"/> | ||
149 | <annotations xsi:type="ecore2logicannotations:UpperMultiplicityAssertion" target="//@assertions.2" relation="//@relations.3" upper="1"/> | ||
150 | <annotations xsi:type="ecore2logicannotations:UpperMultiplicityAssertion" target="//@assertions.3" relation="//@relations.4" upper="1"/> | ||
151 | </language:LogicProblem> | ||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml new file mode 100644 index 00000000..3123e29e --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.gml | |||
@@ -0,0 +1,1081 @@ | |||
1 | graph | ||
2 | [ | ||
3 | node | ||
4 | [ | ||
5 | id 0 | ||
6 | graphics | ||
7 | [ | ||
8 | w 41.800000000000004 | ||
9 | h 26 | ||
10 | type "rectangle" | ||
11 | fill "#FFFFFF" | ||
12 | fill2 "#FFFFFF" | ||
13 | outline "#000000" | ||
14 | ] | ||
15 | LabelGraphics | ||
16 | [ | ||
17 | text "true" | ||
18 | outline "#000000" | ||
19 | fill "#FFFFFF" | ||
20 | fontSize 16 | ||
21 | fontName "Monospace" | ||
22 | autoSizePolicy "node_width" | ||
23 | anchor "t" | ||
24 | borderDistance 0.0 | ||
25 | ] | ||
26 | LabelGraphics | ||
27 | [ | ||
28 | text " | ||
29 | " | ||
30 | fontSize 14 | ||
31 | fontName "Consolas" | ||
32 | alignment "left" | ||
33 | anchor "tl" | ||
34 | borderDistance 6 | ||
35 | ] | ||
36 | ] | ||
37 | |||
38 | node | ||
39 | [ | ||
40 | id 1 | ||
41 | graphics | ||
42 | [ | ||
43 | w 50.6 | ||
44 | h 26 | ||
45 | type "rectangle" | ||
46 | fill "#FFFFFF" | ||
47 | fill2 "#FFFFFF" | ||
48 | outline "#000000" | ||
49 | ] | ||
50 | LabelGraphics | ||
51 | [ | ||
52 | text "false" | ||
53 | outline "#000000" | ||
54 | fill "#FFFFFF" | ||
55 | fontSize 16 | ||
56 | fontName "Monospace" | ||
57 | autoSizePolicy "node_width" | ||
58 | anchor "t" | ||
59 | borderDistance 0.0 | ||
60 | ] | ||
61 | LabelGraphics | ||
62 | [ | ||
63 | text " | ||
64 | " | ||
65 | fontSize 14 | ||
66 | fontName "Consolas" | ||
67 | alignment "left" | ||
68 | anchor "tl" | ||
69 | borderDistance 6 | ||
70 | ] | ||
71 | ] | ||
72 | |||
73 | node | ||
74 | [ | ||
75 | id 2 | ||
76 | graphics | ||
77 | [ | ||
78 | w 15.400000000000002 | ||
79 | h 26 | ||
80 | type "rectangle" | ||
81 | fill "#FFFFFF" | ||
82 | fill2 "#FFFFFF" | ||
83 | outline "#000000" | ||
84 | ] | ||
85 | LabelGraphics | ||
86 | [ | ||
87 | text "0" | ||
88 | outline "#000000" | ||
89 | fill "#FFFFFF" | ||
90 | fontSize 16 | ||
91 | fontName "Monospace" | ||
92 | autoSizePolicy "node_width" | ||
93 | anchor "t" | ||
94 | borderDistance 0.0 | ||
95 | ] | ||
96 | LabelGraphics | ||
97 | [ | ||
98 | text " | ||
99 | " | ||
100 | fontSize 14 | ||
101 | fontName "Consolas" | ||
102 | alignment "left" | ||
103 | anchor "tl" | ||
104 | borderDistance 6 | ||
105 | ] | ||
106 | ] | ||
107 | |||
108 | node | ||
109 | [ | ||
110 | id 3 | ||
111 | graphics | ||
112 | [ | ||
113 | w 15.400000000000002 | ||
114 | h 26 | ||
115 | type "rectangle" | ||
116 | fill "#FFFFFF" | ||
117 | fill2 "#FFFFFF" | ||
118 | outline "#000000" | ||
119 | ] | ||
120 | LabelGraphics | ||
121 | [ | ||
122 | text "1" | ||
123 | outline "#000000" | ||
124 | fill "#FFFFFF" | ||
125 | fontSize 16 | ||
126 | fontName "Monospace" | ||
127 | autoSizePolicy "node_width" | ||
128 | anchor "t" | ||
129 | borderDistance 0.0 | ||
130 | ] | ||
131 | LabelGraphics | ||
132 | [ | ||
133 | text " | ||
134 | " | ||
135 | fontSize 14 | ||
136 | fontName "Consolas" | ||
137 | alignment "left" | ||
138 | anchor "tl" | ||
139 | borderDistance 6 | ||
140 | ] | ||
141 | ] | ||
142 | |||
143 | node | ||
144 | [ | ||
145 | id 4 | ||
146 | graphics | ||
147 | [ | ||
148 | w 15.400000000000002 | ||
149 | h 26 | ||
150 | type "rectangle" | ||
151 | fill "#FFFFFF" | ||
152 | fill2 "#FFFFFF" | ||
153 | outline "#000000" | ||
154 | ] | ||
155 | LabelGraphics | ||
156 | [ | ||
157 | text "2" | ||
158 | outline "#000000" | ||
159 | fill "#FFFFFF" | ||
160 | fontSize 16 | ||
161 | fontName "Monospace" | ||
162 | autoSizePolicy "node_width" | ||
163 | anchor "t" | ||
164 | borderDistance 0.0 | ||
165 | ] | ||
166 | LabelGraphics | ||
167 | [ | ||
168 | text " | ||
169 | " | ||
170 | fontSize 14 | ||
171 | fontName "Consolas" | ||
172 | alignment "left" | ||
173 | anchor "tl" | ||
174 | borderDistance 6 | ||
175 | ] | ||
176 | ] | ||
177 | |||
178 | node | ||
179 | [ | ||
180 | id 5 | ||
181 | graphics | ||
182 | [ | ||
183 | w 15.400000000000002 | ||
184 | h 26 | ||
185 | type "rectangle" | ||
186 | fill "#FFFFFF" | ||
187 | fill2 "#FFFFFF" | ||
188 | outline "#000000" | ||
189 | ] | ||
190 | LabelGraphics | ||
191 | [ | ||
192 | text "3" | ||
193 | outline "#000000" | ||
194 | fill "#FFFFFF" | ||
195 | fontSize 16 | ||
196 | fontName "Monospace" | ||
197 | autoSizePolicy "node_width" | ||
198 | anchor "t" | ||
199 | borderDistance 0.0 | ||
200 | ] | ||
201 | LabelGraphics | ||
202 | [ | ||
203 | text " | ||
204 | " | ||
205 | fontSize 14 | ||
206 | fontName "Consolas" | ||
207 | alignment "left" | ||
208 | anchor "tl" | ||
209 | borderDistance 6 | ||
210 | ] | ||
211 | ] | ||
212 | |||
213 | node | ||
214 | [ | ||
215 | id 6 | ||
216 | graphics | ||
217 | [ | ||
218 | w 15.400000000000002 | ||
219 | h 26 | ||
220 | type "rectangle" | ||
221 | fill "#FFFFFF" | ||
222 | fill2 "#FFFFFF" | ||
223 | outline "#000000" | ||
224 | ] | ||
225 | LabelGraphics | ||
226 | [ | ||
227 | text "4" | ||
228 | outline "#000000" | ||
229 | fill "#FFFFFF" | ||
230 | fontSize 16 | ||
231 | fontName "Monospace" | ||
232 | autoSizePolicy "node_width" | ||
233 | anchor "t" | ||
234 | borderDistance 0.0 | ||
235 | ] | ||
236 | LabelGraphics | ||
237 | [ | ||
238 | text " | ||
239 | " | ||
240 | fontSize 14 | ||
241 | fontName "Consolas" | ||
242 | alignment "left" | ||
243 | anchor "tl" | ||
244 | borderDistance 6 | ||
245 | ] | ||
246 | ] | ||
247 | |||
248 | node | ||
249 | [ | ||
250 | id 7 | ||
251 | graphics | ||
252 | [ | ||
253 | w 15.400000000000002 | ||
254 | h 26 | ||
255 | type "rectangle" | ||
256 | fill "#FFFFFF" | ||
257 | fill2 "#FFFFFF" | ||
258 | outline "#000000" | ||
259 | ] | ||
260 | LabelGraphics | ||
261 | [ | ||
262 | text "5" | ||
263 | outline "#000000" | ||
264 | fill "#FFFFFF" | ||
265 | fontSize 16 | ||
266 | fontName "Monospace" | ||
267 | autoSizePolicy "node_width" | ||
268 | anchor "t" | ||
269 | borderDistance 0.0 | ||
270 | ] | ||
271 | LabelGraphics | ||
272 | [ | ||
273 | text " | ||
274 | " | ||
275 | fontSize 14 | ||
276 | fontName "Consolas" | ||
277 | alignment "left" | ||
278 | anchor "tl" | ||
279 | borderDistance 6 | ||
280 | ] | ||
281 | ] | ||
282 | |||
283 | node | ||
284 | [ | ||
285 | id 8 | ||
286 | graphics | ||
287 | [ | ||
288 | w 138.60000000000002 | ||
289 | h 40 | ||
290 | type "rectangle" | ||
291 | fill "#FFFFFF" | ||
292 | fill2 "#FFFFFF" | ||
293 | outline "#000000" | ||
294 | ] | ||
295 | LabelGraphics | ||
296 | [ | ||
297 | text "null" | ||
298 | outline "#000000" | ||
299 | fill "#FFFFFF" | ||
300 | fontSize 16 | ||
301 | fontName "Monospace" | ||
302 | autoSizePolicy "node_width" | ||
303 | anchor "t" | ||
304 | borderDistance 0.0 | ||
305 | ] | ||
306 | LabelGraphics | ||
307 | [ | ||
308 | text " | ||
309 | FamilyTree class | ||
310 | " | ||
311 | fontSize 14 | ||
312 | fontName "Consolas" | ||
313 | alignment "left" | ||
314 | anchor "tl" | ||
315 | borderDistance 6 | ||
316 | ] | ||
317 | ] | ||
318 | |||
319 | node | ||
320 | [ | ||
321 | id 9 | ||
322 | graphics | ||
323 | [ | ||
324 | w 107.80000000000001 | ||
325 | h 40 | ||
326 | type "rectangle" | ||
327 | fill "#FFFFFF" | ||
328 | fill2 "#FFFFFF" | ||
329 | outline "#000000" | ||
330 | ] | ||
331 | LabelGraphics | ||
332 | [ | ||
333 | text "null" | ||
334 | outline "#000000" | ||
335 | fill "#FFFFFF" | ||
336 | fontSize 16 | ||
337 | fontName "Monospace" | ||
338 | autoSizePolicy "node_width" | ||
339 | anchor "t" | ||
340 | borderDistance 0.0 | ||
341 | ] | ||
342 | LabelGraphics | ||
343 | [ | ||
344 | text " | ||
345 | Member class | ||
346 | " | ||
347 | fontSize 14 | ||
348 | fontName "Consolas" | ||
349 | alignment "left" | ||
350 | anchor "tl" | ||
351 | borderDistance 6 | ||
352 | ] | ||
353 | ] | ||
354 | |||
355 | node | ||
356 | [ | ||
357 | id 10 | ||
358 | graphics | ||
359 | [ | ||
360 | w 107.80000000000001 | ||
361 | h 40 | ||
362 | type "rectangle" | ||
363 | fill "#FFFFFF" | ||
364 | fill2 "#FFFFFF" | ||
365 | outline "#000000" | ||
366 | ] | ||
367 | LabelGraphics | ||
368 | [ | ||
369 | text "null" | ||
370 | outline "#000000" | ||
371 | fill "#FFFFFF" | ||
372 | fontSize 16 | ||
373 | fontName "Monospace" | ||
374 | autoSizePolicy "node_width" | ||
375 | anchor "t" | ||
376 | borderDistance 0.0 | ||
377 | ] | ||
378 | LabelGraphics | ||
379 | [ | ||
380 | text " | ||
381 | Member class | ||
382 | " | ||
383 | fontSize 14 | ||
384 | fontName "Consolas" | ||
385 | alignment "left" | ||
386 | anchor "tl" | ||
387 | borderDistance 6 | ||
388 | ] | ||
389 | ] | ||
390 | |||
391 | node | ||
392 | [ | ||
393 | id 11 | ||
394 | graphics | ||
395 | [ | ||
396 | w 107.80000000000001 | ||
397 | h 40 | ||
398 | type "rectangle" | ||
399 | fill "#FFFFFF" | ||
400 | fill2 "#FFFFFF" | ||
401 | outline "#000000" | ||
402 | ] | ||
403 | LabelGraphics | ||
404 | [ | ||
405 | text "null" | ||
406 | outline "#000000" | ||
407 | fill "#FFFFFF" | ||
408 | fontSize 16 | ||
409 | fontName "Monospace" | ||
410 | autoSizePolicy "node_width" | ||
411 | anchor "t" | ||
412 | borderDistance 0.0 | ||
413 | ] | ||
414 | LabelGraphics | ||
415 | [ | ||
416 | text " | ||
417 | Member class | ||
418 | " | ||
419 | fontSize 14 | ||
420 | fontName "Consolas" | ||
421 | alignment "left" | ||
422 | anchor "tl" | ||
423 | borderDistance 6 | ||
424 | ] | ||
425 | ] | ||
426 | |||
427 | node | ||
428 | [ | ||
429 | id 12 | ||
430 | graphics | ||
431 | [ | ||
432 | w 107.80000000000001 | ||
433 | h 40 | ||
434 | type "rectangle" | ||
435 | fill "#FFFFFF" | ||
436 | fill2 "#FFFFFF" | ||
437 | outline "#000000" | ||
438 | ] | ||
439 | LabelGraphics | ||
440 | [ | ||
441 | text "null" | ||
442 | outline "#000000" | ||
443 | fill "#FFFFFF" | ||
444 | fontSize 16 | ||
445 | fontName "Monospace" | ||
446 | autoSizePolicy "node_width" | ||
447 | anchor "t" | ||
448 | borderDistance 0.0 | ||
449 | ] | ||
450 | LabelGraphics | ||
451 | [ | ||
452 | text " | ||
453 | Member class | ||
454 | " | ||
455 | fontSize 14 | ||
456 | fontName "Consolas" | ||
457 | alignment "left" | ||
458 | anchor "tl" | ||
459 | borderDistance 6 | ||
460 | ] | ||
461 | ] | ||
462 | |||
463 | node | ||
464 | [ | ||
465 | id 13 | ||
466 | graphics | ||
467 | [ | ||
468 | w 107.80000000000001 | ||
469 | h 40 | ||
470 | type "rectangle" | ||
471 | fill "#FFFFFF" | ||
472 | fill2 "#FFFFFF" | ||
473 | outline "#000000" | ||
474 | ] | ||
475 | LabelGraphics | ||
476 | [ | ||
477 | text "null" | ||
478 | outline "#000000" | ||
479 | fill "#FFFFFF" | ||
480 | fontSize 16 | ||
481 | fontName "Monospace" | ||
482 | autoSizePolicy "node_width" | ||
483 | anchor "t" | ||
484 | borderDistance 0.0 | ||
485 | ] | ||
486 | LabelGraphics | ||
487 | [ | ||
488 | text " | ||
489 | Member class | ||
490 | " | ||
491 | fontSize 14 | ||
492 | fontName "Consolas" | ||
493 | alignment "left" | ||
494 | anchor "tl" | ||
495 | borderDistance 6 | ||
496 | ] | ||
497 | ] | ||
498 | |||
499 | node | ||
500 | [ | ||
501 | id 14 | ||
502 | graphics | ||
503 | [ | ||
504 | w 112.2 | ||
505 | h 26 | ||
506 | type "rectangle" | ||
507 | fill "#FFFFFF" | ||
508 | fill2 "#FFFFFF" | ||
509 | outline "#000000" | ||
510 | ] | ||
511 | LabelGraphics | ||
512 | [ | ||
513 | text "New Integers" | ||
514 | outline "#000000" | ||
515 | fill "#FFFFFF" | ||
516 | fontSize 16 | ||
517 | fontName "Monospace" | ||
518 | autoSizePolicy "node_width" | ||
519 | anchor "t" | ||
520 | borderDistance 0.0 | ||
521 | ] | ||
522 | LabelGraphics | ||
523 | [ | ||
524 | text " | ||
525 | " | ||
526 | fontSize 14 | ||
527 | fontName "Consolas" | ||
528 | alignment "left" | ||
529 | anchor "tl" | ||
530 | borderDistance 6 | ||
531 | ] | ||
532 | ] | ||
533 | |||
534 | node | ||
535 | [ | ||
536 | id 15 | ||
537 | graphics | ||
538 | [ | ||
539 | w 85.80000000000001 | ||
540 | h 26 | ||
541 | type "rectangle" | ||
542 | fill "#FFFFFF" | ||
543 | fill2 "#FFFFFF" | ||
544 | outline "#000000" | ||
545 | ] | ||
546 | LabelGraphics | ||
547 | [ | ||
548 | text "New Reals" | ||
549 | outline "#000000" | ||
550 | fill "#FFFFFF" | ||
551 | fontSize 16 | ||
552 | fontName "Monospace" | ||
553 | autoSizePolicy "node_width" | ||
554 | anchor "t" | ||
555 | borderDistance 0.0 | ||
556 | ] | ||
557 | LabelGraphics | ||
558 | [ | ||
559 | text " | ||
560 | " | ||
561 | fontSize 14 | ||
562 | fontName "Consolas" | ||
563 | alignment "left" | ||
564 | anchor "tl" | ||
565 | borderDistance 6 | ||
566 | ] | ||
567 | ] | ||
568 | |||
569 | node | ||
570 | [ | ||
571 | id 16 | ||
572 | graphics | ||
573 | [ | ||
574 | w 103.4 | ||
575 | h 26 | ||
576 | type "rectangle" | ||
577 | fill "#FFFFFF" | ||
578 | fill2 "#FFFFFF" | ||
579 | outline "#000000" | ||
580 | ] | ||
581 | LabelGraphics | ||
582 | [ | ||
583 | text "New Strings" | ||
584 | outline "#000000" | ||
585 | fill "#FFFFFF" | ||
586 | fontSize 16 | ||
587 | fontName "Monospace" | ||
588 | autoSizePolicy "node_width" | ||
589 | anchor "t" | ||
590 | borderDistance 0.0 | ||
591 | ] | ||
592 | LabelGraphics | ||
593 | [ | ||
594 | text " | ||
595 | " | ||
596 | fontSize 14 | ||
597 | fontName "Consolas" | ||
598 | alignment "left" | ||
599 | anchor "tl" | ||
600 | borderDistance 6 | ||
601 | ] | ||
602 | ] | ||
603 | |||
604 | node | ||
605 | [ | ||
606 | id 17 | ||
607 | graphics | ||
608 | [ | ||
609 | w 103.4 | ||
610 | h 26 | ||
611 | type "rectangle" | ||
612 | fill "#FFFFFF" | ||
613 | fill2 "#FFFFFF" | ||
614 | outline "#000000" | ||
615 | ] | ||
616 | LabelGraphics | ||
617 | [ | ||
618 | text "New Objects" | ||
619 | outline "#000000" | ||
620 | fill "#FFFFFF" | ||
621 | fontSize 16 | ||
622 | fontName "Monospace" | ||
623 | autoSizePolicy "node_width" | ||
624 | anchor "t" | ||
625 | borderDistance 0.0 | ||
626 | ] | ||
627 | LabelGraphics | ||
628 | [ | ||
629 | text " | ||
630 | " | ||
631 | fontSize 14 | ||
632 | fontName "Consolas" | ||
633 | alignment "left" | ||
634 | anchor "tl" | ||
635 | borderDistance 6 | ||
636 | ] | ||
637 | ] | ||
638 | edge | ||
639 | [ | ||
640 | source 8 | ||
641 | target 9 | ||
642 | graphics | ||
643 | [ | ||
644 | fill "#000000" | ||
645 | width 3 | ||
646 | targetArrow "standard" | ||
647 | ] | ||
648 | LabelGraphics | ||
649 | [ | ||
650 | text "members reference FamilyTree" | ||
651 | fontSize 14 | ||
652 | fontName "Consolas" | ||
653 | configuration "AutoFlippingLabel" | ||
654 | model "six_pos" | ||
655 | position "thead" | ||
656 | ] | ||
657 | ] | ||
658 | edge | ||
659 | [ | ||
660 | source 8 | ||
661 | target 10 | ||
662 | graphics | ||
663 | [ | ||
664 | fill "#000000" | ||
665 | width 3 | ||
666 | targetArrow "standard" | ||
667 | ] | ||
668 | LabelGraphics | ||
669 | [ | ||
670 | text "members reference FamilyTree" | ||
671 | fontSize 14 | ||
672 | fontName "Consolas" | ||
673 | configuration "AutoFlippingLabel" | ||
674 | model "six_pos" | ||
675 | position "thead" | ||
676 | ] | ||
677 | ] | ||
678 | edge | ||
679 | [ | ||
680 | source 8 | ||
681 | target 11 | ||
682 | graphics | ||
683 | [ | ||
684 | fill "#000000" | ||
685 | width 3 | ||
686 | targetArrow "standard" | ||
687 | ] | ||
688 | LabelGraphics | ||
689 | [ | ||
690 | text "members reference FamilyTree" | ||
691 | fontSize 14 | ||
692 | fontName "Consolas" | ||
693 | configuration "AutoFlippingLabel" | ||
694 | model "six_pos" | ||
695 | position "thead" | ||
696 | ] | ||
697 | ] | ||
698 | edge | ||
699 | [ | ||
700 | source 8 | ||
701 | target 12 | ||
702 | graphics | ||
703 | [ | ||
704 | fill "#000000" | ||
705 | width 3 | ||
706 | targetArrow "standard" | ||
707 | ] | ||
708 | LabelGraphics | ||
709 | [ | ||
710 | text "members reference FamilyTree" | ||
711 | fontSize 14 | ||
712 | fontName "Consolas" | ||
713 | configuration "AutoFlippingLabel" | ||
714 | model "six_pos" | ||
715 | position "thead" | ||
716 | ] | ||
717 | ] | ||
718 | edge | ||
719 | [ | ||
720 | source 8 | ||
721 | target 13 | ||
722 | graphics | ||
723 | [ | ||
724 | fill "#000000" | ||
725 | width 3 | ||
726 | targetArrow "standard" | ||
727 | ] | ||
728 | LabelGraphics | ||
729 | [ | ||
730 | text "members reference FamilyTree" | ||
731 | fontSize 14 | ||
732 | fontName "Consolas" | ||
733 | configuration "AutoFlippingLabel" | ||
734 | model "six_pos" | ||
735 | position "thead" | ||
736 | ] | ||
737 | ] | ||
738 | edge | ||
739 | [ | ||
740 | source 9 | ||
741 | target 10 | ||
742 | graphics | ||
743 | [ | ||
744 | fill "#000000" | ||
745 | targetArrow "standard" | ||
746 | ] | ||
747 | LabelGraphics | ||
748 | [ | ||
749 | text "children reference Member" | ||
750 | fontSize 14 | ||
751 | fontName "Consolas" | ||
752 | configuration "AutoFlippingLabel" | ||
753 | model "six_pos" | ||
754 | position "thead" | ||
755 | ] | ||
756 | ] | ||
757 | edge | ||
758 | [ | ||
759 | source 10 | ||
760 | target 10 | ||
761 | graphics | ||
762 | [ | ||
763 | fill "#000000" | ||
764 | targetArrow "standard" | ||
765 | ] | ||
766 | LabelGraphics | ||
767 | [ | ||
768 | text "children reference Member" | ||
769 | fontSize 14 | ||
770 | fontName "Consolas" | ||
771 | configuration "AutoFlippingLabel" | ||
772 | model "six_pos" | ||
773 | position "thead" | ||
774 | ] | ||
775 | ] | ||
776 | edge | ||
777 | [ | ||
778 | source 10 | ||
779 | target 9 | ||
780 | graphics | ||
781 | [ | ||
782 | fill "#000000" | ||
783 | targetArrow "standard" | ||
784 | ] | ||
785 | LabelGraphics | ||
786 | [ | ||
787 | text "children reference Member" | ||
788 | fontSize 14 | ||
789 | fontName "Consolas" | ||
790 | configuration "AutoFlippingLabel" | ||
791 | model "six_pos" | ||
792 | position "thead" | ||
793 | ] | ||
794 | ] | ||
795 | edge | ||
796 | [ | ||
797 | source 9 | ||
798 | target 11 | ||
799 | graphics | ||
800 | [ | ||
801 | fill "#000000" | ||
802 | targetArrow "standard" | ||
803 | ] | ||
804 | LabelGraphics | ||
805 | [ | ||
806 | text "children reference Member" | ||
807 | fontSize 14 | ||
808 | fontName "Consolas" | ||
809 | configuration "AutoFlippingLabel" | ||
810 | model "six_pos" | ||
811 | position "thead" | ||
812 | ] | ||
813 | ] | ||
814 | edge | ||
815 | [ | ||
816 | source 9 | ||
817 | target 12 | ||
818 | graphics | ||
819 | [ | ||
820 | fill "#000000" | ||
821 | targetArrow "standard" | ||
822 | ] | ||
823 | LabelGraphics | ||
824 | [ | ||
825 | text "children reference Member" | ||
826 | fontSize 14 | ||
827 | fontName "Consolas" | ||
828 | configuration "AutoFlippingLabel" | ||
829 | model "six_pos" | ||
830 | position "thead" | ||
831 | ] | ||
832 | ] | ||
833 | edge | ||
834 | [ | ||
835 | source 9 | ||
836 | target 9 | ||
837 | graphics | ||
838 | [ | ||
839 | fill "#000000" | ||
840 | targetArrow "standard" | ||
841 | ] | ||
842 | LabelGraphics | ||
843 | [ | ||
844 | text "children reference Member" | ||
845 | fontSize 14 | ||
846 | fontName "Consolas" | ||
847 | configuration "AutoFlippingLabel" | ||
848 | model "six_pos" | ||
849 | position "thead" | ||
850 | ] | ||
851 | ] | ||
852 | edge | ||
853 | [ | ||
854 | source 11 | ||
855 | target 12 | ||
856 | graphics | ||
857 | [ | ||
858 | fill "#000000" | ||
859 | targetArrow "standard" | ||
860 | ] | ||
861 | LabelGraphics | ||
862 | [ | ||
863 | text "children reference Member" | ||
864 | fontSize 14 | ||
865 | fontName "Consolas" | ||
866 | configuration "AutoFlippingLabel" | ||
867 | model "six_pos" | ||
868 | position "thead" | ||
869 | ] | ||
870 | ] | ||
871 | edge | ||
872 | [ | ||
873 | source 10 | ||
874 | target 9 | ||
875 | graphics | ||
876 | [ | ||
877 | fill "#000000" | ||
878 | targetArrow "standard" | ||
879 | ] | ||
880 | LabelGraphics | ||
881 | [ | ||
882 | text "parents reference Member" | ||
883 | fontSize 14 | ||
884 | fontName "Consolas" | ||
885 | configuration "AutoFlippingLabel" | ||
886 | model "six_pos" | ||
887 | position "thead" | ||
888 | ] | ||
889 | ] | ||
890 | edge | ||
891 | [ | ||
892 | source 10 | ||
893 | target 10 | ||
894 | graphics | ||
895 | [ | ||
896 | fill "#000000" | ||
897 | targetArrow "standard" | ||
898 | ] | ||
899 | LabelGraphics | ||
900 | [ | ||
901 | text "parents reference Member" | ||
902 | fontSize 14 | ||
903 | fontName "Consolas" | ||
904 | configuration "AutoFlippingLabel" | ||
905 | model "six_pos" | ||
906 | position "thead" | ||
907 | ] | ||
908 | ] | ||
909 | edge | ||
910 | [ | ||
911 | source 9 | ||
912 | target 10 | ||
913 | graphics | ||
914 | [ | ||
915 | fill "#000000" | ||
916 | targetArrow "standard" | ||
917 | ] | ||
918 | LabelGraphics | ||
919 | [ | ||
920 | text "parents reference Member" | ||
921 | fontSize 14 | ||
922 | fontName "Consolas" | ||
923 | configuration "AutoFlippingLabel" | ||
924 | model "six_pos" | ||
925 | position "thead" | ||
926 | ] | ||
927 | ] | ||
928 | edge | ||
929 | [ | ||
930 | source 11 | ||
931 | target 9 | ||
932 | graphics | ||
933 | [ | ||
934 | fill "#000000" | ||
935 | targetArrow "standard" | ||
936 | ] | ||
937 | LabelGraphics | ||
938 | [ | ||
939 | text "parents reference Member" | ||
940 | fontSize 14 | ||
941 | fontName "Consolas" | ||
942 | configuration "AutoFlippingLabel" | ||
943 | model "six_pos" | ||
944 | position "thead" | ||
945 | ] | ||
946 | ] | ||
947 | edge | ||
948 | [ | ||
949 | source 12 | ||
950 | target 9 | ||
951 | graphics | ||
952 | [ | ||
953 | fill "#000000" | ||
954 | targetArrow "standard" | ||
955 | ] | ||
956 | LabelGraphics | ||
957 | [ | ||
958 | text "parents reference Member" | ||
959 | fontSize 14 | ||
960 | fontName "Consolas" | ||
961 | configuration "AutoFlippingLabel" | ||
962 | model "six_pos" | ||
963 | position "thead" | ||
964 | ] | ||
965 | ] | ||
966 | edge | ||
967 | [ | ||
968 | source 9 | ||
969 | target 9 | ||
970 | graphics | ||
971 | [ | ||
972 | fill "#000000" | ||
973 | targetArrow "standard" | ||
974 | ] | ||
975 | LabelGraphics | ||
976 | [ | ||
977 | text "parents reference Member" | ||
978 | fontSize 14 | ||
979 | fontName "Consolas" | ||
980 | configuration "AutoFlippingLabel" | ||
981 | model "six_pos" | ||
982 | position "thead" | ||
983 | ] | ||
984 | ] | ||
985 | edge | ||
986 | [ | ||
987 | source 12 | ||
988 | target 11 | ||
989 | graphics | ||
990 | [ | ||
991 | fill "#000000" | ||
992 | targetArrow "standard" | ||
993 | ] | ||
994 | LabelGraphics | ||
995 | [ | ||
996 | text "parents reference Member" | ||
997 | fontSize 14 | ||
998 | fontName "Consolas" | ||
999 | configuration "AutoFlippingLabel" | ||
1000 | model "six_pos" | ||
1001 | position "thead" | ||
1002 | ] | ||
1003 | ] | ||
1004 | edge | ||
1005 | [ | ||
1006 | source 9 | ||
1007 | target 7 | ||
1008 | graphics | ||
1009 | [ | ||
1010 | fill "#000000" | ||
1011 | targetArrow "standard" | ||
1012 | ] | ||
1013 | LabelGraphics | ||
1014 | [ | ||
1015 | text "age attribute Member" | ||
1016 | fontSize 14 | ||
1017 | fontName "Consolas" | ||
1018 | configuration "AutoFlippingLabel" | ||
1019 | model "six_pos" | ||
1020 | position "thead" | ||
1021 | ] | ||
1022 | ] | ||
1023 | edge | ||
1024 | [ | ||
1025 | source 10 | ||
1026 | target 7 | ||
1027 | graphics | ||
1028 | [ | ||
1029 | fill "#000000" | ||
1030 | targetArrow "standard" | ||
1031 | ] | ||
1032 | LabelGraphics | ||
1033 | [ | ||
1034 | text "age attribute Member" | ||
1035 | fontSize 14 | ||
1036 | fontName "Consolas" | ||
1037 | configuration "AutoFlippingLabel" | ||
1038 | model "six_pos" | ||
1039 | position "thead" | ||
1040 | ] | ||
1041 | ] | ||
1042 | edge | ||
1043 | [ | ||
1044 | source 11 | ||
1045 | target 5 | ||
1046 | graphics | ||
1047 | [ | ||
1048 | fill "#000000" | ||
1049 | targetArrow "standard" | ||
1050 | ] | ||
1051 | LabelGraphics | ||
1052 | [ | ||
1053 | text "age attribute Member" | ||
1054 | fontSize 14 | ||
1055 | fontName "Consolas" | ||
1056 | configuration "AutoFlippingLabel" | ||
1057 | model "six_pos" | ||
1058 | position "thead" | ||
1059 | ] | ||
1060 | ] | ||
1061 | edge | ||
1062 | [ | ||
1063 | source 12 | ||
1064 | target 7 | ||
1065 | graphics | ||
1066 | [ | ||
1067 | fill "#000000" | ||
1068 | targetArrow "standard" | ||
1069 | ] | ||
1070 | LabelGraphics | ||
1071 | [ | ||
1072 | text "age attribute Member" | ||
1073 | fontSize 14 | ||
1074 | fontName "Consolas" | ||
1075 | configuration "AutoFlippingLabel" | ||
1076 | model "six_pos" | ||
1077 | position "thead" | ||
1078 | ] | ||
1079 | ] | ||
1080 | ] | ||
1081 | |||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png new file mode 100644 index 00000000..0394a987 --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.png | |||
Binary files differ | |||
diff --git a/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi new file mode 100644 index 00000000..31dd612c --- /dev/null +++ b/Tests/MODELS2020-CaseStudies/case.study.pledge.run/output/27-1505/solution0.xmi | |||
@@ -0,0 +1,8 @@ | |||
1 | <?xml version="1.0" encoding="ASCII"?> | ||
2 | <familytree:FamilyTree xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:familytree="http://www.example.org/familytree"> | ||
3 | <members age="5" parents="//@members.1 //@members.4"/> | ||
4 | <members age="5" children="//@members.0 //@members.1 //@members.3 //@members.4" parents="//@members.1 //@members.3"/> | ||
5 | <members/> | ||
6 | <members age="5" children="//@members.1 //@members.3" parents="//@members.1 //@members.3"/> | ||
7 | <members age="3" children="//@members.0" parents="//@members.1"/> | ||
8 | </familytree:FamilyTree> | ||