diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-08-10 01:00:09 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-08-10 01:00:09 +0200 |
commit | 10b6c4fa59abcde40dfd3c548c4df4a8b08a21d8 (patch) | |
tree | 95ebb690ff1da41033891cdeb85a799f0cfc53f3 /subprojects/language-model/src/main/resources/model/problem.ecore | |
parent | refactor: direct predicates (diff) | |
download | refinery-10b6c4fa59abcde40dfd3c548c4df4a8b08a21d8.tar.gz refinery-10b6c4fa59abcde40dfd3c548c4df4a8b08a21d8.tar.zst refinery-10b6c4fa59abcde40dfd3c548c4df4a8b08a21d8.zip |
feat(language): add support for count operator
Diffstat (limited to 'subprojects/language-model/src/main/resources/model/problem.ecore')
-rw-r--r-- | subprojects/language-model/src/main/resources/model/problem.ecore | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/subprojects/language-model/src/main/resources/model/problem.ecore b/subprojects/language-model/src/main/resources/model/problem.ecore index 16683952..5f42341d 100644 --- a/subprojects/language-model/src/main/resources/model/problem.ecore +++ b/subprojects/language-model/src/main/resources/model/problem.ecore | |||
@@ -48,7 +48,7 @@ | |||
48 | eType="#//Argument" containment="true"/> | 48 | eType="#//Argument" containment="true"/> |
49 | </eClassifiers> | 49 | </eClassifiers> |
50 | <eClassifiers xsi:type="ecore:EClass" name="ImplicitVariable" eSuperTypes="#//Variable"/> | 50 | <eClassifiers xsi:type="ecore:EClass" name="ImplicitVariable" eSuperTypes="#//Variable"/> |
51 | <eClassifiers xsi:type="ecore:EClass" name="NegativeLiteral" eSuperTypes="#//ExistentialQuantifier #//Literal"> | 51 | <eClassifiers xsi:type="ecore:EClass" name="CompoundLiteral" abstract="true" eSuperTypes="#//ExistentialQuantifier #//Literal"> |
52 | <eStructuralFeatures xsi:type="ecore:EReference" name="atom" eType="#//Atom" containment="true"/> | 52 | <eStructuralFeatures xsi:type="ecore:EReference" name="atom" eType="#//Atom" containment="true"/> |
53 | </eClassifiers> | 53 | </eClassifiers> |
54 | <eClassifiers xsi:type="ecore:EClass" name="ExistentialQuantifier" abstract="true" | 54 | <eClassifiers xsi:type="ecore:EClass" name="ExistentialQuantifier" abstract="true" |
@@ -177,4 +177,18 @@ | |||
177 | <eLiterals name="MUST" value="2"/> | 177 | <eLiterals name="MUST" value="2"/> |
178 | <eLiterals name="CURRENT" value="3"/> | 178 | <eLiterals name="CURRENT" value="3"/> |
179 | </eClassifiers> | 179 | </eClassifiers> |
180 | <eClassifiers xsi:type="ecore:EClass" name="NegativeLiteral" eSuperTypes="#//CompoundLiteral"/> | ||
181 | <eClassifiers xsi:type="ecore:EClass" name="CountLiteral" eSuperTypes="#//CompoundLiteral"> | ||
182 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="#//ComparisonOp"/> | ||
183 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="threshold" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" | ||
184 | defaultValueLiteral="0"/> | ||
185 | </eClassifiers> | ||
186 | <eClassifiers xsi:type="ecore:EEnum" name="ComparisonOp"> | ||
187 | <eLiterals name="LESS"/> | ||
188 | <eLiterals name="LESS_EQ" value="1"/> | ||
189 | <eLiterals name="GREATER" value="2"/> | ||
190 | <eLiterals name="GREATER_EQ" value="3"/> | ||
191 | <eLiterals name="EQ" value="4"/> | ||
192 | <eLiterals name="NOT_EQ" value="5"/> | ||
193 | </eClassifiers> | ||
180 | </ecore:EPackage> | 194 | </ecore:EPackage> |