diff options
author | 2018-08-10 19:50:49 +0200 | |
---|---|---|
committer | 2018-08-10 19:50:49 +0200 | |
commit | 320cd0146a32bf936eeb5d3900b4d60d0055f210 (patch) | |
tree | cf9233ee08896091c4609b918368c0f676caf85b /Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend | |
parent | Fixing indexing symbolic prototype objects as untyped EObjects (diff) | |
download | VIATRA-Generator-320cd0146a32bf936eeb5d3900b4d60d0055f210.tar.gz VIATRA-Generator-320cd0146a32bf936eeb5d3900b4d60d0055f210.tar.zst VIATRA-Generator-320cd0146a32bf936eeb5d3900b4d60d0055f210.zip |
Lowered documentation level requirement for initial partial models
As handling primitive types requires more complex initialisation.
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend index 378adf65..42aa1654 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/ViatraReasoner.xtend | |||
@@ -56,7 +56,7 @@ class ViatraReasoner extends LogicReasoner{ | |||
56 | val transformationStartTime = System.nanoTime | 56 | val transformationStartTime = System.nanoTime |
57 | 57 | ||
58 | val emptySolution = initialiser.initialisePartialInterpretation(problem,viatraConfig.typeScopes).output | 58 | val emptySolution = initialiser.initialisePartialInterpretation(problem,viatraConfig.typeScopes).output |
59 | if(viatraConfig.documentationLevel == DocumentationLevel::FULL && workspace !== null) { | 59 | if((viatraConfig.documentationLevel == DocumentationLevel::FULL || viatraConfig.documentationLevel == DocumentationLevel::NORMAL) && workspace !== null) { |
60 | workspace.writeModel(emptySolution,"init.partialmodel") | 60 | workspace.writeModel(emptySolution,"init.partialmodel") |
61 | } | 61 | } |
62 | emptySolution.problemConainer = problem | 62 | emptySolution.problemConainer = problem |