diff options
author | 2018-09-14 16:39:19 +0200 | |
---|---|---|
committer | 2018-09-14 16:39:19 +0200 | |
commit | c2b846f93e4807d89e9cb1d385a5f540d89a69c4 (patch) | |
tree | 6f04775d2fea32899ecde391b0b234ae47a80298 /Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend | |
parent | Scope initialisation is default (diff) | |
download | VIATRA-Generator-c2b846f93e4807d89e9cb1d385a5f540d89a69c4.tar.gz VIATRA-Generator-c2b846f93e4807d89e9cb1d385a5f540d89a69c4.tar.zst VIATRA-Generator-c2b846f93e4807d89e9cb1d385a5f540d89a69c4.zip |
If scope available, then it is maintained during generation via VS
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.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/dse/WF2ObjectiveConverter.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend index 4fd297ca..5a528a9e 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/WF2ObjectiveConverter.xtend | |||
@@ -18,7 +18,7 @@ class WF2ObjectiveConverter { | |||
18 | { | 18 | { |
19 | val res = new ConstraintsObjective('''unfinishedWFs''', | 19 | val res = new ConstraintsObjective('''unfinishedWFs''', |
20 | unfinishedWF.map[ | 20 | unfinishedWF.map[ |
21 | new QueryConstraint(it.fullyQualifiedName,it,1.0) | 21 | new QueryConstraint(it.fullyQualifiedName,it,2.0) |
22 | ].toList | 22 | ].toList |
23 | ) | 23 | ) |
24 | res.withComparator(Comparators.LOWER_IS_BETTER) | 24 | res.withComparator(Comparators.LOWER_IS_BETTER) |