diff options
Diffstat (limited to 'Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/src')
-rw-r--r-- | Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/src/hu/bme/mit/inf/dslreasoner/viatra2logic/Viatra2Logic.xtend | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/src/hu/bme/mit/inf/dslreasoner/viatra2logic/Viatra2Logic.xtend b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/src/hu/bme/mit/inf/dslreasoner/viatra2logic/Viatra2Logic.xtend index 0f97d3fe..a098945d 100644 --- a/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/src/hu/bme/mit/inf/dslreasoner/viatra2logic/Viatra2Logic.xtend +++ b/Framework/hu.bme.mit.inf.dslreasoner.viatra2logic/src/hu/bme/mit/inf/dslreasoner/viatra2logic/Viatra2Logic.xtend | |||
@@ -248,6 +248,10 @@ class Viatra2Logic { | |||
248 | innerPositiveVariables += logicVariable | 248 | innerPositiveVariables += logicVariable |
249 | } | 249 | } |
250 | variable2Variable.put(innerVariable,logicVariable) | 250 | variable2Variable.put(innerVariable,logicVariable) |
251 | body.pattern.lookup(viatra2LogicTrace.query2Annotation).variableTrace += createVariableMapping=>[ | ||
252 | it.sourcePVariable = innerVariable | ||
253 | it.targetLogicVariable = logicVariable | ||
254 | ] | ||
251 | } | 255 | } |
252 | } | 256 | } |
253 | } | 257 | } |
@@ -267,7 +271,7 @@ class Viatra2Logic { | |||
267 | } else { | 271 | } else { |
268 | Exists(innerPositiveVariables,allNegativeVariablesAreSatisfied); | 272 | Exists(innerPositiveVariables,allNegativeVariablesAreSatisfied); |
269 | } | 273 | } |
270 | 274 | ||
271 | return allVariablesAreExisting | 275 | return allVariablesAreExisting |
272 | } | 276 | } |
273 | 277 | ||