diff options
Diffstat (limited to 'Domains/simpleScenario/model/simpleScenario.ecore')
-rw-r--r-- | Domains/simpleScenario/model/simpleScenario.ecore | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/Domains/simpleScenario/model/simpleScenario.ecore b/Domains/simpleScenario/model/simpleScenario.ecore index 340a63b7..c164b048 100644 --- a/Domains/simpleScenario/model/simpleScenario.ecore +++ b/Domains/simpleScenario/model/simpleScenario.ecore | |||
@@ -20,8 +20,9 @@ | |||
20 | 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="widthNum" lowerBound="1" | 23 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="numWidth" lowerBound="1" |
24 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 24 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0" |
25 | derived="true"/> | ||
25 | </eClassifiers> | 26 | </eClassifiers> |
26 | <eClassifiers xsi:type="ecore:EEnum" name="Orientation"> | 27 | <eClassifiers xsi:type="ecore:EEnum" name="Orientation"> |
27 | <eLiterals name="Vertical"/> | 28 | <eLiterals name="Vertical"/> |
@@ -32,14 +33,16 @@ | |||
32 | <eLiterals name="Medium" value="1"/> | 33 | <eLiterals name="Medium" value="1"/> |
33 | <eLiterals name="Large" value="2"/> | 34 | <eLiterals name="Large" value="2"/> |
34 | </eClassifiers> | 35 | </eClassifiers> |
35 | <eClassifiers xsi:type="ecore:EClass" name="Actor"> | 36 | <eClassifiers xsi:type="ecore:EClass" name="Actor" abstract="true"> |
36 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" lowerBound="1" eType="#//ActorType"/> | ||
37 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 37 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
38 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="yPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 38 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="yPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | 39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" lowerBound="1" |
40 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0" | ||
41 | derived="true"/> | ||
42 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
43 | derived="true"/> | ||
44 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="speed" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
40 | defaultValueLiteral="0.0"/> | 45 | defaultValueLiteral="0.0"/> |
41 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
42 | <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:EReference" name="relations" upperBound="-1" | 46 | <eStructuralFeatures xsi:type="ecore:EReference" name="relations" upperBound="-1" |
44 | eType="#//Relation" containment="true"/> | 47 | eType="#//Relation" containment="true"/> |
45 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" | 48 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" |
@@ -56,15 +59,20 @@ | |||
56 | </eClassifiers> | 59 | </eClassifiers> |
57 | <eClassifiers xsi:type="ecore:EClass" name="SeperationDistance" eSuperTypes="#//SpatialRelation"> | 60 | <eClassifiers xsi:type="ecore:EClass" name="SeperationDistance" eSuperTypes="#//SpatialRelation"> |
58 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" | 61 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" |
59 | eType="#//Size"/> | 62 | 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"/> | ||
60 | </eClassifiers> | 65 | </eClassifiers> |
61 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> | 66 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> |
62 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" | 67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" |
63 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 68 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
64 | </eClassifiers> | 69 | </eClassifiers> |
65 | <eClassifiers xsi:type="ecore:EClass" name="CollisionDoesNotExist" eSuperTypes="#//TemporalRelation"/> | 70 | <eClassifiers xsi:type="ecore:EClass" name="CollisionDoesNotExist" eSuperTypes="#//TemporalRelation"/> |
66 | <eClassifiers xsi:type="ecore:EEnum" name="ActorType"> | 71 | <eClassifiers xsi:type="ecore:EEnum" name="Distance"> |
67 | <eLiterals name="Pedestrian"/> | 72 | <eLiterals name="Near"/> |
68 | <eLiterals name="Vehicle" value="1"/> | 73 | <eLiterals name="Medium" value="1"/> |
74 | <eLiterals name="Far" value="2"/> | ||
69 | </eClassifiers> | 75 | </eClassifiers> |
76 | <eClassifiers xsi:type="ecore:EClass" name="Pedestrian" eSuperTypes="#//Actor"/> | ||
77 | <eClassifiers xsi:type="ecore:EClass" name="Vehicle" eSuperTypes="#//Actor"/> | ||
70 | </ecore:EPackage> | 78 | </ecore:EPackage> |