diff options
Diffstat (limited to 'Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend')
-rw-r--r-- | Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend new file mode 100644 index 00000000..5abff962 --- /dev/null +++ b/Tests/hu.bme.mit.inf.dslreasoner.run/src/hu/bme/mit/inf/dslreasoner/run/script/MeasurementScript.xtend | |||
@@ -0,0 +1,70 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.run.script | ||
2 | |||
3 | import java.util.List | ||
4 | import org.eclipse.xtend.lib.annotations.Accessors | ||
5 | |||
6 | @Accessors | ||
7 | class MeasurementScript { | ||
8 | String inputPath | ||
9 | String outputPath | ||
10 | int timeout | ||
11 | boolean saveModels | ||
12 | boolean saveTemporaryFiles | ||
13 | int warmupIterations | ||
14 | int iterations | ||
15 | Domain domain | ||
16 | Scope scope | ||
17 | List<Integer> sizes | ||
18 | Solver solver | ||
19 | ScopePropagator scopePropagator | ||
20 | ScopeConstraints propagatedConstraints | ||
21 | PolyhedronSolver polyhedronSolver | ||
22 | ScopeHeuristic scopeHeuristic | ||
23 | |||
24 | def toCsvHeader() { | ||
25 | '''«domain»,«scope»,«solver»,«scopePropagator ?: "NULL"»,«propagatedConstraints ?: "NULL"»,«polyhedronSolver ?: "NULL"»''' | ||
26 | } | ||
27 | } | ||
28 | |||
29 | enum Domain { | ||
30 | fs, | ||
31 | ecore, | ||
32 | Yakindu, | ||
33 | FAM, | ||
34 | satellite | ||
35 | } | ||
36 | |||
37 | enum Scope { | ||
38 | none, | ||
39 | quantiles | ||
40 | } | ||
41 | |||
42 | enum Solver { | ||
43 | ViatraSolver, | ||
44 | AlloySolver | ||
45 | } | ||
46 | |||
47 | enum ScopePropagator { | ||
48 | none, | ||
49 | basic, | ||
50 | polyhedral | ||
51 | } | ||
52 | |||
53 | enum ScopeConstraints { | ||
54 | none, | ||
55 | typeHierarchy, | ||
56 | relations, | ||
57 | hints | ||
58 | } | ||
59 | |||
60 | enum PolyhedronSolver { | ||
61 | Z3Integer, | ||
62 | Z3Real, | ||
63 | Cbc, | ||
64 | Clp | ||
65 | } | ||
66 | |||
67 | enum ScopeHeuristic { | ||
68 | basic, | ||
69 | polyhedral | ||
70 | } | ||