diff options
author | OszkarSemerath <oszka@152.66.252.189> | 2017-10-27 17:00:25 +0200 |
---|---|---|
committer | OszkarSemerath <oszka@152.66.252.189> | 2017-10-27 17:00:25 +0200 |
commit | a9f6886b54107970dc8d4f5ff30a1bc5873e6c9b (patch) | |
tree | 033faa20423271d638d9c81e6800e8f167361b63 /Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend | |
parent | Runners (diff) | |
download | VIATRA-Generator-a9f6886b54107970dc8d4f5ff30a1bc5873e6c9b.tar.gz VIATRA-Generator-a9f6886b54107970dc8d4f5ff30a1bc5873e6c9b.tar.zst VIATRA-Generator-a9f6886b54107970dc8d4f5ff30a1bc5873e6c9b.zip |
Random seed added to Alloy config
This adds <random> number of lines to the specification to prevemt alloy
to give the same solution.
Diffstat (limited to 'Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend')
-rw-r--r-- | Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend index cdf21174..992479da 100644 --- a/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend +++ b/Solvers/Alloy-Solver/hu.bme.mit.inf.dlsreasoner.alloy.reasoner/src/hu/bme/mit/inf/dlsreasoner/alloy/reasoner/AlloyAnalyzerConfiguration.xtend | |||
@@ -8,9 +8,10 @@ class AlloySolverConfiguration extends LogicSolverConfiguration { | |||
8 | public def setIntScopeFor(int max) { | 8 | public def setIntScopeFor(int max) { |
9 | intScope = 31 - Integer.numberOfLeadingZeros(max) + 1 | 9 | intScope = 31 - Integer.numberOfLeadingZeros(max) + 1 |
10 | }*/ | 10 | }*/ |
11 | public var int symmetry = 0 // by default | 11 | public var int symmetry = 20 // by default |
12 | public var AlloyBackendSolver solver = AlloyBackendSolver.SAT4J | 12 | public var AlloyBackendSolver solver = AlloyBackendSolver.SAT4J |
13 | public var boolean writeToFile = false | 13 | public var boolean writeToFile = false |
14 | public var randomise = 0 | ||
14 | } | 15 | } |
15 | 16 | ||
16 | enum AlloyBackendSolver { | 17 | enum AlloyBackendSolver { |