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/UnfinishedWFObjective.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/UnfinishedWFObjective.xtend')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.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/UnfinishedWFObjective.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend index 0fd20fa3..e0111cf6 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.reasoner/src/hu/bme/mit/inf/dslreasoner/viatrasolver/reasoner/dse/UnfinishedWFObjective.xtend | |||
@@ -37,7 +37,7 @@ class UnfinishedWFObjective implements IObjective { | |||
37 | var sumOfMatches = 0 | 37 | var sumOfMatches = 0 |
38 | for(matcher : matchers) { | 38 | for(matcher : matchers) { |
39 | val number = matcher.countMatches | 39 | val number = matcher.countMatches |
40 | // println('''«matcher.patternName» = «number»''') | 40 | //println('''«matcher.patternName» = «number»''') |
41 | sumOfMatches+=number | 41 | sumOfMatches+=number |
42 | } | 42 | } |
43 | return sumOfMatches.doubleValue | 43 | return sumOfMatches.doubleValue |