diff options
Diffstat (limited to 'Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend')
-rw-r--r-- | Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend index 9b4265b9..ed2ef6b7 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/builder/AlloyHandler.xtend | |||
@@ -195,7 +195,7 @@ class AlloyCallerWithTimeout implements Callable<List<Pair<A4Solution,Long>>>{ | |||
195 | } else { | 195 | } else { |
196 | lastAnswer = lastAnswer.next | 196 | lastAnswer = lastAnswer.next |
197 | } | 197 | } |
198 | configuration.progressMonitor.workedBackwardTransformation(configuration.solutionScope.numberOfRequiredSolution) | 198 | configuration.progressMonitor.workedBackwardTransformation(configuration.solutionScope.numberOfRequiredSolutions) |
199 | 199 | ||
200 | val runtime = System.currentTimeMillis -startTime | 200 | val runtime = System.currentTimeMillis -startTime |
201 | synchronized(this) { | 201 | synchronized(this) { |
@@ -212,8 +212,8 @@ class AlloyCallerWithTimeout implements Callable<List<Pair<A4Solution,Long>>>{ | |||
212 | } | 212 | } |
213 | 213 | ||
214 | def hasEnoughSolution(List<?> answers) { | 214 | def hasEnoughSolution(List<?> answers) { |
215 | if(configuration.solutionScope.numberOfRequiredSolution < 0) return false | 215 | if(configuration.solutionScope.numberOfRequiredSolutions < 0) return false |
216 | else return answers.size() == configuration.solutionScope.numberOfRequiredSolution | 216 | else return answers.size() == configuration.solutionScope.numberOfRequiredSolutions |
217 | } | 217 | } |
218 | 218 | ||
219 | public def getPartialAnswers() { | 219 | public def getPartialAnswers() { |