diff options
author | 2018-08-10 19:49:23 +0200 | |
---|---|---|
committer | 2018-08-10 19:49:23 +0200 | |
commit | 23ccbae4e0ede91b173fcc30e7779c1146adb3cd (patch) | |
tree | 44671f1b7f94c84f08e7ec926f12db996200fff1 /Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend | |
parent | ReasonerWorkspace adds Schema Location for saving Models into XMI. Fixes (diff) | |
download | VIATRA-Generator-23ccbae4e0ede91b173fcc30e7779c1146adb3cd.tar.gz VIATRA-Generator-23ccbae4e0ede91b173fcc30e7779c1146adb3cd.tar.zst VIATRA-Generator-23ccbae4e0ede91b173fcc30e7779c1146adb3cd.zip |
Fixing indexing symbolic prototype objects as untyped EObjects
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend index fde5f4b6..67a886d1 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/TypeIndexerWithPreliminaryTypeAnalysis.xtend | |||
@@ -86,6 +86,10 @@ class TypeIndexerWithPreliminaryTypeAnalysis extends TypeIndexer{ | |||
86 | } or { | 86 | } or { |
87 | find interpretation(problem,interpretation); | 87 | find interpretation(problem,interpretation); |
88 | PartialInterpretation.openWorldElements(interpretation,element); | 88 | PartialInterpretation.openWorldElements(interpretation,element); |
89 | «FOR inhibitorType : inhibitorTypes» | ||
90 | neg «referInstanceOf(inhibitorType,Modality.MUST,"element")» | ||
91 | «ENDFOR» | ||
92 | neg find isPrimitive(element); | ||
89 | } or | 93 | } or |
90 | «ENDIF» | 94 | «ENDIF» |
91 | { «referInstanceOf(type,Modality.MUST,"element")» } | 95 | { «referInstanceOf(type,Modality.MUST,"element")» } |