diff options
Diffstat (limited to 'Domains/crossingScenario/model/crossingScenario.ecore')
-rw-r--r-- | Domains/crossingScenario/model/crossingScenario.ecore | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Domains/crossingScenario/model/crossingScenario.ecore b/Domains/crossingScenario/model/crossingScenario.ecore new file mode 100644 index 00000000..a0797672 --- /dev/null +++ b/Domains/crossingScenario/model/crossingScenario.ecore | |||
@@ -0,0 +1,78 @@ | |||
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" | ||
3 | xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="crossingScenario" nsURI="http://www.example.com/crossingScenario" | ||
4 | nsPrefix="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"/> | ||
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" | ||
9 | eType="#//Actor" containment="true"/> | ||
10 | <eStructuralFeatures xsi:type="ecore:EReference" name="lanes" upperBound="-1" | ||
11 | eType="#//Lane" containment="true"/> | ||
12 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxTime" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
13 | </eClassifiers> | ||
14 | <eClassifiers xsi:type="ecore:EClass" name="Lane"> | ||
15 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation" lowerBound="1" | ||
16 | eType="#//Orientation"/> | ||
17 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="#//Size"/> | ||
18 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceCoord" lowerBound="1" | ||
19 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
20 | <eStructuralFeatures xsi:type="ecore:EReference" name="prevLane" eType="#//Lane"/> | ||
21 | <eStructuralFeatures xsi:type="ecore:EReference" name="actors" upperBound="-1" | ||
22 | eType="#//Actor" eOpposite="#//Actor/placedOn"/> | ||
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"/> | ||
25 | </eClassifiers> | ||
26 | <eClassifiers xsi:type="ecore:EEnum" name="Orientation"> | ||
27 | <eLiterals name="Vertical"/> | ||
28 | <eLiterals name="Horizontal" value="1"/> | ||
29 | </eClassifiers> | ||
30 | <eClassifiers xsi:type="ecore:EEnum" name="Size"> | ||
31 | <eLiterals name="Small"/> | ||
32 | <eLiterals name="Medium" value="1"/> | ||
33 | <eLiterals name="Large" value="2"/> | ||
34 | </eClassifiers> | ||
35 | <eClassifiers xsi:type="ecore:EClass" name="Actor" abstract="true"> | ||
36 | <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="yPos" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
38 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="length" lowerBound="1" | ||
39 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0" | ||
40 | derived="true"/> | ||
41 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" | ||
42 | derived="true"/> | ||
43 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="xSpeed" lowerBound="1" | ||
44 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble" defaultValueLiteral="0.0"/> | ||
45 | <eStructuralFeatures xsi:type="ecore:EReference" name="relations" upperBound="-1" | ||
46 | eType="#//Relation" containment="true"/> | ||
47 | <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1" | ||
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"/> | ||
51 | </eClassifiers> | ||
52 | <eClassifiers xsi:type="ecore:EClass" name="Relation" abstract="true"> | ||
53 | <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" | ||
54 | eType="#//Actor"/> | ||
55 | </eClassifiers> | ||
56 | <eClassifiers xsi:type="ecore:EClass" name="SpatialRelation" abstract="true" eSuperTypes="#//Relation"/> | ||
57 | <eClassifiers xsi:type="ecore:EClass" name="TemporalRelation" abstract="true" eSuperTypes="#//Relation"/> | ||
58 | <eClassifiers xsi:type="ecore:EClass" name="VisionBlocked" eSuperTypes="#//SpatialRelation"> | ||
59 | <eStructuralFeatures xsi:type="ecore:EReference" name="blockedBy" lowerBound="1" | ||
60 | eType="#//Actor"/> | ||
61 | </eClassifiers> | ||
62 | <eClassifiers xsi:type="ecore:EClass" name="SeparationDistance" eSuperTypes="#//SpatialRelation"> | ||
63 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1" | ||
64 | eType="#//Distance"/> | ||
65 | </eClassifiers> | ||
66 | <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation"> | ||
67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1" | ||
68 | eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/> | ||
69 | </eClassifiers> | ||
70 | <eClassifiers xsi:type="ecore:EClass" name="CollisionDoesNotExist" eSuperTypes="#//TemporalRelation"/> | ||
71 | <eClassifiers xsi:type="ecore:EEnum" name="Distance"> | ||
72 | <eLiterals name="Near"/> | ||
73 | <eLiterals name="Medium" value="1"/> | ||
74 | <eLiterals name="Far" value="2"/> | ||
75 | </eClassifiers> | ||
76 | <eClassifiers xsi:type="ecore:EClass" name="Pedestrian" eSuperTypes="#//Actor"/> | ||
77 | <eClassifiers xsi:type="ecore:EClass" name="Vehicle" eSuperTypes="#//Actor"/> | ||
78 | </ecore:EPackage> | ||