diff options
author | 2017-06-16 01:52:22 +0200 | |
---|---|---|
committer | 2017-06-16 01:52:22 +0200 | |
commit | ea3b5cfc3e7dc8b472cd7448f2c43477a4c33553 (patch) | |
tree | d00e8844ad43b1e1f6996306d325f14ac9d7b27c /Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra | |
parent | Instruction to install alloy added (diff) | |
download | VIATRA-Generator-ea3b5cfc3e7dc8b472cd7448f2c43477a4c33553.tar.gz VIATRA-Generator-ea3b5cfc3e7dc8b472cd7448f2c43477a4c33553.tar.zst VIATRA-Generator-ea3b5cfc3e7dc8b472cd7448f2c43477a4c33553.zip |
Divers Generation times are added to statisticsexample scenario
Diffstat (limited to 'Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra')
-rw-r--r-- | Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend index dac5630b..cac614ad 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.logic2viatra/src/hu/bme/mit/inf/dslreasoner/viatrasolver/logic2viatra/patterns/PatternProvider.xtend | |||
@@ -30,7 +30,7 @@ import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* | |||
30 | } | 30 | } |
31 | 31 | ||
32 | class PatternProvider { | 32 | class PatternProvider { |
33 | val ParseUtil parseUtil = new ParseUtil | 33 | |
34 | val TypeAnalysis typeAnalysis = new TypeAnalysis | 34 | val TypeAnalysis typeAnalysis = new TypeAnalysis |
35 | 35 | ||
36 | public def generateQueries( | 36 | public def generateQueries( |
@@ -54,6 +54,7 @@ class PatternProvider { | |||
54 | } | 54 | } |
55 | val baseIndexerFile = patternGenerator.transformBaseProperties(problem,emptySolution,fqn2Query,typeAnalysisResult) | 55 | val baseIndexerFile = patternGenerator.transformBaseProperties(problem,emptySolution,fqn2Query,typeAnalysisResult) |
56 | writeQueries(baseIndexerFile,"GeneratedQueries",workspace) | 56 | writeQueries(baseIndexerFile,"GeneratedQueries",workspace) |
57 | val ParseUtil parseUtil = new ParseUtil | ||
57 | val generatedQueries = parseUtil.parse(baseIndexerFile) | 58 | val generatedQueries = parseUtil.parse(baseIndexerFile) |
58 | val runtimeQueries = calclulateRuntimeQueries(patternGenerator,problem,emptySolution,typeAnalysisResult,generatedQueries); | 59 | val runtimeQueries = calclulateRuntimeQueries(patternGenerator,problem,emptySolution,typeAnalysisResult,generatedQueries); |
59 | return runtimeQueries | 60 | return runtimeQueries |