diff options
Diffstat (limited to 'Domains/crossingScenario/model/crossingScenario.ecore')
-rw-r--r-- | Domains/crossingScenario/model/crossingScenario.ecore | 154 |
1 files changed, 76 insertions, 78 deletions
diff --git a/Domains/crossingScenario/model/crossingScenario.ecore b/Domains/crossingScenario/model/crossingScenario.ecore index f651db9f..b023a2fa 100644 --- a/Domains/crossingScenario/model/crossingScenario.ecore +++ b/Domains/crossingScenario/model/crossingScenario.ecore | |||
@@ -1,78 +1,76 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 2 | <ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="crossingScenario" nsURI="http://www.example.com/crossingScenario" | 3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="crossingScenario" nsURI="http://www.example.com/crossingScenario" |
4 | nsPrefix="crossingScenario"> | 4 | nsPrefix="crossingScenario"> |
5 | <eClassifiers xsi:type="ecore:EClass" name="CrossingScenario"> | 5 | <eClassifiers xsi:type="ecore:EClass" name="CrossingScenario"> |
6 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xSize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 6 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xSize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
7 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ySize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 7 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ySize" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
8 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" | 8 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" |
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 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxTime" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
13 | <eStructuralFeatures xsi:type="ecore:EReference" name="horizontal_head" lowerBound="1" | 13 | <eStructuralFeatures xsi:type="ecore:EReference" name="horizontal_head" lowerBound="1" |
14 | eType="#//Lane_Horizontal"/> | 14 | eType="#//Lane_Horizontal"/> |
15 | <eStructuralFeatures xsi:type="ecore:EReference" name="vertical_head" lowerBound="1" | 15 | <eStructuralFeatures xsi:type="ecore:EReference" name="vertical_head" lowerBound="1" |
16 | eType="#//Lane_Vertical"/> | 16 | eType="#//Lane_Vertical"/> |
17 | </eClassifiers> | 17 | </eClassifiers> |
18 | <eClassifiers xsi:type="ecore:EClass" name="Lane" abstract="true"> | 18 | <eClassifiers xsi:type="ecore:EClass" name="Lane" abstract="true"> |
19 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="#//Size"/> | 19 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="#//Size"/> |
20 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceCoord" lowerBound="1" | 20 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceCoord" lowerBound="1" |
21 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 21 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
22 | <eStructuralFeatures xsi:type="ecore:EReference" name="prevLane" eType="#//Lane"/> | 22 | <eStructuralFeatures xsi:type="ecore:EReference" name="prevLane" eType="#//Lane"/> |
23 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" | 23 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" |
24 | eType="#//Actor" eOpposite="#//Actor/placedOn"/> | 24 | eType="#//Actor" eOpposite="#//Actor/placedOn"/> |
25 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="numWidth" lowerBound="1" | 25 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="numWidth" lowerBound="1" |
26 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> | 26 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> |
27 | </eClassifiers> | 27 | </eClassifiers> |
28 | <eClassifiers xsi:type="ecore:EEnum" name="Size"> | 28 | <eClassifiers xsi:type="ecore:EEnum" name="Size"> |
29 | <eLiterals name="S_Small"/> | 29 | <eLiterals name="S_Small"/> |
30 | <eLiterals name="S_Med" value="1"/> | 30 | <eLiterals name="S_Med" value="1"/> |
31 | <eLiterals name="S_Large" value="2"/> | 31 | <eLiterals name="S_Large" value="2"/> |
32 | </eClassifiers> | 32 | </eClassifiers> |
33 | <eClassifiers xsi:type="ecore:EClass" name="Actor" abstract="true"> | 33 | <eClassifiers xsi:type="ecore:EClass" name="Actor" abstract="true"> |
34 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 34 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
35 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="yPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 35 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="yPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
36 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" lowerBound="1" | 36 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" lowerBound="1" |
37 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0" | 37 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> |
38 | derived="true"/> | 38 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | 39 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xSpeed" lowerBound="1" |
40 | derived="true"/> | 40 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> |
41 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xSpeed" lowerBound="1" | 41 | <eStructuralFeatures xsi:type="ecore:EReference" name="relations" upperBound="-1" |
42 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> | 42 | eType="#//Relation" containment="true"/> |
43 | <eStructuralFeatures xsi:type="ecore:EReference" name="relations" upperBound="-1" | 43 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" |
44 | eType="#//Relation" containment="true"/> | 44 | eType="#//Lane" eOpposite="#//Lane/actors"/> |
45 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" | 45 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ySpeed" lowerBound="1" |
46 | eType="#//Lane" eOpposite="#//Lane/actors"/> | 46 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
47 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="ySpeed" lowerBound="1" | 47 | </eClassifiers> |
48 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 48 | <eClassifiers xsi:type="ecore:EClass" name="Relation" abstract="true"> |
49 | </eClassifiers> | 49 | <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" |
50 | <eClassifiers xsi:type="ecore:EClass" name="Relation" abstract="true"> | 50 | eType="#//Actor"/> |
51 | <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" | 51 | </eClassifiers> |
52 | eType="#//Actor"/> | 52 | <eClassifiers xsi:type="ecore:EClass" name="SpatialRelation" abstract="true" eSuperTypes="#//Relation"/> |
53 | </eClassifiers> | 53 | <eClassifiers xsi:type="ecore:EClass" name="TemporalRelation" abstract="true" eSuperTypes="#//Relation"/> |
54 | <eClassifiers xsi:type="ecore:EClass" name="SpatialRelation" abstract="true" eSuperTypes="#//Relation"/> | 54 | <eClassifiers xsi:type="ecore:EClass" name="VisionBlocked" eSuperTypes="#//SpatialRelation"> |
55 | <eClassifiers xsi:type="ecore:EClass" name="TemporalRelation" abstract="true" eSuperTypes="#//Relation"/> | 55 | <eStructuralFeatures xsi:type="ecore:EReference" name="blockedBy" lowerBound="1" |
56 | <eClassifiers xsi:type="ecore:EClass" name="VisionBlocked" eSuperTypes="#//SpatialRelation"> | 56 | eType="#//Actor"/> |
57 | <eStructuralFeatures xsi:type="ecore:EReference" name="blockedBy" lowerBound="1" | 57 | </eClassifiers> |
58 | eType="#//Actor"/> | 58 | <eClassifiers xsi:type="ecore:EClass" name="SeparationDistance" eSuperTypes="#//SpatialRelation"> |
59 | </eClassifiers> | 59 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" |
60 | <eClassifiers xsi:type="ecore:EClass" name="SeparationDistance" eSuperTypes="#//SpatialRelation"> | 60 | eType="#//Distance"/> |
61 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" | 61 | </eClassifiers> |
62 | eType="#//Distance"/> | 62 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> |
63 | </eClassifiers> | 63 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" |
64 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> | 64 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> |
65 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" | 65 | </eClassifiers> |
66 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | 66 | <eClassifiers xsi:type="ecore:EClass" name="CollisionDoesNotExist" eSuperTypes="#//TemporalRelation"/> |
67 | </eClassifiers> | 67 | <eClassifiers xsi:type="ecore:EEnum" name="Distance"> |
68 | <eClassifiers xsi:type="ecore:EClass" name="CollisionDoesNotExist" eSuperTypes="#//TemporalRelation"/> | 68 | <eLiterals name="D_Near"/> |
69 | <eClassifiers xsi:type="ecore:EEnum" name="Distance"> | 69 | <eLiterals name="D_Med" value="1"/> |
70 | <eLiterals name="D_Near"/> | 70 | <eLiterals name="D_Far" value="2"/> |
71 | <eLiterals name="D_Med" value="1"/> | 71 | </eClassifiers> |
72 | <eLiterals name="D_Far" value="2"/> | 72 | <eClassifiers xsi:type="ecore:EClass" name="Pedestrian" eSuperTypes="#//Actor"/> |
73 | </eClassifiers> | 73 | <eClassifiers xsi:type="ecore:EClass" name="Vehicle" eSuperTypes="#//Actor"/> |
74 | <eClassifiers xsi:type="ecore:EClass" name="Pedestrian" eSuperTypes="#//Actor"/> | 74 | <eClassifiers xsi:type="ecore:EClass" name="Lane_Horizontal" eSuperTypes="#//Lane"/> |
75 | <eClassifiers xsi:type="ecore:EClass" name="Vehicle" eSuperTypes="#//Actor"/> | 75 | <eClassifiers xsi:type="ecore:EClass" name="Lane_Vertical" eSuperTypes="#//Lane"/> |
76 | <eClassifiers xsi:type="ecore:EClass" name="Lane_Horizontal" eSuperTypes="#//Lane"/> | 76 | </ecore:EPackage> |
77 | <eClassifiers xsi:type="ecore:EClass" name="Lane_Vertical" eSuperTypes="#//Lane"/> | ||
78 | </ecore:EPackage> | ||