diff options
Diffstat (limited to 'Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit')
-rw-r--r-- | Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend index e664b3b5..432651af 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloySolver.xtend | |||
@@ -33,7 +33,7 @@ class AlloySolver extends LogicReasoner{ | |||
33 | 33 | ||
34 | override solve(LogicProblem problem, LogicSolverConfiguration configuration, ReasonerWorkspace workspace) throws LogicReasonerException { | 34 | override solve(LogicProblem problem, LogicSolverConfiguration configuration, ReasonerWorkspace workspace) throws LogicReasonerException { |
35 | val alloyConfig = configuration.asConfig | 35 | val alloyConfig = configuration.asConfig |
36 | val writeToFile = ( | 36 | val writeFile = ( |
37 | configuration.documentationLevel===DocumentationLevel::NORMAL || | 37 | configuration.documentationLevel===DocumentationLevel::NORMAL || |
38 | configuration.documentationLevel===DocumentationLevel::FULL) | 38 | configuration.documentationLevel===DocumentationLevel::FULL) |
39 | 39 | ||
@@ -45,7 +45,7 @@ class AlloySolver extends LogicReasoner{ | |||
45 | 45 | ||
46 | //var String fileURI = null; | 46 | //var String fileURI = null; |
47 | var String alloyCode = workspace.writeModelToString(alloyProblem,fileName) | 47 | var String alloyCode = workspace.writeModelToString(alloyProblem,fileName) |
48 | if(writeToFile) { | 48 | if(writeFile) { |
49 | workspace.writeModel(alloyProblem,fileName) | 49 | workspace.writeModel(alloyProblem,fileName) |
50 | } | 50 | } |
51 | val transformationTime = System.currentTimeMillis - transformationStart | 51 | val transformationTime = System.currentTimeMillis - transformationStart |