diff options
author | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-14 09:20:51 -0500 |
---|---|---|
committer | Aren Babikian <aren.babikian@mail.mcgill.ca> | 2021-01-14 09:20:51 -0500 |
commit | 0868e0abe8008dd3f5b237581386d44ac38c1125 (patch) | |
tree | 29ffa643d071147774daa502bf36b18713f658f7 /Domains/simpleScenario/model/simpleScenario.ecore | |
parent | Add some documents to debug MG issue (diff) | |
download | VIATRA-Generator-0868e0abe8008dd3f5b237581386d44ac38c1125.tar.gz VIATRA-Generator-0868e0abe8008dd3f5b237581386d44ac38c1125.tar.zst VIATRA-Generator-0868e0abe8008dd3f5b237581386d44ac38c1125.zip |
Adjust simpleScenario MM and add constraints
Diffstat (limited to 'Domains/simpleScenario/model/simpleScenario.ecore')
-rw-r--r-- | Domains/simpleScenario/model/simpleScenario.ecore | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Domains/simpleScenario/model/simpleScenario.ecore b/Domains/simpleScenario/model/simpleScenario.ecore index c164b048..f167e615 100644 --- a/Domains/simpleScenario/model/simpleScenario.ecore +++ b/Domains/simpleScenario/model/simpleScenario.ecore | |||
@@ -9,6 +9,7 @@ | |||
9 | eType="#//Actor" containment="true"/> | 9 | eType="#//Actor" containment="true"/> |
10 | <eStructuralFeatures xsi:type="ecore:EReference" name="lanes" upperBound="-1" | 10 | <eStructuralFeatures xsi:type="ecore:EReference" name="lanes" upperBound="-1" |
11 | eType="#//Lane" containment="true"/> | 11 | eType="#//Lane" containment="true"/> |
12 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxTime" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
12 | </eClassifiers> | 13 | </eClassifiers> |
13 | <eClassifiers xsi:type="ecore:EClass" name="Lane"> | 14 | <eClassifiers xsi:type="ecore:EClass" name="Lane"> |
14 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation" lowerBound="1" | 15 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation" lowerBound="1" |
@@ -16,13 +17,11 @@ | |||
16 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="#//Size"/> | 17 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="#//Size"/> |
17 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceCoord" lowerBound="1" | 18 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceCoord" lowerBound="1" |
18 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 19 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
19 | <eStructuralFeatures xsi:type="ecore:EReference" name="adjacent" upperBound="2" | 20 | <eStructuralFeatures xsi:type="ecore:EReference" name="prevLane" eType="#//Lane"/> |
20 | eType="#//Lane"/> | ||
21 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" | 21 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" |
22 | eType="#//Actor" eOpposite="#//Actor/placedOn"/> | 22 | eType="#//Actor" eOpposite="#//Actor/placedOn"/> |
23 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="numWidth" lowerBound="1" | 23 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="numWidth" lowerBound="1" |
24 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0" | 24 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> |
25 | derived="true"/> | ||
26 | </eClassifiers> | 25 | </eClassifiers> |
27 | <eClassifiers xsi:type="ecore:EEnum" name="Orientation"> | 26 | <eClassifiers xsi:type="ecore:EEnum" name="Orientation"> |
28 | <eLiterals name="Vertical"/> | 27 | <eLiterals name="Vertical"/> |
@@ -41,12 +40,14 @@ | |||
41 | derived="true"/> | 40 | derived="true"/> |
42 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | 41 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" |
43 | derived="true"/> | 42 | derived="true"/> |
44 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="speed" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | 43 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xSpeed" lowerBound="1" |
45 | defaultValueLiteral="0.0"/> | 44 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> |
46 | <eStructuralFeatures xsi:type="ecore:EReference" name="relations" upperBound="-1" | 45 | <eStructuralFeatures xsi:type="ecore:EReference" name="relations" upperBound="-1" |
47 | eType="#//Relation" containment="true"/> | 46 | eType="#//Relation" containment="true"/> |
48 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" | 47 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" |
49 | eType="#//Lane" eOpposite="#//Lane/actors"/> | 48 | eType="#//Lane" eOpposite="#//Lane/actors"/> |
49 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ySpeed" lowerBound="1" | ||
50 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
50 | </eClassifiers> | 51 | </eClassifiers> |
51 | <eClassifiers xsi:type="ecore:EClass" name="Relation" abstract="true"> | 52 | <eClassifiers xsi:type="ecore:EClass" name="Relation" abstract="true"> |
52 | <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" | 53 | <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" |
@@ -55,13 +56,12 @@ | |||
55 | <eClassifiers xsi:type="ecore:EClass" name="SpatialRelation" abstract="true" eSuperTypes="#//Relation"/> | 56 | <eClassifiers xsi:type="ecore:EClass" name="SpatialRelation" abstract="true" eSuperTypes="#//Relation"/> |
56 | <eClassifiers xsi:type="ecore:EClass" name="TemporalRelation" abstract="true" eSuperTypes="#//Relation"/> | 57 | <eClassifiers xsi:type="ecore:EClass" name="TemporalRelation" abstract="true" eSuperTypes="#//Relation"/> |
57 | <eClassifiers xsi:type="ecore:EClass" name="VisionBlocked" eSuperTypes="#//SpatialRelation"> | 58 | <eClassifiers xsi:type="ecore:EClass" name="VisionBlocked" eSuperTypes="#//SpatialRelation"> |
58 | <eStructuralFeatures xsi:type="ecore:EReference" name="blockedBy" eType="#//Actor"/> | 59 | <eStructuralFeatures xsi:type="ecore:EReference" name="blockedBy" lowerBound="1" |
60 | eType="#//Actor"/> | ||
59 | </eClassifiers> | 61 | </eClassifiers> |
60 | <eClassifiers xsi:type="ecore:EClass" name="SeperationDistance" eSuperTypes="#//SpatialRelation"> | 62 | <eClassifiers xsi:type="ecore:EClass" name="SeparationDistance" eSuperTypes="#//SpatialRelation"> |
61 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" | 63 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" |
62 | eType="#//Distance"/> | 64 | eType="#//Distance"/> |
63 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="numDistance" lowerBound="1" | ||
64 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" derived="true"/> | ||
65 | </eClassifiers> | 65 | </eClassifiers> |
66 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> | 66 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> |
67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" | 67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" |