aboutsummaryrefslogtreecommitdiffstats
path: root/Domains/traffic.scenarios.simplified/model/simpleScenario.ecore
diff options
context:
space:
mode:
Diffstat (limited to 'Domains/traffic.scenarios.simplified/model/simpleScenario.ecore')
-rw-r--r--Domains/traffic.scenarios.simplified/model/simpleScenario.ecore70
1 files changed, 70 insertions, 0 deletions
diff --git a/Domains/traffic.scenarios.simplified/model/simpleScenario.ecore b/Domains/traffic.scenarios.simplified/model/simpleScenario.ecore
new file mode 100644
index 00000000..340a63b7
--- /dev/null
+++ b/Domains/traffic.scenarios.simplified/model/simpleScenario.ecore
@@ -0,0 +1,70 @@
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="simpleScenario" nsURI="http://www.example.com/simpleScenario"
4 nsPrefix="simpleScenario">
5 <eClassifiers xsi:type="ecore:EClass" name="SimpleScenario">
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 </eClassifiers>
13 <eClassifiers xsi:type="ecore:EClass" name="Lane">
14 <eStructuralFeatures xsi:type="ecore:EAttribute" name="orientation" lowerBound="1"
15 eType="#//Orientation"/>
16 <eStructuralFeatures xsi:type="ecore:EAttribute" name="width" lowerBound="1" eType="#//Size"/>
17 <eStructuralFeatures xsi:type="ecore:EAttribute" name="referenceCoord" lowerBound="1"
18 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
19 <eStructuralFeatures xsi:type="ecore:EReference" name="adjacent" upperBound="2"
20 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="widthNum" lowerBound="1"
24 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
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">
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"/>
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"
40 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"
44 eType="#//Relation" containment="true"/>
45 <eStructuralFeatures xsi:type="ecore:EReference" name="placedOn" lowerBound="1"
46 eType="#//Lane" eOpposite="#//Lane/actors"/>
47 </eClassifiers>
48 <eClassifiers xsi:type="ecore:EClass" name="Relation" abstract="true">
49 <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1"
50 eType="#//Actor"/>
51 </eClassifiers>
52 <eClassifiers xsi:type="ecore:EClass" name="SpatialRelation" abstract="true" eSuperTypes="#//Relation"/>
53 <eClassifiers xsi:type="ecore:EClass" name="TemporalRelation" abstract="true" eSuperTypes="#//Relation"/>
54 <eClassifiers xsi:type="ecore:EClass" name="VisionBlocked" eSuperTypes="#//SpatialRelation">
55 <eStructuralFeatures xsi:type="ecore:EReference" name="blockedBy" eType="#//Actor"/>
56 </eClassifiers>
57 <eClassifiers xsi:type="ecore:EClass" name="SeperationDistance" eSuperTypes="#//SpatialRelation">
58 <eStructuralFeatures xsi:type="ecore:EAttribute" name="distance" lowerBound="1"
59 eType="#//Size"/>
60 </eClassifiers>
61 <eClassifiers xsi:type="ecore:EClass" name="CollisionExists" eSuperTypes="#//TemporalRelation">
62 <eStructuralFeatures xsi:type="ecore:EAttribute" name="collisionTime" lowerBound="1"
63 eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
64 </eClassifiers>
65 <eClassifiers xsi:type="ecore:EClass" name="CollisionDoesNotExist" eSuperTypes="#//TemporalRelation"/>
66 <eClassifiers xsi:type="ecore:EEnum" name="ActorType">
67 <eLiterals name="Pedestrian"/>
68 <eLiterals name="Vehicle" value="1"/>
69 </eClassifiers>
70</ecore:EPackage>