diff options
author | 2020-05-19 21:18:06 +0200 | |
---|---|---|
committer | 2020-05-19 21:18:06 +0200 | |
commit | b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b (patch) | |
tree | ad3222182065b8fac7d9b3d528c4efabf2aa0dd2 /Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore | |
parent | Merge branch 'master' of github.com:viatra/VIATRA-Generator (diff) | |
download | VIATRA-Generator-b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b.tar.gz VIATRA-Generator-b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b.tar.zst VIATRA-Generator-b3c1c5b30ae8ea7ebad391c9250b4509d5a4cc9b.zip |
Config language WIP
Diffstat (limited to 'Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore')
-rw-r--r-- | Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore | 243 |
1 files changed, 0 insertions, 243 deletions
diff --git a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore b/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore deleted file mode 100644 index bd516038..00000000 --- a/Application/org.eclipse.viatra.solver.language/model/generated/SolverLanguage.ecore +++ /dev/null | |||
@@ -1,243 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="solverLanguage" nsURI="http://www.eclipse.org/viatra/solver/language/SolverLanguage" | ||
4 | nsPrefix="solverLanguage"> | ||
5 | <eClassifiers xsi:type="ecore:EClass" name="Problem"> | ||
6 | <eStructuralFeatures xsi:type="ecore:EReference" name="statements" upperBound="-1" | ||
7 | eType="#//Statement" containment="true"/> | ||
8 | </eClassifiers> | ||
9 | <eClassifiers xsi:type="ecore:EClass" name="Statement"/> | ||
10 | <eClassifiers xsi:type="ecore:EClass" name="PredicateDefinition" eSuperTypes="#//Statement"> | ||
11 | <eStructuralFeatures xsi:type="ecore:EReference" name="head" eType="#//Expression" | ||
12 | containment="true"/> | ||
13 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
14 | containment="true"/> | ||
15 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="functional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
16 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="error" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
17 | </eClassifiers> | ||
18 | <eClassifiers xsi:type="ecore:EClass" name="UnnamedErrorPrediateDefinition" eSuperTypes="#//Statement"> | ||
19 | <eStructuralFeatures xsi:type="ecore:EReference" name="argumentList" eType="#//ArgumentList" | ||
20 | containment="true"/> | ||
21 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
22 | containment="true"/> | ||
23 | </eClassifiers> | ||
24 | <eClassifiers xsi:type="ecore:EClass" name="DefaultDefinition" eSuperTypes="#//Statement"> | ||
25 | <eStructuralFeatures xsi:type="ecore:EReference" name="head" eType="#//Call" containment="true"/> | ||
26 | <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="#//Expression" | ||
27 | containment="true"/> | ||
28 | </eClassifiers> | ||
29 | <eClassifiers xsi:type="ecore:EClass" name="ExternPredicateDefinition" eSuperTypes="#//Statement"> | ||
30 | <eStructuralFeatures xsi:type="ecore:EReference" name="head" eType="#//Call" containment="true"/> | ||
31 | </eClassifiers> | ||
32 | <eClassifiers xsi:type="ecore:EEnum" name="MetricType"> | ||
33 | <eLiterals name="INT" literal="int"/> | ||
34 | <eLiterals name="REAL" value="1" literal="real"/> | ||
35 | </eClassifiers> | ||
36 | <eClassifiers xsi:type="ecore:EClass" name="MetricDefinition" eSuperTypes="#//Statement"> | ||
37 | <eStructuralFeatures xsi:type="ecore:EReference" name="head" eType="#//Expression" | ||
38 | containment="true"/> | ||
39 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
40 | containment="true"/> | ||
41 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//MetricType"/> | ||
42 | </eClassifiers> | ||
43 | <eClassifiers xsi:type="ecore:EClass" name="ExternMetricDefinition" eSuperTypes="#//Statement"> | ||
44 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//MetricType"/> | ||
45 | <eStructuralFeatures xsi:type="ecore:EReference" name="head" eType="#//Call" containment="true"/> | ||
46 | </eClassifiers> | ||
47 | <eClassifiers xsi:type="ecore:EClass" name="Expression" eSuperTypes="#//Statement"/> | ||
48 | <eClassifiers xsi:type="ecore:EClass" name="IfElse" eSuperTypes="#//Expression"> | ||
49 | <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression" | ||
50 | containment="true"/> | ||
51 | <eStructuralFeatures xsi:type="ecore:EReference" name="then" eType="#//Expression" | ||
52 | containment="true"/> | ||
53 | <eStructuralFeatures xsi:type="ecore:EReference" name="else" eType="#//Expression" | ||
54 | containment="true"/> | ||
55 | </eClassifiers> | ||
56 | <eClassifiers xsi:type="ecore:EClass" name="Case" eSuperTypes="#//Expression"> | ||
57 | <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression" | ||
58 | containment="true"/> | ||
59 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
60 | containment="true"/> | ||
61 | </eClassifiers> | ||
62 | <eClassifiers xsi:type="ecore:EEnum" name="BinaryOperator"> | ||
63 | <eLiterals name="EQ" literal="EQ"/> | ||
64 | <eLiterals name="NOT_EQ" value="1" literal="NOT_EQ"/> | ||
65 | <eLiterals name="LESS" value="2" literal="LESS"/> | ||
66 | <eLiterals name="LESS_EQ" value="3" literal="LESS_EQ"/> | ||
67 | <eLiterals name="GREATER" value="4" literal="GREATER"/> | ||
68 | <eLiterals name="GREATER_EQ" value="5" literal="GREATER_EQ"/> | ||
69 | <eLiterals name="IN" value="6" literal="IN"/> | ||
70 | <eLiterals name="ADD" value="7" literal="ADD"/> | ||
71 | <eLiterals name="SUB" value="8" literal="SUB"/> | ||
72 | <eLiterals name="MUL" value="9" literal="MUL"/> | ||
73 | <eLiterals name="DIV" value="10" literal="DIV"/> | ||
74 | <eLiterals name="POW" value="11" literal="POW"/> | ||
75 | </eClassifiers> | ||
76 | <eClassifiers xsi:type="ecore:EEnum" name="UnaryOp"> | ||
77 | <eLiterals name="NEG" literal="!"/> | ||
78 | <eLiterals name="PLUS" value="1" literal="+"/> | ||
79 | <eLiterals name="MINUS" value="2" literal="-"/> | ||
80 | <eLiterals name="MAY" value="3" literal="may"/> | ||
81 | <eLiterals name="MUST" value="4" literal="must"/> | ||
82 | <eLiterals name="CURRENT" value="5" literal="current"/> | ||
83 | </eClassifiers> | ||
84 | <eClassifiers xsi:type="ecore:EClass" name="Count" eSuperTypes="#//Expression"> | ||
85 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
86 | containment="true"/> | ||
87 | </eClassifiers> | ||
88 | <eClassifiers xsi:type="ecore:EEnum" name="AggregationOp"> | ||
89 | <eLiterals name="ONLY" literal="only"/> | ||
90 | <eLiterals name="SUM" value="1" literal="sum"/> | ||
91 | <eLiterals name="PROD" value="2" literal="prod"/> | ||
92 | <eLiterals name="AVG" value="3" literal="avg"/> | ||
93 | <eLiterals name="MIN" value="4" literal="min"/> | ||
94 | <eLiterals name="MAX" value="5" literal="max"/> | ||
95 | </eClassifiers> | ||
96 | <eClassifiers xsi:type="ecore:EClass" name="Aggregation" eSuperTypes="#//Expression"> | ||
97 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="#//AggregationOp"/> | ||
98 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
99 | containment="true"/> | ||
100 | <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression" | ||
101 | containment="true"/> | ||
102 | </eClassifiers> | ||
103 | <eClassifiers xsi:type="ecore:EClass" name="Call" eSuperTypes="#//Expression"> | ||
104 | <eStructuralFeatures xsi:type="ecore:EReference" name="functor" eType="#//Reference" | ||
105 | containment="true"/> | ||
106 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="transitiveClosure" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
107 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="reflexiveTransitiveClosure" | ||
108 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
109 | <eStructuralFeatures xsi:type="ecore:EReference" name="argumentList" eType="#//ArgumentList" | ||
110 | containment="true"/> | ||
111 | </eClassifiers> | ||
112 | <eClassifiers xsi:type="ecore:EClass" name="ArgumentList"> | ||
113 | <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" upperBound="-1" | ||
114 | eType="#//Argument" containment="true"/> | ||
115 | </eClassifiers> | ||
116 | <eClassifiers xsi:type="ecore:EClass" name="Argument"/> | ||
117 | <eClassifiers xsi:type="ecore:EClass" name="ExpressionArgument" eSuperTypes="#//Argument"> | ||
118 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
119 | containment="true"/> | ||
120 | </eClassifiers> | ||
121 | <eClassifiers xsi:type="ecore:EClass" name="StarArgument" eSuperTypes="#//Argument"/> | ||
122 | <eClassifiers xsi:type="ecore:EClass" name="TypedArgument" eSuperTypes="#//Argument"> | ||
123 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//NamedElement"/> | ||
124 | <eStructuralFeatures xsi:type="ecore:EReference" name="variable" eType="#//NamedElement"/> | ||
125 | </eClassifiers> | ||
126 | <eClassifiers xsi:type="ecore:EClass" name="TypedStarArgument" eSuperTypes="#//Argument"> | ||
127 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//NamedElement"/> | ||
128 | </eClassifiers> | ||
129 | <eClassifiers xsi:type="ecore:EClass" name="Reference" eSuperTypes="#//Expression"> | ||
130 | <eStructuralFeatures xsi:type="ecore:EReference" name="referred" eType="#//NamedElement"/> | ||
131 | </eClassifiers> | ||
132 | <eClassifiers xsi:type="ecore:EClass" name="Interval" eSuperTypes="#//Expression"> | ||
133 | <eStructuralFeatures xsi:type="ecore:EReference" name="lowerBound" eType="#//Expression" | ||
134 | containment="true"/> | ||
135 | <eStructuralFeatures xsi:type="ecore:EReference" name="upperBound" eType="#//Expression" | ||
136 | containment="true"/> | ||
137 | </eClassifiers> | ||
138 | <eClassifiers xsi:type="ecore:EClass" name="Literal" eSuperTypes="#//Expression"/> | ||
139 | <eClassifiers xsi:type="ecore:EEnum" name="LogicValue"> | ||
140 | <eLiterals name="TRUE" literal="true"/> | ||
141 | <eLiterals name="FALSE" value="1" literal="false"/> | ||
142 | <eLiterals name="UNKNOWN" value="2" literal="unknown"/> | ||
143 | <eLiterals name="ERROR" value="3" literal="error"/> | ||
144 | </eClassifiers> | ||
145 | <eClassifiers xsi:type="ecore:EClass" name="LogicLiteral" eSuperTypes="#//Literal"> | ||
146 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="#//LogicValue"/> | ||
147 | </eClassifiers> | ||
148 | <eClassifiers xsi:type="ecore:EClass" name="NumericLiteral" eSuperTypes="#//Literal"> | ||
149 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigDecimal"/> | ||
150 | </eClassifiers> | ||
151 | <eClassifiers xsi:type="ecore:EClass" name="InfinityLiteral" eSuperTypes="#//Literal"/> | ||
152 | <eClassifiers xsi:type="ecore:EClass" name="EmptyIntervalLiteral" eSuperTypes="#//Literal"/> | ||
153 | <eClassifiers xsi:type="ecore:EClass" name="StringLiteral" eSuperTypes="#//Literal"> | ||
154 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
155 | </eClassifiers> | ||
156 | <eClassifiers xsi:type="ecore:EClass" name="ClassDefinition" eSuperTypes="#//Statement"> | ||
157 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
158 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
159 | <eStructuralFeatures xsi:type="ecore:EReference" name="superclasses" unique="false" | ||
160 | upperBound="-1" eType="#//NamedElement"/> | ||
161 | <eStructuralFeatures xsi:type="ecore:EReference" name="members" upperBound="-1" | ||
162 | eType="#//MemberDefinition" containment="true"/> | ||
163 | </eClassifiers> | ||
164 | <eClassifiers xsi:type="ecore:EClass" name="MemberDefinition"> | ||
165 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="containment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> | ||
166 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//NamedElement"/> | ||
167 | <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity" | ||
168 | containment="true"/> | ||
169 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
170 | <eStructuralFeatures xsi:type="ecore:EReference" name="opposite" eType="#//NamedElement"/> | ||
171 | </eClassifiers> | ||
172 | <eClassifiers xsi:type="ecore:EClass" name="Multiplicity"/> | ||
173 | <eClassifiers xsi:type="ecore:EClass" name="ManyMultiplicity" eSuperTypes="#//Multiplicity"/> | ||
174 | <eClassifiers xsi:type="ecore:EClass" name="ExactMultiplicity" eSuperTypes="#//Multiplicity"> | ||
175 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="multiplicity" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
176 | </eClassifiers> | ||
177 | <eClassifiers xsi:type="ecore:EClass" name="BoundedMultiplicity" eSuperTypes="#//Multiplicity"> | ||
178 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
179 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
180 | </eClassifiers> | ||
181 | <eClassifiers xsi:type="ecore:EClass" name="ScopeDefinition" eSuperTypes="#//Statement"> | ||
182 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//NamedElement"/> | ||
183 | </eClassifiers> | ||
184 | <eClassifiers xsi:type="ecore:EClass" name="ExactScopeDefinition" eSuperTypes="#//ScopeDefinition"> | ||
185 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="exactScope" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
186 | </eClassifiers> | ||
187 | <eClassifiers xsi:type="ecore:EClass" name="BoundedScopeDefinition" eSuperTypes="#//ScopeDefinition"> | ||
188 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
189 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
190 | </eClassifiers> | ||
191 | <eClassifiers xsi:type="ecore:EClass" name="LowerBoundedScopeDefinition" eSuperTypes="#//ScopeDefinition"> | ||
192 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> | ||
193 | </eClassifiers> | ||
194 | <eClassifiers xsi:type="ecore:EEnum" name="ObjectiveKind"> | ||
195 | <eLiterals name="MINIMIZE" literal="minimize"/> | ||
196 | <eLiterals name="MAXIMIZE" value="1" literal="maximize"/> | ||
197 | </eClassifiers> | ||
198 | <eClassifiers xsi:type="ecore:EClass" name="ObjectiveDefinition" eSuperTypes="#//Statement"> | ||
199 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//ObjectiveKind"/> | ||
200 | <eStructuralFeatures xsi:type="ecore:EReference" name="objective" eType="#//Expression" | ||
201 | containment="true"/> | ||
202 | </eClassifiers> | ||
203 | <eClassifiers xsi:type="ecore:EClass" name="NamedElement"> | ||
204 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
205 | </eClassifiers> | ||
206 | <eClassifiers xsi:type="ecore:EClass" name="Assertion" eSuperTypes="#//Statement"> | ||
207 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
208 | containment="true"/> | ||
209 | <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="#//Expression" | ||
210 | containment="true"/> | ||
211 | </eClassifiers> | ||
212 | <eClassifiers xsi:type="ecore:EClass" name="Disjunction" eSuperTypes="#//Expression"> | ||
213 | <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | ||
214 | eType="#//Expression" containment="true"/> | ||
215 | </eClassifiers> | ||
216 | <eClassifiers xsi:type="ecore:EClass" name="Switch" eSuperTypes="#//Expression"> | ||
217 | <eStructuralFeatures xsi:type="ecore:EReference" name="cases" upperBound="-1" | ||
218 | eType="#//Case" containment="true"/> | ||
219 | </eClassifiers> | ||
220 | <eClassifiers xsi:type="ecore:EClass" name="Conjunction" eSuperTypes="#//Expression"> | ||
221 | <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | ||
222 | eType="#//Expression" containment="true"/> | ||
223 | </eClassifiers> | ||
224 | <eClassifiers xsi:type="ecore:EClass" name="Comparison" eSuperTypes="#//Expression"> | ||
225 | <eStructuralFeatures xsi:type="ecore:EReference" name="left" eType="#//Expression" | ||
226 | containment="true"/> | ||
227 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="#//BinaryOperator"/> | ||
228 | <eStructuralFeatures xsi:type="ecore:EReference" name="right" eType="#//Expression" | ||
229 | containment="true"/> | ||
230 | </eClassifiers> | ||
231 | <eClassifiers xsi:type="ecore:EClass" name="BinaryExpression" eSuperTypes="#//Expression"> | ||
232 | <eStructuralFeatures xsi:type="ecore:EReference" name="left" eType="#//Expression" | ||
233 | containment="true"/> | ||
234 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="#//BinaryOperator"/> | ||
235 | <eStructuralFeatures xsi:type="ecore:EReference" name="right" eType="#//Expression" | ||
236 | containment="true"/> | ||
237 | </eClassifiers> | ||
238 | <eClassifiers xsi:type="ecore:EClass" name="UnaryExpression" eSuperTypes="#//Expression"> | ||
239 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="#//UnaryOp"/> | ||
240 | <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="#//Expression" | ||
241 | containment="true"/> | ||
242 | </eClassifiers> | ||
243 | </ecore:EPackage> | ||