diff options
author | 2018-05-12 18:13:57 +0200 | |
---|---|---|
committer | 2018-05-12 18:13:57 +0200 | |
commit | b2d1ff6a8d32c925c1204e341123f68c81021ee6 (patch) | |
tree | fed73abb6e540ba9bcc3aca3d17595491e01c572 /Domains/Examples/ModelGenExampleFAM_standalone | |
parent | Visualiser queue started (diff) | |
download | VIATRA-Generator-b2d1ff6a8d32c925c1204e341123f68c81021ee6.tar.gz VIATRA-Generator-b2d1ff6a8d32c925c1204e341123f68c81021ee6.tar.zst VIATRA-Generator-b2d1ff6a8d32c925c1204e341123f68c81021ee6.zip |
Example updated
Diffstat (limited to 'Domains/Examples/ModelGenExampleFAM_standalone')
-rw-r--r-- | Domains/Examples/ModelGenExampleFAM_standalone/FamGeneration.vsconfig | 6 | ||||
-rw-r--r-- | Domains/Examples/ModelGenExampleFAM_standalone/inputs/FamInstance.xmi | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/Domains/Examples/ModelGenExampleFAM_standalone/FamGeneration.vsconfig b/Domains/Examples/ModelGenExampleFAM_standalone/FamGeneration.vsconfig index 30e6adfa..166c551c 100644 --- a/Domains/Examples/ModelGenExampleFAM_standalone/FamGeneration.vsconfig +++ b/Domains/Examples/ModelGenExampleFAM_standalone/FamGeneration.vsconfig | |||
@@ -1,13 +1,13 @@ | |||
1 | import epackage "platform:/resource/ModelGenExampleFAM_standalone/inputs/FamMetamodel.ecore" | 1 | import epackage "platform:/resource/ModelGenExampleFAM_standalone/inputs/FamMetamodel.ecore" |
2 | import viatra "platform:/resource/ModelGenExampleFAM_standalone/inputs/FamPatterns.vql" | 2 | import viatra "platform:/resource/ModelGenExampleFAM_standalone/inputs/FamPatterns.vql" |
3 | 3 | ||
4 | file LogFile = "platform:/resource/ModelGenExampleFAM/outputs/log.txt" | ||
5 | generate { | 4 | generate { |
6 | metamodel = { package functionalarchitecture } | 5 | metamodel = { package functionalarchitecture } |
7 | patterns = { package hu.bme.mit.inf.dslreasoner.domains.fam excluding { model } } | 6 | constraints = { package hu.bme.mit.inf.dslreasoner.domains.fam } |
7 | partial-model = { "platform:/resource/ModelGenExampleFAM_standalone/inputs/FamInstance.xmi"} | ||
8 | solver = ViatraSolver | 8 | solver = ViatraSolver |
9 | scope = { | 9 | scope = { |
10 | #node = 10 | 10 | #node = 5 |
11 | } | 11 | } |
12 | 12 | ||
13 | config = { | 13 | config = { |
diff --git a/Domains/Examples/ModelGenExampleFAM_standalone/inputs/FamInstance.xmi b/Domains/Examples/ModelGenExampleFAM_standalone/inputs/FamInstance.xmi index 9e3561d2..f91e0af0 100644 --- a/Domains/Examples/ModelGenExampleFAM_standalone/inputs/FamInstance.xmi +++ b/Domains/Examples/ModelGenExampleFAM_standalone/inputs/FamInstance.xmi | |||
@@ -5,8 +5,4 @@ | |||
5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
6 | xmlns:functionalarchitecture="http://www.inf.mit.bme.hu/viatrasolver/example/fam" | 6 | xmlns:functionalarchitecture="http://www.inf.mit.bme.hu/viatrasolver/example/fam" |
7 | xsi:schemaLocation="http://www.inf.mit.bme.hu/viatrasolver/example/fam FamMetamodel.ecore"> | 7 | xsi:schemaLocation="http://www.inf.mit.bme.hu/viatrasolver/example/fam FamMetamodel.ecore"> |
8 | <rootElements | ||
9 | xsi:type="functionalarchitecture:Function"/> | ||
10 | <rootElements | ||
11 | xsi:type="functionalarchitecture:Function"/> | ||
12 | </functionalarchitecture:FunctionalArchitectureModel> | 8 | </functionalarchitecture:FunctionalArchitectureModel> |