diff options
author | 2021-01-11 06:42:10 -0500 | |
---|---|---|
committer | 2021-01-11 06:42:10 -0500 | |
commit | e3774317421935b8d63e2e0ad08a141853d31908 (patch) | |
tree | 2bed27fb1471b56cc04b14ce27dbc4bda12dfcda /Domains/traffic.scenarios.simplified | |
parent | remove local-docker file transfer (diff) | |
download | VIATRA-Generator-e3774317421935b8d63e2e0ad08a141853d31908.tar.gz VIATRA-Generator-e3774317421935b8d63e2e0ad08a141853d31908.tar.zst VIATRA-Generator-e3774317421935b8d63e2e0ad08a141853d31908.zip |
first version of the simpleScenario MM+VQL. noRealMatches bug found
Diffstat (limited to 'Domains/traffic.scenarios.simplified')
44 files changed, 7898 insertions, 0 deletions
diff --git a/Domains/traffic.scenarios.simplified/.classpath b/Domains/traffic.scenarios.simplified/.classpath new file mode 100644 index 00000000..0712d3e2 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/.classpath | |||
@@ -0,0 +1,9 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <classpath> | ||
3 | <classpathentry kind="src" path="ecore-gen"/> | ||
4 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> | ||
5 | <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
6 | <classpathentry kind="src" path="src"/> | ||
7 | <classpathentry kind="src" path="src-gen"/> | ||
8 | <classpathentry kind="output" path="bin"/> | ||
9 | </classpath> | ||
diff --git a/Domains/traffic.scenarios.simplified/.gitignore b/Domains/traffic.scenarios.simplified/.gitignore new file mode 100644 index 00000000..0370ac06 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/.gitignore | |||
@@ -0,0 +1,4 @@ | |||
1 | /bin/ | ||
2 | /outputs/ | ||
3 | /src-gen/ | ||
4 | /xtend-gen/ | ||
diff --git a/Domains/traffic.scenarios.simplified/.project b/Domains/traffic.scenarios.simplified/.project new file mode 100644 index 00000000..60b7160b --- /dev/null +++ b/Domains/traffic.scenarios.simplified/.project | |||
@@ -0,0 +1,40 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <projectDescription> | ||
3 | <name>simpleScenario</name> | ||
4 | <comment></comment> | ||
5 | <projects> | ||
6 | </projects> | ||
7 | <buildSpec> | ||
8 | <buildCommand> | ||
9 | <name>org.eclipse.viatra.query.tooling.ui.projectbuilder</name> | ||
10 | <arguments> | ||
11 | </arguments> | ||
12 | </buildCommand> | ||
13 | <buildCommand> | ||
14 | <name>org.eclipse.xtext.ui.shared.xtextBuilder</name> | ||
15 | <arguments> | ||
16 | </arguments> | ||
17 | </buildCommand> | ||
18 | <buildCommand> | ||
19 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
20 | <arguments> | ||
21 | </arguments> | ||
22 | </buildCommand> | ||
23 | <buildCommand> | ||
24 | <name>org.eclipse.pde.ManifestBuilder</name> | ||
25 | <arguments> | ||
26 | </arguments> | ||
27 | </buildCommand> | ||
28 | <buildCommand> | ||
29 | <name>org.eclipse.pde.SchemaBuilder</name> | ||
30 | <arguments> | ||
31 | </arguments> | ||
32 | </buildCommand> | ||
33 | </buildSpec> | ||
34 | <natures> | ||
35 | <nature>org.eclipse.pde.PluginNature</nature> | ||
36 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
37 | <nature>org.eclipse.viatra.query.projectnature</nature> | ||
38 | <nature>org.eclipse.xtext.ui.shared.xtextNature</nature> | ||
39 | </natures> | ||
40 | </projectDescription> | ||
diff --git a/Domains/traffic.scenarios.simplified/.settings/org.eclipse.jdt.core.prefs b/Domains/traffic.scenarios.simplified/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..295926d9 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/.settings/org.eclipse.jdt.core.prefs | |||
@@ -0,0 +1,7 @@ | |||
1 | eclipse.preferences.version=1 | ||
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
4 | org.eclipse.jdt.core.compiler.compliance=1.8 | ||
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
7 | org.eclipse.jdt.core.compiler.source=1.8 | ||
diff --git a/Domains/traffic.scenarios.simplified/META-INF/MANIFEST.MF b/Domains/traffic.scenarios.simplified/META-INF/MANIFEST.MF new file mode 100644 index 00000000..22f9477b --- /dev/null +++ b/Domains/traffic.scenarios.simplified/META-INF/MANIFEST.MF | |||
@@ -0,0 +1,22 @@ | |||
1 | Manifest-Version: 1.0 | ||
2 | Bundle-ManifestVersion: 2 | ||
3 | Bundle-Name: %pluginName | ||
4 | Bundle-SymbolicName: simpleScenario;singleton:=true | ||
5 | Bundle-Version: 1.0.0.qualifier | ||
6 | Bundle-ClassPath: . | ||
7 | Bundle-Vendor: %providerName | ||
8 | Bundle-Localization: plugin | ||
9 | Export-Package: simpleScenario, | ||
10 | simpleScenario.impl, | ||
11 | simpleScenario.util | ||
12 | Require-Bundle: org.eclipse.viatra.query.runtime, | ||
13 | org.eclipse.viatra.query.runtime.rete, | ||
14 | org.eclipse.viatra.query.runtime.localsearch, | ||
15 | org.eclipse.xtext.xbase.lib, | ||
16 | org.eclipse.core.runtime, | ||
17 | org.eclipse.emf.ecore;visibility:=reexport, | ||
18 | hu.bme.mit.inf.dslreasoner.application;bundle-version="1.0.0" | ||
19 | Bundle-RequiredExecutionEnvironment: JavaSE-11 | ||
20 | Bundle-ActivationPolicy: lazy | ||
21 | Import-Package: org.apache.log4j | ||
22 | Automatic-Module-Name: simpleScenario | ||
diff --git a/Domains/traffic.scenarios.simplified/build.properties b/Domains/traffic.scenarios.simplified/build.properties new file mode 100644 index 00000000..cc431c50 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/build.properties | |||
@@ -0,0 +1,10 @@ | |||
1 | bin.includes = .,\ | ||
2 | model/,\ | ||
3 | META-INF/,\ | ||
4 | plugin.xml,\ | ||
5 | plugin.properties | ||
6 | jars.compile.order = . | ||
7 | source.. = src/,\ | ||
8 | src-gen/,\ | ||
9 | ecore-gen/ | ||
10 | output.. = bin/ | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Actor.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Actor.java new file mode 100644 index 00000000..c4ee874e --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Actor.java | |||
@@ -0,0 +1,205 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Actor</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link simpleScenario.Actor#getType <em>Type</em>}</li> | ||
19 | * <li>{@link simpleScenario.Actor#getXPos <em>XPos</em>}</li> | ||
20 | * <li>{@link simpleScenario.Actor#getYPos <em>YPos</em>}</li> | ||
21 | * <li>{@link simpleScenario.Actor#getLength <em>Length</em>}</li> | ||
22 | * <li>{@link simpleScenario.Actor#getWidth <em>Width</em>}</li> | ||
23 | * <li>{@link simpleScenario.Actor#getSpeed <em>Speed</em>}</li> | ||
24 | * <li>{@link simpleScenario.Actor#getRelations <em>Relations</em>}</li> | ||
25 | * <li>{@link simpleScenario.Actor#getPlacedOn <em>Placed On</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @see simpleScenario.SimpleScenarioPackage#getActor() | ||
29 | * @model | ||
30 | * @generated | ||
31 | */ | ||
32 | public interface Actor extends EObject { | ||
33 | /** | ||
34 | * Returns the value of the '<em><b>Type</b></em>' attribute. | ||
35 | * The literals are from the enumeration {@link simpleScenario.ActorType}. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @return the value of the '<em>Type</em>' attribute. | ||
39 | * @see simpleScenario.ActorType | ||
40 | * @see #setType(ActorType) | ||
41 | * @see simpleScenario.SimpleScenarioPackage#getActor_Type() | ||
42 | * @model required="true" | ||
43 | * @generated | ||
44 | */ | ||
45 | ActorType getType(); | ||
46 | |||
47 | /** | ||
48 | * Sets the value of the '{@link simpleScenario.Actor#getType <em>Type</em>}' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @param value the new value of the '<em>Type</em>' attribute. | ||
52 | * @see simpleScenario.ActorType | ||
53 | * @see #getType() | ||
54 | * @generated | ||
55 | */ | ||
56 | void setType(ActorType value); | ||
57 | |||
58 | /** | ||
59 | * Returns the value of the '<em><b>XPos</b></em>' attribute. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @return the value of the '<em>XPos</em>' attribute. | ||
63 | * @see #setXPos(double) | ||
64 | * @see simpleScenario.SimpleScenarioPackage#getActor_XPos() | ||
65 | * @model required="true" | ||
66 | * @generated | ||
67 | */ | ||
68 | double getXPos(); | ||
69 | |||
70 | /** | ||
71 | * Sets the value of the '{@link simpleScenario.Actor#getXPos <em>XPos</em>}' attribute. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @param value the new value of the '<em>XPos</em>' attribute. | ||
75 | * @see #getXPos() | ||
76 | * @generated | ||
77 | */ | ||
78 | void setXPos(double value); | ||
79 | |||
80 | /** | ||
81 | * Returns the value of the '<em><b>YPos</b></em>' attribute. | ||
82 | * <!-- begin-user-doc --> | ||
83 | * <!-- end-user-doc --> | ||
84 | * @return the value of the '<em>YPos</em>' attribute. | ||
85 | * @see #setYPos(double) | ||
86 | * @see simpleScenario.SimpleScenarioPackage#getActor_YPos() | ||
87 | * @model required="true" | ||
88 | * @generated | ||
89 | */ | ||
90 | double getYPos(); | ||
91 | |||
92 | /** | ||
93 | * Sets the value of the '{@link simpleScenario.Actor#getYPos <em>YPos</em>}' attribute. | ||
94 | * <!-- begin-user-doc --> | ||
95 | * <!-- end-user-doc --> | ||
96 | * @param value the new value of the '<em>YPos</em>' attribute. | ||
97 | * @see #getYPos() | ||
98 | * @generated | ||
99 | */ | ||
100 | void setYPos(double value); | ||
101 | |||
102 | /** | ||
103 | * Returns the value of the '<em><b>Length</b></em>' attribute. | ||
104 | * The default value is <code>"0.0"</code>. | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @return the value of the '<em>Length</em>' attribute. | ||
108 | * @see #setLength(double) | ||
109 | * @see simpleScenario.SimpleScenarioPackage#getActor_Length() | ||
110 | * @model default="0.0" | ||
111 | * @generated | ||
112 | */ | ||
113 | double getLength(); | ||
114 | |||
115 | /** | ||
116 | * Sets the value of the '{@link simpleScenario.Actor#getLength <em>Length</em>}' attribute. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @param value the new value of the '<em>Length</em>' attribute. | ||
120 | * @see #getLength() | ||
121 | * @generated | ||
122 | */ | ||
123 | void setLength(double value); | ||
124 | |||
125 | /** | ||
126 | * Returns the value of the '<em><b>Width</b></em>' attribute. | ||
127 | * <!-- begin-user-doc --> | ||
128 | * <!-- end-user-doc --> | ||
129 | * @return the value of the '<em>Width</em>' attribute. | ||
130 | * @see #setWidth(double) | ||
131 | * @see simpleScenario.SimpleScenarioPackage#getActor_Width() | ||
132 | * @model | ||
133 | * @generated | ||
134 | */ | ||
135 | double getWidth(); | ||
136 | |||
137 | /** | ||
138 | * Sets the value of the '{@link simpleScenario.Actor#getWidth <em>Width</em>}' attribute. | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @param value the new value of the '<em>Width</em>' attribute. | ||
142 | * @see #getWidth() | ||
143 | * @generated | ||
144 | */ | ||
145 | void setWidth(double value); | ||
146 | |||
147 | /** | ||
148 | * Returns the value of the '<em><b>Speed</b></em>' attribute. | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @return the value of the '<em>Speed</em>' attribute. | ||
152 | * @see #setSpeed(double) | ||
153 | * @see simpleScenario.SimpleScenarioPackage#getActor_Speed() | ||
154 | * @model required="true" | ||
155 | * @generated | ||
156 | */ | ||
157 | double getSpeed(); | ||
158 | |||
159 | /** | ||
160 | * Sets the value of the '{@link simpleScenario.Actor#getSpeed <em>Speed</em>}' attribute. | ||
161 | * <!-- begin-user-doc --> | ||
162 | * <!-- end-user-doc --> | ||
163 | * @param value the new value of the '<em>Speed</em>' attribute. | ||
164 | * @see #getSpeed() | ||
165 | * @generated | ||
166 | */ | ||
167 | void setSpeed(double value); | ||
168 | |||
169 | /** | ||
170 | * Returns the value of the '<em><b>Relations</b></em>' containment reference list. | ||
171 | * The list contents are of type {@link simpleScenario.Relation}. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @return the value of the '<em>Relations</em>' containment reference list. | ||
175 | * @see simpleScenario.SimpleScenarioPackage#getActor_Relations() | ||
176 | * @model containment="true" | ||
177 | * @generated | ||
178 | */ | ||
179 | EList<Relation> getRelations(); | ||
180 | |||
181 | /** | ||
182 | * Returns the value of the '<em><b>Placed On</b></em>' reference. | ||
183 | * It is bidirectional and its opposite is '{@link simpleScenario.Lane#getActors <em>Actors</em>}'. | ||
184 | * <!-- begin-user-doc --> | ||
185 | * <!-- end-user-doc --> | ||
186 | * @return the value of the '<em>Placed On</em>' reference. | ||
187 | * @see #setPlacedOn(Lane) | ||
188 | * @see simpleScenario.SimpleScenarioPackage#getActor_PlacedOn() | ||
189 | * @see simpleScenario.Lane#getActors | ||
190 | * @model opposite="actors" required="true" | ||
191 | * @generated | ||
192 | */ | ||
193 | Lane getPlacedOn(); | ||
194 | |||
195 | /** | ||
196 | * Sets the value of the '{@link simpleScenario.Actor#getPlacedOn <em>Placed On</em>}' reference. | ||
197 | * <!-- begin-user-doc --> | ||
198 | * <!-- end-user-doc --> | ||
199 | * @param value the new value of the '<em>Placed On</em>' reference. | ||
200 | * @see #getPlacedOn() | ||
201 | * @generated | ||
202 | */ | ||
203 | void setPlacedOn(Lane value); | ||
204 | |||
205 | } // Actor | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/ActorType.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/ActorType.java new file mode 100644 index 00000000..7d9e1988 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/ActorType.java | |||
@@ -0,0 +1,209 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>Actor Type</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see simpleScenario.SimpleScenarioPackage#getActorType() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum ActorType implements Enumerator { | ||
21 | /** | ||
22 | * The '<em><b>Pedestrian</b></em>' literal object. | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @see #PEDESTRIAN_VALUE | ||
26 | * @generated | ||
27 | * @ordered | ||
28 | */ | ||
29 | PEDESTRIAN(0, "Pedestrian", "Pedestrian"), | ||
30 | |||
31 | /** | ||
32 | * The '<em><b>Vehicle</b></em>' literal object. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #VEHICLE_VALUE | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | VEHICLE(1, "Vehicle", "Vehicle"); | ||
40 | |||
41 | /** | ||
42 | * The '<em><b>Pedestrian</b></em>' literal value. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #PEDESTRIAN | ||
46 | * @model name="Pedestrian" | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | public static final int PEDESTRIAN_VALUE = 0; | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>Vehicle</b></em>' literal value. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #VEHICLE | ||
57 | * @model name="Vehicle" | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | public static final int VEHICLE_VALUE = 1; | ||
62 | |||
63 | /** | ||
64 | * An array of all the '<em><b>Actor Type</b></em>' enumerators. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | private static final ActorType[] VALUES_ARRAY = | ||
70 | new ActorType[] { | ||
71 | PEDESTRIAN, | ||
72 | VEHICLE, | ||
73 | }; | ||
74 | |||
75 | /** | ||
76 | * A public read-only list of all the '<em><b>Actor Type</b></em>' enumerators. | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public static final List<ActorType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
82 | |||
83 | /** | ||
84 | * Returns the '<em><b>Actor Type</b></em>' literal with the specified literal value. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @param literal the literal. | ||
88 | * @return the matching enumerator or <code>null</code>. | ||
89 | * @generated | ||
90 | */ | ||
91 | public static ActorType get(String literal) { | ||
92 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
93 | ActorType result = VALUES_ARRAY[i]; | ||
94 | if (result.toString().equals(literal)) { | ||
95 | return result; | ||
96 | } | ||
97 | } | ||
98 | return null; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * Returns the '<em><b>Actor Type</b></em>' literal with the specified name. | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @param name the name. | ||
106 | * @return the matching enumerator or <code>null</code>. | ||
107 | * @generated | ||
108 | */ | ||
109 | public static ActorType getByName(String name) { | ||
110 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
111 | ActorType result = VALUES_ARRAY[i]; | ||
112 | if (result.getName().equals(name)) { | ||
113 | return result; | ||
114 | } | ||
115 | } | ||
116 | return null; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * Returns the '<em><b>Actor Type</b></em>' literal with the specified integer value. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @param value the integer value. | ||
124 | * @return the matching enumerator or <code>null</code>. | ||
125 | * @generated | ||
126 | */ | ||
127 | public static ActorType get(int value) { | ||
128 | switch (value) { | ||
129 | case PEDESTRIAN_VALUE: return PEDESTRIAN; | ||
130 | case VEHICLE_VALUE: return VEHICLE; | ||
131 | } | ||
132 | return null; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | private final int value; | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | private final String name; | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | private final String literal; | ||
155 | |||
156 | /** | ||
157 | * Only this class can construct instances. | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | private ActorType(int value, String name, String literal) { | ||
163 | this.value = value; | ||
164 | this.name = name; | ||
165 | this.literal = literal; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public int getValue() { | ||
175 | return value; | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public String getName() { | ||
185 | return name; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public String getLiteral() { | ||
195 | return literal; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * Returns the literal value of the enumerator, which is its string representation. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public String toString() { | ||
206 | return literal; | ||
207 | } | ||
208 | |||
209 | } //ActorType | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/CollisionDoesNotExist.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/CollisionDoesNotExist.java new file mode 100644 index 00000000..2699bb94 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/CollisionDoesNotExist.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Collision Does Not Exist</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see simpleScenario.SimpleScenarioPackage#getCollisionDoesNotExist() | ||
13 | * @model | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface CollisionDoesNotExist extends TemporalRelation { | ||
17 | } // CollisionDoesNotExist | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/CollisionExists.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/CollisionExists.java new file mode 100644 index 00000000..9e495f61 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/CollisionExists.java | |||
@@ -0,0 +1,45 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Collision Exists</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link simpleScenario.CollisionExists#getCollisionTime <em>Collision Time</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see simpleScenario.SimpleScenarioPackage#getCollisionExists() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface CollisionExists extends TemporalRelation { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Collision Time</b></em>' attribute. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @return the value of the '<em>Collision Time</em>' attribute. | ||
28 | * @see #setCollisionTime(double) | ||
29 | * @see simpleScenario.SimpleScenarioPackage#getCollisionExists_CollisionTime() | ||
30 | * @model required="true" | ||
31 | * @generated | ||
32 | */ | ||
33 | double getCollisionTime(); | ||
34 | |||
35 | /** | ||
36 | * Sets the value of the '{@link simpleScenario.CollisionExists#getCollisionTime <em>Collision Time</em>}' attribute. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @param value the new value of the '<em>Collision Time</em>' attribute. | ||
40 | * @see #getCollisionTime() | ||
41 | * @generated | ||
42 | */ | ||
43 | void setCollisionTime(double value); | ||
44 | |||
45 | } // CollisionExists | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Lane.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Lane.java new file mode 100644 index 00000000..e4d608e6 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Lane.java | |||
@@ -0,0 +1,151 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Lane</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link simpleScenario.Lane#getOrientation <em>Orientation</em>}</li> | ||
19 | * <li>{@link simpleScenario.Lane#getWidth <em>Width</em>}</li> | ||
20 | * <li>{@link simpleScenario.Lane#getReferenceCoord <em>Reference Coord</em>}</li> | ||
21 | * <li>{@link simpleScenario.Lane#getAdjacent <em>Adjacent</em>}</li> | ||
22 | * <li>{@link simpleScenario.Lane#getActors <em>Actors</em>}</li> | ||
23 | * <li>{@link simpleScenario.Lane#getWidthNum <em>Width Num</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @see simpleScenario.SimpleScenarioPackage#getLane() | ||
27 | * @model | ||
28 | * @generated | ||
29 | */ | ||
30 | public interface Lane extends EObject { | ||
31 | /** | ||
32 | * Returns the value of the '<em><b>Orientation</b></em>' attribute. | ||
33 | * The literals are from the enumeration {@link simpleScenario.Orientation}. | ||
34 | * <!-- begin-user-doc --> | ||
35 | * <!-- end-user-doc --> | ||
36 | * @return the value of the '<em>Orientation</em>' attribute. | ||
37 | * @see simpleScenario.Orientation | ||
38 | * @see #setOrientation(Orientation) | ||
39 | * @see simpleScenario.SimpleScenarioPackage#getLane_Orientation() | ||
40 | * @model required="true" | ||
41 | * @generated | ||
42 | */ | ||
43 | Orientation getOrientation(); | ||
44 | |||
45 | /** | ||
46 | * Sets the value of the '{@link simpleScenario.Lane#getOrientation <em>Orientation</em>}' attribute. | ||
47 | * <!-- begin-user-doc --> | ||
48 | * <!-- end-user-doc --> | ||
49 | * @param value the new value of the '<em>Orientation</em>' attribute. | ||
50 | * @see simpleScenario.Orientation | ||
51 | * @see #getOrientation() | ||
52 | * @generated | ||
53 | */ | ||
54 | void setOrientation(Orientation value); | ||
55 | |||
56 | /** | ||
57 | * Returns the value of the '<em><b>Width</b></em>' attribute. | ||
58 | * The literals are from the enumeration {@link simpleScenario.Size}. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @return the value of the '<em>Width</em>' attribute. | ||
62 | * @see simpleScenario.Size | ||
63 | * @see #setWidth(Size) | ||
64 | * @see simpleScenario.SimpleScenarioPackage#getLane_Width() | ||
65 | * @model required="true" | ||
66 | * @generated | ||
67 | */ | ||
68 | Size getWidth(); | ||
69 | |||
70 | /** | ||
71 | * Sets the value of the '{@link simpleScenario.Lane#getWidth <em>Width</em>}' attribute. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @param value the new value of the '<em>Width</em>' attribute. | ||
75 | * @see simpleScenario.Size | ||
76 | * @see #getWidth() | ||
77 | * @generated | ||
78 | */ | ||
79 | void setWidth(Size value); | ||
80 | |||
81 | /** | ||
82 | * Returns the value of the '<em><b>Reference Coord</b></em>' attribute. | ||
83 | * <!-- begin-user-doc --> | ||
84 | * <!-- end-user-doc --> | ||
85 | * @return the value of the '<em>Reference Coord</em>' attribute. | ||
86 | * @see #setReferenceCoord(double) | ||
87 | * @see simpleScenario.SimpleScenarioPackage#getLane_ReferenceCoord() | ||
88 | * @model required="true" | ||
89 | * @generated | ||
90 | */ | ||
91 | double getReferenceCoord(); | ||
92 | |||
93 | /** | ||
94 | * Sets the value of the '{@link simpleScenario.Lane#getReferenceCoord <em>Reference Coord</em>}' attribute. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @param value the new value of the '<em>Reference Coord</em>' attribute. | ||
98 | * @see #getReferenceCoord() | ||
99 | * @generated | ||
100 | */ | ||
101 | void setReferenceCoord(double value); | ||
102 | |||
103 | /** | ||
104 | * Returns the value of the '<em><b>Adjacent</b></em>' reference list. | ||
105 | * The list contents are of type {@link simpleScenario.Lane}. | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @return the value of the '<em>Adjacent</em>' reference list. | ||
109 | * @see simpleScenario.SimpleScenarioPackage#getLane_Adjacent() | ||
110 | * @model upper="2" | ||
111 | * @generated | ||
112 | */ | ||
113 | EList<Lane> getAdjacent(); | ||
114 | |||
115 | /** | ||
116 | * Returns the value of the '<em><b>Actors</b></em>' reference list. | ||
117 | * The list contents are of type {@link simpleScenario.Actor}. | ||
118 | * It is bidirectional and its opposite is '{@link simpleScenario.Actor#getPlacedOn <em>Placed On</em>}'. | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @return the value of the '<em>Actors</em>' reference list. | ||
122 | * @see simpleScenario.SimpleScenarioPackage#getLane_Actors() | ||
123 | * @see simpleScenario.Actor#getPlacedOn | ||
124 | * @model opposite="placedOn" | ||
125 | * @generated | ||
126 | */ | ||
127 | EList<Actor> getActors(); | ||
128 | |||
129 | /** | ||
130 | * Returns the value of the '<em><b>Width Num</b></em>' attribute. | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @return the value of the '<em>Width Num</em>' attribute. | ||
134 | * @see #setWidthNum(double) | ||
135 | * @see simpleScenario.SimpleScenarioPackage#getLane_WidthNum() | ||
136 | * @model required="true" | ||
137 | * @generated | ||
138 | */ | ||
139 | double getWidthNum(); | ||
140 | |||
141 | /** | ||
142 | * Sets the value of the '{@link simpleScenario.Lane#getWidthNum <em>Width Num</em>}' attribute. | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @param value the new value of the '<em>Width Num</em>' attribute. | ||
146 | * @see #getWidthNum() | ||
147 | * @generated | ||
148 | */ | ||
149 | void setWidthNum(double value); | ||
150 | |||
151 | } // Lane | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Orientation.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Orientation.java new file mode 100644 index 00000000..8f7f055b --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Orientation.java | |||
@@ -0,0 +1,209 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>Orientation</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see simpleScenario.SimpleScenarioPackage#getOrientation() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum Orientation implements Enumerator { | ||
21 | /** | ||
22 | * The '<em><b>Vertical</b></em>' literal object. | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @see #VERTICAL_VALUE | ||
26 | * @generated | ||
27 | * @ordered | ||
28 | */ | ||
29 | VERTICAL(0, "Vertical", "Vertical"), | ||
30 | |||
31 | /** | ||
32 | * The '<em><b>Horizontal</b></em>' literal object. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #HORIZONTAL_VALUE | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | HORIZONTAL(1, "Horizontal", "Horizontal"); | ||
40 | |||
41 | /** | ||
42 | * The '<em><b>Vertical</b></em>' literal value. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #VERTICAL | ||
46 | * @model name="Vertical" | ||
47 | * @generated | ||
48 | * @ordered | ||
49 | */ | ||
50 | public static final int VERTICAL_VALUE = 0; | ||
51 | |||
52 | /** | ||
53 | * The '<em><b>Horizontal</b></em>' literal value. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @see #HORIZONTAL | ||
57 | * @model name="Horizontal" | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | public static final int HORIZONTAL_VALUE = 1; | ||
62 | |||
63 | /** | ||
64 | * An array of all the '<em><b>Orientation</b></em>' enumerators. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | private static final Orientation[] VALUES_ARRAY = | ||
70 | new Orientation[] { | ||
71 | VERTICAL, | ||
72 | HORIZONTAL, | ||
73 | }; | ||
74 | |||
75 | /** | ||
76 | * A public read-only list of all the '<em><b>Orientation</b></em>' enumerators. | ||
77 | * <!-- begin-user-doc --> | ||
78 | * <!-- end-user-doc --> | ||
79 | * @generated | ||
80 | */ | ||
81 | public static final List<Orientation> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
82 | |||
83 | /** | ||
84 | * Returns the '<em><b>Orientation</b></em>' literal with the specified literal value. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @param literal the literal. | ||
88 | * @return the matching enumerator or <code>null</code>. | ||
89 | * @generated | ||
90 | */ | ||
91 | public static Orientation get(String literal) { | ||
92 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
93 | Orientation result = VALUES_ARRAY[i]; | ||
94 | if (result.toString().equals(literal)) { | ||
95 | return result; | ||
96 | } | ||
97 | } | ||
98 | return null; | ||
99 | } | ||
100 | |||
101 | /** | ||
102 | * Returns the '<em><b>Orientation</b></em>' literal with the specified name. | ||
103 | * <!-- begin-user-doc --> | ||
104 | * <!-- end-user-doc --> | ||
105 | * @param name the name. | ||
106 | * @return the matching enumerator or <code>null</code>. | ||
107 | * @generated | ||
108 | */ | ||
109 | public static Orientation getByName(String name) { | ||
110 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
111 | Orientation result = VALUES_ARRAY[i]; | ||
112 | if (result.getName().equals(name)) { | ||
113 | return result; | ||
114 | } | ||
115 | } | ||
116 | return null; | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * Returns the '<em><b>Orientation</b></em>' literal with the specified integer value. | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @param value the integer value. | ||
124 | * @return the matching enumerator or <code>null</code>. | ||
125 | * @generated | ||
126 | */ | ||
127 | public static Orientation get(int value) { | ||
128 | switch (value) { | ||
129 | case VERTICAL_VALUE: return VERTICAL; | ||
130 | case HORIZONTAL_VALUE: return HORIZONTAL; | ||
131 | } | ||
132 | return null; | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | private final int value; | ||
141 | |||
142 | /** | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @generated | ||
146 | */ | ||
147 | private final String name; | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | private final String literal; | ||
155 | |||
156 | /** | ||
157 | * Only this class can construct instances. | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @generated | ||
161 | */ | ||
162 | private Orientation(int value, String name, String literal) { | ||
163 | this.value = value; | ||
164 | this.name = name; | ||
165 | this.literal = literal; | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public int getValue() { | ||
175 | return value; | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public String getName() { | ||
185 | return name; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public String getLiteral() { | ||
195 | return literal; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * Returns the literal value of the enumerator, which is its string representation. | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public String toString() { | ||
206 | return literal; | ||
207 | } | ||
208 | |||
209 | } //Orientation | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Relation.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Relation.java new file mode 100644 index 00000000..eaaa296f --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Relation.java | |||
@@ -0,0 +1,46 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * A representation of the model object '<em><b>Relation</b></em>'. | ||
10 | * <!-- end-user-doc --> | ||
11 | * | ||
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link simpleScenario.Relation#getTarget <em>Target</em>}</li> | ||
17 | * </ul> | ||
18 | * | ||
19 | * @see simpleScenario.SimpleScenarioPackage#getRelation() | ||
20 | * @model abstract="true" | ||
21 | * @generated | ||
22 | */ | ||
23 | public interface Relation extends EObject { | ||
24 | /** | ||
25 | * Returns the value of the '<em><b>Target</b></em>' reference. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Target</em>' reference. | ||
29 | * @see #setTarget(Actor) | ||
30 | * @see simpleScenario.SimpleScenarioPackage#getRelation_Target() | ||
31 | * @model required="true" | ||
32 | * @generated | ||
33 | */ | ||
34 | Actor getTarget(); | ||
35 | |||
36 | /** | ||
37 | * Sets the value of the '{@link simpleScenario.Relation#getTarget <em>Target</em>}' reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @param value the new value of the '<em>Target</em>' reference. | ||
41 | * @see #getTarget() | ||
42 | * @generated | ||
43 | */ | ||
44 | void setTarget(Actor value); | ||
45 | |||
46 | } // Relation | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SeperationDistance.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SeperationDistance.java new file mode 100644 index 00000000..276be42a --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SeperationDistance.java | |||
@@ -0,0 +1,48 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Seperation Distance</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link simpleScenario.SeperationDistance#getDistance <em>Distance</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see simpleScenario.SimpleScenarioPackage#getSeperationDistance() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface SeperationDistance extends SpatialRelation { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Distance</b></em>' attribute. | ||
25 | * The literals are from the enumeration {@link simpleScenario.Size}. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return the value of the '<em>Distance</em>' attribute. | ||
29 | * @see simpleScenario.Size | ||
30 | * @see #setDistance(Size) | ||
31 | * @see simpleScenario.SimpleScenarioPackage#getSeperationDistance_Distance() | ||
32 | * @model required="true" | ||
33 | * @generated | ||
34 | */ | ||
35 | Size getDistance(); | ||
36 | |||
37 | /** | ||
38 | * Sets the value of the '{@link simpleScenario.SeperationDistance#getDistance <em>Distance</em>}' attribute. | ||
39 | * <!-- begin-user-doc --> | ||
40 | * <!-- end-user-doc --> | ||
41 | * @param value the new value of the '<em>Distance</em>' attribute. | ||
42 | * @see simpleScenario.Size | ||
43 | * @see #getDistance() | ||
44 | * @generated | ||
45 | */ | ||
46 | void setDistance(Size value); | ||
47 | |||
48 | } // SeperationDistance | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenario.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenario.java new file mode 100644 index 00000000..bc92c51c --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenario.java | |||
@@ -0,0 +1,97 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import org.eclipse.emf.common.util.EList; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | |||
9 | /** | ||
10 | * <!-- begin-user-doc --> | ||
11 | * A representation of the model object '<em><b>Simple Scenario</b></em>'. | ||
12 | * <!-- end-user-doc --> | ||
13 | * | ||
14 | * <p> | ||
15 | * The following features are supported: | ||
16 | * </p> | ||
17 | * <ul> | ||
18 | * <li>{@link simpleScenario.SimpleScenario#getXSize <em>XSize</em>}</li> | ||
19 | * <li>{@link simpleScenario.SimpleScenario#getYSize <em>YSize</em>}</li> | ||
20 | * <li>{@link simpleScenario.SimpleScenario#getActors <em>Actors</em>}</li> | ||
21 | * <li>{@link simpleScenario.SimpleScenario#getLanes <em>Lanes</em>}</li> | ||
22 | * </ul> | ||
23 | * | ||
24 | * @see simpleScenario.SimpleScenarioPackage#getSimpleScenario() | ||
25 | * @model | ||
26 | * @generated | ||
27 | */ | ||
28 | public interface SimpleScenario extends EObject { | ||
29 | /** | ||
30 | * Returns the value of the '<em><b>XSize</b></em>' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>XSize</em>' attribute. | ||
34 | * @see #setXSize(double) | ||
35 | * @see simpleScenario.SimpleScenarioPackage#getSimpleScenario_XSize() | ||
36 | * @model | ||
37 | * @generated | ||
38 | */ | ||
39 | double getXSize(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link simpleScenario.SimpleScenario#getXSize <em>XSize</em>}' attribute. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>XSize</em>' attribute. | ||
46 | * @see #getXSize() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setXSize(double value); | ||
50 | |||
51 | /** | ||
52 | * Returns the value of the '<em><b>YSize</b></em>' attribute. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return the value of the '<em>YSize</em>' attribute. | ||
56 | * @see #setYSize(double) | ||
57 | * @see simpleScenario.SimpleScenarioPackage#getSimpleScenario_YSize() | ||
58 | * @model | ||
59 | * @generated | ||
60 | */ | ||
61 | double getYSize(); | ||
62 | |||
63 | /** | ||
64 | * Sets the value of the '{@link simpleScenario.SimpleScenario#getYSize <em>YSize</em>}' attribute. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @param value the new value of the '<em>YSize</em>' attribute. | ||
68 | * @see #getYSize() | ||
69 | * @generated | ||
70 | */ | ||
71 | void setYSize(double value); | ||
72 | |||
73 | /** | ||
74 | * Returns the value of the '<em><b>Actors</b></em>' containment reference list. | ||
75 | * The list contents are of type {@link simpleScenario.Actor}. | ||
76 | * <!-- begin-user-doc --> | ||
77 | * <!-- end-user-doc --> | ||
78 | * @return the value of the '<em>Actors</em>' containment reference list. | ||
79 | * @see simpleScenario.SimpleScenarioPackage#getSimpleScenario_Actors() | ||
80 | * @model containment="true" | ||
81 | * @generated | ||
82 | */ | ||
83 | EList<Actor> getActors(); | ||
84 | |||
85 | /** | ||
86 | * Returns the value of the '<em><b>Lanes</b></em>' containment reference list. | ||
87 | * The list contents are of type {@link simpleScenario.Lane}. | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @return the value of the '<em>Lanes</em>' containment reference list. | ||
91 | * @see simpleScenario.SimpleScenarioPackage#getSimpleScenario_Lanes() | ||
92 | * @model containment="true" | ||
93 | * @generated | ||
94 | */ | ||
95 | EList<Lane> getLanes(); | ||
96 | |||
97 | } // SimpleScenario | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenarioFactory.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenarioFactory.java new file mode 100644 index 00000000..043d33b2 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenarioFactory.java | |||
@@ -0,0 +1,96 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EFactory; | ||
6 | |||
7 | /** | ||
8 | * <!-- begin-user-doc --> | ||
9 | * The <b>Factory</b> for the model. | ||
10 | * It provides a create method for each non-abstract class of the model. | ||
11 | * <!-- end-user-doc --> | ||
12 | * @see simpleScenario.SimpleScenarioPackage | ||
13 | * @generated | ||
14 | */ | ||
15 | public interface SimpleScenarioFactory extends EFactory { | ||
16 | /** | ||
17 | * The singleton instance of the factory. | ||
18 | * <!-- begin-user-doc --> | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | SimpleScenarioFactory eINSTANCE = simpleScenario.impl.SimpleScenarioFactoryImpl.init(); | ||
23 | |||
24 | /** | ||
25 | * Returns a new object of class '<em>Simple Scenario</em>'. | ||
26 | * <!-- begin-user-doc --> | ||
27 | * <!-- end-user-doc --> | ||
28 | * @return a new object of class '<em>Simple Scenario</em>'. | ||
29 | * @generated | ||
30 | */ | ||
31 | SimpleScenario createSimpleScenario(); | ||
32 | |||
33 | /** | ||
34 | * Returns a new object of class '<em>Lane</em>'. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @return a new object of class '<em>Lane</em>'. | ||
38 | * @generated | ||
39 | */ | ||
40 | Lane createLane(); | ||
41 | |||
42 | /** | ||
43 | * Returns a new object of class '<em>Actor</em>'. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @return a new object of class '<em>Actor</em>'. | ||
47 | * @generated | ||
48 | */ | ||
49 | Actor createActor(); | ||
50 | |||
51 | /** | ||
52 | * Returns a new object of class '<em>Vision Blocked</em>'. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @return a new object of class '<em>Vision Blocked</em>'. | ||
56 | * @generated | ||
57 | */ | ||
58 | VisionBlocked createVisionBlocked(); | ||
59 | |||
60 | /** | ||
61 | * Returns a new object of class '<em>Seperation Distance</em>'. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @return a new object of class '<em>Seperation Distance</em>'. | ||
65 | * @generated | ||
66 | */ | ||
67 | SeperationDistance createSeperationDistance(); | ||
68 | |||
69 | /** | ||
70 | * Returns a new object of class '<em>Collision Exists</em>'. | ||
71 | * <!-- begin-user-doc --> | ||
72 | * <!-- end-user-doc --> | ||
73 | * @return a new object of class '<em>Collision Exists</em>'. | ||
74 | * @generated | ||
75 | */ | ||
76 | CollisionExists createCollisionExists(); | ||
77 | |||
78 | /** | ||
79 | * Returns a new object of class '<em>Collision Does Not Exist</em>'. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @return a new object of class '<em>Collision Does Not Exist</em>'. | ||
83 | * @generated | ||
84 | */ | ||
85 | CollisionDoesNotExist createCollisionDoesNotExist(); | ||
86 | |||
87 | /** | ||
88 | * Returns the package supported by this factory. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @return the package supported by this factory. | ||
92 | * @generated | ||
93 | */ | ||
94 | SimpleScenarioPackage getSimpleScenarioPackage(); | ||
95 | |||
96 | } //SimpleScenarioFactory | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenarioPackage.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenarioPackage.java new file mode 100644 index 00000000..16b3e021 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SimpleScenarioPackage.java | |||
@@ -0,0 +1,1326 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EEnum; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | import org.eclipse.emf.ecore.EReference; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * The <b>Package</b> for the model. | ||
14 | * It contains accessors for the meta objects to represent | ||
15 | * <ul> | ||
16 | * <li>each class,</li> | ||
17 | * <li>each feature of each class,</li> | ||
18 | * <li>each operation of each class,</li> | ||
19 | * <li>each enum,</li> | ||
20 | * <li>and each data type</li> | ||
21 | * </ul> | ||
22 | * <!-- end-user-doc --> | ||
23 | * @see simpleScenario.SimpleScenarioFactory | ||
24 | * @model kind="package" | ||
25 | * @generated | ||
26 | */ | ||
27 | public interface SimpleScenarioPackage extends EPackage { | ||
28 | /** | ||
29 | * The package name. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @generated | ||
33 | */ | ||
34 | String eNAME = "simpleScenario"; | ||
35 | |||
36 | /** | ||
37 | * The package namespace URI. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @generated | ||
41 | */ | ||
42 | String eNS_URI = "http://www.example.com/simpleScenario"; | ||
43 | |||
44 | /** | ||
45 | * The package namespace name. | ||
46 | * <!-- begin-user-doc --> | ||
47 | * <!-- end-user-doc --> | ||
48 | * @generated | ||
49 | */ | ||
50 | String eNS_PREFIX = "simpleScenario"; | ||
51 | |||
52 | /** | ||
53 | * The singleton instance of the package. | ||
54 | * <!-- begin-user-doc --> | ||
55 | * <!-- end-user-doc --> | ||
56 | * @generated | ||
57 | */ | ||
58 | SimpleScenarioPackage eINSTANCE = simpleScenario.impl.SimpleScenarioPackageImpl.init(); | ||
59 | |||
60 | /** | ||
61 | * The meta object id for the '{@link simpleScenario.impl.SimpleScenarioImpl <em>Simple Scenario</em>}' class. | ||
62 | * <!-- begin-user-doc --> | ||
63 | * <!-- end-user-doc --> | ||
64 | * @see simpleScenario.impl.SimpleScenarioImpl | ||
65 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSimpleScenario() | ||
66 | * @generated | ||
67 | */ | ||
68 | int SIMPLE_SCENARIO = 0; | ||
69 | |||
70 | /** | ||
71 | * The feature id for the '<em><b>XSize</b></em>' attribute. | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | * @ordered | ||
76 | */ | ||
77 | int SIMPLE_SCENARIO__XSIZE = 0; | ||
78 | |||
79 | /** | ||
80 | * The feature id for the '<em><b>YSize</b></em>' attribute. | ||
81 | * <!-- begin-user-doc --> | ||
82 | * <!-- end-user-doc --> | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | int SIMPLE_SCENARIO__YSIZE = 1; | ||
87 | |||
88 | /** | ||
89 | * The feature id for the '<em><b>Actors</b></em>' containment reference list. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | int SIMPLE_SCENARIO__ACTORS = 2; | ||
96 | |||
97 | /** | ||
98 | * The feature id for the '<em><b>Lanes</b></em>' containment reference list. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | * @ordered | ||
103 | */ | ||
104 | int SIMPLE_SCENARIO__LANES = 3; | ||
105 | |||
106 | /** | ||
107 | * The number of structural features of the '<em>Simple Scenario</em>' class. | ||
108 | * <!-- begin-user-doc --> | ||
109 | * <!-- end-user-doc --> | ||
110 | * @generated | ||
111 | * @ordered | ||
112 | */ | ||
113 | int SIMPLE_SCENARIO_FEATURE_COUNT = 4; | ||
114 | |||
115 | /** | ||
116 | * The number of operations of the '<em>Simple Scenario</em>' class. | ||
117 | * <!-- begin-user-doc --> | ||
118 | * <!-- end-user-doc --> | ||
119 | * @generated | ||
120 | * @ordered | ||
121 | */ | ||
122 | int SIMPLE_SCENARIO_OPERATION_COUNT = 0; | ||
123 | |||
124 | /** | ||
125 | * The meta object id for the '{@link simpleScenario.impl.LaneImpl <em>Lane</em>}' class. | ||
126 | * <!-- begin-user-doc --> | ||
127 | * <!-- end-user-doc --> | ||
128 | * @see simpleScenario.impl.LaneImpl | ||
129 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getLane() | ||
130 | * @generated | ||
131 | */ | ||
132 | int LANE = 1; | ||
133 | |||
134 | /** | ||
135 | * The feature id for the '<em><b>Orientation</b></em>' attribute. | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | * @ordered | ||
140 | */ | ||
141 | int LANE__ORIENTATION = 0; | ||
142 | |||
143 | /** | ||
144 | * The feature id for the '<em><b>Width</b></em>' attribute. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | * @ordered | ||
149 | */ | ||
150 | int LANE__WIDTH = 1; | ||
151 | |||
152 | /** | ||
153 | * The feature id for the '<em><b>Reference Coord</b></em>' attribute. | ||
154 | * <!-- begin-user-doc --> | ||
155 | * <!-- end-user-doc --> | ||
156 | * @generated | ||
157 | * @ordered | ||
158 | */ | ||
159 | int LANE__REFERENCE_COORD = 2; | ||
160 | |||
161 | /** | ||
162 | * The feature id for the '<em><b>Adjacent</b></em>' reference list. | ||
163 | * <!-- begin-user-doc --> | ||
164 | * <!-- end-user-doc --> | ||
165 | * @generated | ||
166 | * @ordered | ||
167 | */ | ||
168 | int LANE__ADJACENT = 3; | ||
169 | |||
170 | /** | ||
171 | * The feature id for the '<em><b>Actors</b></em>' reference list. | ||
172 | * <!-- begin-user-doc --> | ||
173 | * <!-- end-user-doc --> | ||
174 | * @generated | ||
175 | * @ordered | ||
176 | */ | ||
177 | int LANE__ACTORS = 4; | ||
178 | |||
179 | /** | ||
180 | * The feature id for the '<em><b>Width Num</b></em>' attribute. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | * @ordered | ||
185 | */ | ||
186 | int LANE__WIDTH_NUM = 5; | ||
187 | |||
188 | /** | ||
189 | * The number of structural features of the '<em>Lane</em>' class. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | * @ordered | ||
194 | */ | ||
195 | int LANE_FEATURE_COUNT = 6; | ||
196 | |||
197 | /** | ||
198 | * The number of operations of the '<em>Lane</em>' class. | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | * @ordered | ||
203 | */ | ||
204 | int LANE_OPERATION_COUNT = 0; | ||
205 | |||
206 | /** | ||
207 | * The meta object id for the '{@link simpleScenario.impl.ActorImpl <em>Actor</em>}' class. | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @see simpleScenario.impl.ActorImpl | ||
211 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getActor() | ||
212 | * @generated | ||
213 | */ | ||
214 | int ACTOR = 2; | ||
215 | |||
216 | /** | ||
217 | * The feature id for the '<em><b>Type</b></em>' attribute. | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | * @ordered | ||
222 | */ | ||
223 | int ACTOR__TYPE = 0; | ||
224 | |||
225 | /** | ||
226 | * The feature id for the '<em><b>XPos</b></em>' attribute. | ||
227 | * <!-- begin-user-doc --> | ||
228 | * <!-- end-user-doc --> | ||
229 | * @generated | ||
230 | * @ordered | ||
231 | */ | ||
232 | int ACTOR__XPOS = 1; | ||
233 | |||
234 | /** | ||
235 | * The feature id for the '<em><b>YPos</b></em>' attribute. | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | * @ordered | ||
240 | */ | ||
241 | int ACTOR__YPOS = 2; | ||
242 | |||
243 | /** | ||
244 | * The feature id for the '<em><b>Length</b></em>' attribute. | ||
245 | * <!-- begin-user-doc --> | ||
246 | * <!-- end-user-doc --> | ||
247 | * @generated | ||
248 | * @ordered | ||
249 | */ | ||
250 | int ACTOR__LENGTH = 3; | ||
251 | |||
252 | /** | ||
253 | * The feature id for the '<em><b>Width</b></em>' attribute. | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | * @ordered | ||
258 | */ | ||
259 | int ACTOR__WIDTH = 4; | ||
260 | |||
261 | /** | ||
262 | * The feature id for the '<em><b>Speed</b></em>' attribute. | ||
263 | * <!-- begin-user-doc --> | ||
264 | * <!-- end-user-doc --> | ||
265 | * @generated | ||
266 | * @ordered | ||
267 | */ | ||
268 | int ACTOR__SPEED = 5; | ||
269 | |||
270 | /** | ||
271 | * The feature id for the '<em><b>Relations</b></em>' containment reference list. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | * @ordered | ||
276 | */ | ||
277 | int ACTOR__RELATIONS = 6; | ||
278 | |||
279 | /** | ||
280 | * The feature id for the '<em><b>Placed On</b></em>' reference. | ||
281 | * <!-- begin-user-doc --> | ||
282 | * <!-- end-user-doc --> | ||
283 | * @generated | ||
284 | * @ordered | ||
285 | */ | ||
286 | int ACTOR__PLACED_ON = 7; | ||
287 | |||
288 | /** | ||
289 | * The number of structural features of the '<em>Actor</em>' class. | ||
290 | * <!-- begin-user-doc --> | ||
291 | * <!-- end-user-doc --> | ||
292 | * @generated | ||
293 | * @ordered | ||
294 | */ | ||
295 | int ACTOR_FEATURE_COUNT = 8; | ||
296 | |||
297 | /** | ||
298 | * The number of operations of the '<em>Actor</em>' class. | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | * @ordered | ||
303 | */ | ||
304 | int ACTOR_OPERATION_COUNT = 0; | ||
305 | |||
306 | /** | ||
307 | * The meta object id for the '{@link simpleScenario.impl.RelationImpl <em>Relation</em>}' class. | ||
308 | * <!-- begin-user-doc --> | ||
309 | * <!-- end-user-doc --> | ||
310 | * @see simpleScenario.impl.RelationImpl | ||
311 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getRelation() | ||
312 | * @generated | ||
313 | */ | ||
314 | int RELATION = 3; | ||
315 | |||
316 | /** | ||
317 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
318 | * <!-- begin-user-doc --> | ||
319 | * <!-- end-user-doc --> | ||
320 | * @generated | ||
321 | * @ordered | ||
322 | */ | ||
323 | int RELATION__TARGET = 0; | ||
324 | |||
325 | /** | ||
326 | * The number of structural features of the '<em>Relation</em>' class. | ||
327 | * <!-- begin-user-doc --> | ||
328 | * <!-- end-user-doc --> | ||
329 | * @generated | ||
330 | * @ordered | ||
331 | */ | ||
332 | int RELATION_FEATURE_COUNT = 1; | ||
333 | |||
334 | /** | ||
335 | * The number of operations of the '<em>Relation</em>' class. | ||
336 | * <!-- begin-user-doc --> | ||
337 | * <!-- end-user-doc --> | ||
338 | * @generated | ||
339 | * @ordered | ||
340 | */ | ||
341 | int RELATION_OPERATION_COUNT = 0; | ||
342 | |||
343 | /** | ||
344 | * The meta object id for the '{@link simpleScenario.impl.SpatialRelationImpl <em>Spatial Relation</em>}' class. | ||
345 | * <!-- begin-user-doc --> | ||
346 | * <!-- end-user-doc --> | ||
347 | * @see simpleScenario.impl.SpatialRelationImpl | ||
348 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSpatialRelation() | ||
349 | * @generated | ||
350 | */ | ||
351 | int SPATIAL_RELATION = 4; | ||
352 | |||
353 | /** | ||
354 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
355 | * <!-- begin-user-doc --> | ||
356 | * <!-- end-user-doc --> | ||
357 | * @generated | ||
358 | * @ordered | ||
359 | */ | ||
360 | int SPATIAL_RELATION__TARGET = RELATION__TARGET; | ||
361 | |||
362 | /** | ||
363 | * The number of structural features of the '<em>Spatial Relation</em>' class. | ||
364 | * <!-- begin-user-doc --> | ||
365 | * <!-- end-user-doc --> | ||
366 | * @generated | ||
367 | * @ordered | ||
368 | */ | ||
369 | int SPATIAL_RELATION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; | ||
370 | |||
371 | /** | ||
372 | * The number of operations of the '<em>Spatial Relation</em>' class. | ||
373 | * <!-- begin-user-doc --> | ||
374 | * <!-- end-user-doc --> | ||
375 | * @generated | ||
376 | * @ordered | ||
377 | */ | ||
378 | int SPATIAL_RELATION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; | ||
379 | |||
380 | /** | ||
381 | * The meta object id for the '{@link simpleScenario.impl.TemporalRelationImpl <em>Temporal Relation</em>}' class. | ||
382 | * <!-- begin-user-doc --> | ||
383 | * <!-- end-user-doc --> | ||
384 | * @see simpleScenario.impl.TemporalRelationImpl | ||
385 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getTemporalRelation() | ||
386 | * @generated | ||
387 | */ | ||
388 | int TEMPORAL_RELATION = 5; | ||
389 | |||
390 | /** | ||
391 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
392 | * <!-- begin-user-doc --> | ||
393 | * <!-- end-user-doc --> | ||
394 | * @generated | ||
395 | * @ordered | ||
396 | */ | ||
397 | int TEMPORAL_RELATION__TARGET = RELATION__TARGET; | ||
398 | |||
399 | /** | ||
400 | * The number of structural features of the '<em>Temporal Relation</em>' class. | ||
401 | * <!-- begin-user-doc --> | ||
402 | * <!-- end-user-doc --> | ||
403 | * @generated | ||
404 | * @ordered | ||
405 | */ | ||
406 | int TEMPORAL_RELATION_FEATURE_COUNT = RELATION_FEATURE_COUNT + 0; | ||
407 | |||
408 | /** | ||
409 | * The number of operations of the '<em>Temporal Relation</em>' class. | ||
410 | * <!-- begin-user-doc --> | ||
411 | * <!-- end-user-doc --> | ||
412 | * @generated | ||
413 | * @ordered | ||
414 | */ | ||
415 | int TEMPORAL_RELATION_OPERATION_COUNT = RELATION_OPERATION_COUNT + 0; | ||
416 | |||
417 | /** | ||
418 | * The meta object id for the '{@link simpleScenario.impl.VisionBlockedImpl <em>Vision Blocked</em>}' class. | ||
419 | * <!-- begin-user-doc --> | ||
420 | * <!-- end-user-doc --> | ||
421 | * @see simpleScenario.impl.VisionBlockedImpl | ||
422 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getVisionBlocked() | ||
423 | * @generated | ||
424 | */ | ||
425 | int VISION_BLOCKED = 6; | ||
426 | |||
427 | /** | ||
428 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
429 | * <!-- begin-user-doc --> | ||
430 | * <!-- end-user-doc --> | ||
431 | * @generated | ||
432 | * @ordered | ||
433 | */ | ||
434 | int VISION_BLOCKED__TARGET = SPATIAL_RELATION__TARGET; | ||
435 | |||
436 | /** | ||
437 | * The feature id for the '<em><b>Blocked By</b></em>' reference. | ||
438 | * <!-- begin-user-doc --> | ||
439 | * <!-- end-user-doc --> | ||
440 | * @generated | ||
441 | * @ordered | ||
442 | */ | ||
443 | int VISION_BLOCKED__BLOCKED_BY = SPATIAL_RELATION_FEATURE_COUNT + 0; | ||
444 | |||
445 | /** | ||
446 | * The number of structural features of the '<em>Vision Blocked</em>' class. | ||
447 | * <!-- begin-user-doc --> | ||
448 | * <!-- end-user-doc --> | ||
449 | * @generated | ||
450 | * @ordered | ||
451 | */ | ||
452 | int VISION_BLOCKED_FEATURE_COUNT = SPATIAL_RELATION_FEATURE_COUNT + 1; | ||
453 | |||
454 | /** | ||
455 | * The number of operations of the '<em>Vision Blocked</em>' class. | ||
456 | * <!-- begin-user-doc --> | ||
457 | * <!-- end-user-doc --> | ||
458 | * @generated | ||
459 | * @ordered | ||
460 | */ | ||
461 | int VISION_BLOCKED_OPERATION_COUNT = SPATIAL_RELATION_OPERATION_COUNT + 0; | ||
462 | |||
463 | /** | ||
464 | * The meta object id for the '{@link simpleScenario.impl.SeperationDistanceImpl <em>Seperation Distance</em>}' class. | ||
465 | * <!-- begin-user-doc --> | ||
466 | * <!-- end-user-doc --> | ||
467 | * @see simpleScenario.impl.SeperationDistanceImpl | ||
468 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSeperationDistance() | ||
469 | * @generated | ||
470 | */ | ||
471 | int SEPERATION_DISTANCE = 7; | ||
472 | |||
473 | /** | ||
474 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
475 | * <!-- begin-user-doc --> | ||
476 | * <!-- end-user-doc --> | ||
477 | * @generated | ||
478 | * @ordered | ||
479 | */ | ||
480 | int SEPERATION_DISTANCE__TARGET = SPATIAL_RELATION__TARGET; | ||
481 | |||
482 | /** | ||
483 | * The feature id for the '<em><b>Distance</b></em>' attribute. | ||
484 | * <!-- begin-user-doc --> | ||
485 | * <!-- end-user-doc --> | ||
486 | * @generated | ||
487 | * @ordered | ||
488 | */ | ||
489 | int SEPERATION_DISTANCE__DISTANCE = SPATIAL_RELATION_FEATURE_COUNT + 0; | ||
490 | |||
491 | /** | ||
492 | * The number of structural features of the '<em>Seperation Distance</em>' class. | ||
493 | * <!-- begin-user-doc --> | ||
494 | * <!-- end-user-doc --> | ||
495 | * @generated | ||
496 | * @ordered | ||
497 | */ | ||
498 | int SEPERATION_DISTANCE_FEATURE_COUNT = SPATIAL_RELATION_FEATURE_COUNT + 1; | ||
499 | |||
500 | /** | ||
501 | * The number of operations of the '<em>Seperation Distance</em>' class. | ||
502 | * <!-- begin-user-doc --> | ||
503 | * <!-- end-user-doc --> | ||
504 | * @generated | ||
505 | * @ordered | ||
506 | */ | ||
507 | int SEPERATION_DISTANCE_OPERATION_COUNT = SPATIAL_RELATION_OPERATION_COUNT + 0; | ||
508 | |||
509 | /** | ||
510 | * The meta object id for the '{@link simpleScenario.impl.CollisionExistsImpl <em>Collision Exists</em>}' class. | ||
511 | * <!-- begin-user-doc --> | ||
512 | * <!-- end-user-doc --> | ||
513 | * @see simpleScenario.impl.CollisionExistsImpl | ||
514 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getCollisionExists() | ||
515 | * @generated | ||
516 | */ | ||
517 | int COLLISION_EXISTS = 8; | ||
518 | |||
519 | /** | ||
520 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
521 | * <!-- begin-user-doc --> | ||
522 | * <!-- end-user-doc --> | ||
523 | * @generated | ||
524 | * @ordered | ||
525 | */ | ||
526 | int COLLISION_EXISTS__TARGET = TEMPORAL_RELATION__TARGET; | ||
527 | |||
528 | /** | ||
529 | * The feature id for the '<em><b>Collision Time</b></em>' attribute. | ||
530 | * <!-- begin-user-doc --> | ||
531 | * <!-- end-user-doc --> | ||
532 | * @generated | ||
533 | * @ordered | ||
534 | */ | ||
535 | int COLLISION_EXISTS__COLLISION_TIME = TEMPORAL_RELATION_FEATURE_COUNT + 0; | ||
536 | |||
537 | /** | ||
538 | * The number of structural features of the '<em>Collision Exists</em>' class. | ||
539 | * <!-- begin-user-doc --> | ||
540 | * <!-- end-user-doc --> | ||
541 | * @generated | ||
542 | * @ordered | ||
543 | */ | ||
544 | int COLLISION_EXISTS_FEATURE_COUNT = TEMPORAL_RELATION_FEATURE_COUNT + 1; | ||
545 | |||
546 | /** | ||
547 | * The number of operations of the '<em>Collision Exists</em>' class. | ||
548 | * <!-- begin-user-doc --> | ||
549 | * <!-- end-user-doc --> | ||
550 | * @generated | ||
551 | * @ordered | ||
552 | */ | ||
553 | int COLLISION_EXISTS_OPERATION_COUNT = TEMPORAL_RELATION_OPERATION_COUNT + 0; | ||
554 | |||
555 | /** | ||
556 | * The meta object id for the '{@link simpleScenario.impl.CollisionDoesNotExistImpl <em>Collision Does Not Exist</em>}' class. | ||
557 | * <!-- begin-user-doc --> | ||
558 | * <!-- end-user-doc --> | ||
559 | * @see simpleScenario.impl.CollisionDoesNotExistImpl | ||
560 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getCollisionDoesNotExist() | ||
561 | * @generated | ||
562 | */ | ||
563 | int COLLISION_DOES_NOT_EXIST = 9; | ||
564 | |||
565 | /** | ||
566 | * The feature id for the '<em><b>Target</b></em>' reference. | ||
567 | * <!-- begin-user-doc --> | ||
568 | * <!-- end-user-doc --> | ||
569 | * @generated | ||
570 | * @ordered | ||
571 | */ | ||
572 | int COLLISION_DOES_NOT_EXIST__TARGET = TEMPORAL_RELATION__TARGET; | ||
573 | |||
574 | /** | ||
575 | * The number of structural features of the '<em>Collision Does Not Exist</em>' class. | ||
576 | * <!-- begin-user-doc --> | ||
577 | * <!-- end-user-doc --> | ||
578 | * @generated | ||
579 | * @ordered | ||
580 | */ | ||
581 | int COLLISION_DOES_NOT_EXIST_FEATURE_COUNT = TEMPORAL_RELATION_FEATURE_COUNT + 0; | ||
582 | |||
583 | /** | ||
584 | * The number of operations of the '<em>Collision Does Not Exist</em>' class. | ||
585 | * <!-- begin-user-doc --> | ||
586 | * <!-- end-user-doc --> | ||
587 | * @generated | ||
588 | * @ordered | ||
589 | */ | ||
590 | int COLLISION_DOES_NOT_EXIST_OPERATION_COUNT = TEMPORAL_RELATION_OPERATION_COUNT + 0; | ||
591 | |||
592 | /** | ||
593 | * The meta object id for the '{@link simpleScenario.Orientation <em>Orientation</em>}' enum. | ||
594 | * <!-- begin-user-doc --> | ||
595 | * <!-- end-user-doc --> | ||
596 | * @see simpleScenario.Orientation | ||
597 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getOrientation() | ||
598 | * @generated | ||
599 | */ | ||
600 | int ORIENTATION = 10; | ||
601 | |||
602 | /** | ||
603 | * The meta object id for the '{@link simpleScenario.Size <em>Size</em>}' enum. | ||
604 | * <!-- begin-user-doc --> | ||
605 | * <!-- end-user-doc --> | ||
606 | * @see simpleScenario.Size | ||
607 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSize() | ||
608 | * @generated | ||
609 | */ | ||
610 | int SIZE = 11; | ||
611 | |||
612 | /** | ||
613 | * The meta object id for the '{@link simpleScenario.ActorType <em>Actor Type</em>}' enum. | ||
614 | * <!-- begin-user-doc --> | ||
615 | * <!-- end-user-doc --> | ||
616 | * @see simpleScenario.ActorType | ||
617 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getActorType() | ||
618 | * @generated | ||
619 | */ | ||
620 | int ACTOR_TYPE = 12; | ||
621 | |||
622 | |||
623 | /** | ||
624 | * Returns the meta object for class '{@link simpleScenario.SimpleScenario <em>Simple Scenario</em>}'. | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @return the meta object for class '<em>Simple Scenario</em>'. | ||
628 | * @see simpleScenario.SimpleScenario | ||
629 | * @generated | ||
630 | */ | ||
631 | EClass getSimpleScenario(); | ||
632 | |||
633 | /** | ||
634 | * Returns the meta object for the attribute '{@link simpleScenario.SimpleScenario#getXSize <em>XSize</em>}'. | ||
635 | * <!-- begin-user-doc --> | ||
636 | * <!-- end-user-doc --> | ||
637 | * @return the meta object for the attribute '<em>XSize</em>'. | ||
638 | * @see simpleScenario.SimpleScenario#getXSize() | ||
639 | * @see #getSimpleScenario() | ||
640 | * @generated | ||
641 | */ | ||
642 | EAttribute getSimpleScenario_XSize(); | ||
643 | |||
644 | /** | ||
645 | * Returns the meta object for the attribute '{@link simpleScenario.SimpleScenario#getYSize <em>YSize</em>}'. | ||
646 | * <!-- begin-user-doc --> | ||
647 | * <!-- end-user-doc --> | ||
648 | * @return the meta object for the attribute '<em>YSize</em>'. | ||
649 | * @see simpleScenario.SimpleScenario#getYSize() | ||
650 | * @see #getSimpleScenario() | ||
651 | * @generated | ||
652 | */ | ||
653 | EAttribute getSimpleScenario_YSize(); | ||
654 | |||
655 | /** | ||
656 | * Returns the meta object for the containment reference list '{@link simpleScenario.SimpleScenario#getActors <em>Actors</em>}'. | ||
657 | * <!-- begin-user-doc --> | ||
658 | * <!-- end-user-doc --> | ||
659 | * @return the meta object for the containment reference list '<em>Actors</em>'. | ||
660 | * @see simpleScenario.SimpleScenario#getActors() | ||
661 | * @see #getSimpleScenario() | ||
662 | * @generated | ||
663 | */ | ||
664 | EReference getSimpleScenario_Actors(); | ||
665 | |||
666 | /** | ||
667 | * Returns the meta object for the containment reference list '{@link simpleScenario.SimpleScenario#getLanes <em>Lanes</em>}'. | ||
668 | * <!-- begin-user-doc --> | ||
669 | * <!-- end-user-doc --> | ||
670 | * @return the meta object for the containment reference list '<em>Lanes</em>'. | ||
671 | * @see simpleScenario.SimpleScenario#getLanes() | ||
672 | * @see #getSimpleScenario() | ||
673 | * @generated | ||
674 | */ | ||
675 | EReference getSimpleScenario_Lanes(); | ||
676 | |||
677 | /** | ||
678 | * Returns the meta object for class '{@link simpleScenario.Lane <em>Lane</em>}'. | ||
679 | * <!-- begin-user-doc --> | ||
680 | * <!-- end-user-doc --> | ||
681 | * @return the meta object for class '<em>Lane</em>'. | ||
682 | * @see simpleScenario.Lane | ||
683 | * @generated | ||
684 | */ | ||
685 | EClass getLane(); | ||
686 | |||
687 | /** | ||
688 | * Returns the meta object for the attribute '{@link simpleScenario.Lane#getOrientation <em>Orientation</em>}'. | ||
689 | * <!-- begin-user-doc --> | ||
690 | * <!-- end-user-doc --> | ||
691 | * @return the meta object for the attribute '<em>Orientation</em>'. | ||
692 | * @see simpleScenario.Lane#getOrientation() | ||
693 | * @see #getLane() | ||
694 | * @generated | ||
695 | */ | ||
696 | EAttribute getLane_Orientation(); | ||
697 | |||
698 | /** | ||
699 | * Returns the meta object for the attribute '{@link simpleScenario.Lane#getWidth <em>Width</em>}'. | ||
700 | * <!-- begin-user-doc --> | ||
701 | * <!-- end-user-doc --> | ||
702 | * @return the meta object for the attribute '<em>Width</em>'. | ||
703 | * @see simpleScenario.Lane#getWidth() | ||
704 | * @see #getLane() | ||
705 | * @generated | ||
706 | */ | ||
707 | EAttribute getLane_Width(); | ||
708 | |||
709 | /** | ||
710 | * Returns the meta object for the attribute '{@link simpleScenario.Lane#getReferenceCoord <em>Reference Coord</em>}'. | ||
711 | * <!-- begin-user-doc --> | ||
712 | * <!-- end-user-doc --> | ||
713 | * @return the meta object for the attribute '<em>Reference Coord</em>'. | ||
714 | * @see simpleScenario.Lane#getReferenceCoord() | ||
715 | * @see #getLane() | ||
716 | * @generated | ||
717 | */ | ||
718 | EAttribute getLane_ReferenceCoord(); | ||
719 | |||
720 | /** | ||
721 | * Returns the meta object for the reference list '{@link simpleScenario.Lane#getAdjacent <em>Adjacent</em>}'. | ||
722 | * <!-- begin-user-doc --> | ||
723 | * <!-- end-user-doc --> | ||
724 | * @return the meta object for the reference list '<em>Adjacent</em>'. | ||
725 | * @see simpleScenario.Lane#getAdjacent() | ||
726 | * @see #getLane() | ||
727 | * @generated | ||
728 | */ | ||
729 | EReference getLane_Adjacent(); | ||
730 | |||
731 | /** | ||
732 | * Returns the meta object for the reference list '{@link simpleScenario.Lane#getActors <em>Actors</em>}'. | ||
733 | * <!-- begin-user-doc --> | ||
734 | * <!-- end-user-doc --> | ||
735 | * @return the meta object for the reference list '<em>Actors</em>'. | ||
736 | * @see simpleScenario.Lane#getActors() | ||
737 | * @see #getLane() | ||
738 | * @generated | ||
739 | */ | ||
740 | EReference getLane_Actors(); | ||
741 | |||
742 | /** | ||
743 | * Returns the meta object for the attribute '{@link simpleScenario.Lane#getWidthNum <em>Width Num</em>}'. | ||
744 | * <!-- begin-user-doc --> | ||
745 | * <!-- end-user-doc --> | ||
746 | * @return the meta object for the attribute '<em>Width Num</em>'. | ||
747 | * @see simpleScenario.Lane#getWidthNum() | ||
748 | * @see #getLane() | ||
749 | * @generated | ||
750 | */ | ||
751 | EAttribute getLane_WidthNum(); | ||
752 | |||
753 | /** | ||
754 | * Returns the meta object for class '{@link simpleScenario.Actor <em>Actor</em>}'. | ||
755 | * <!-- begin-user-doc --> | ||
756 | * <!-- end-user-doc --> | ||
757 | * @return the meta object for class '<em>Actor</em>'. | ||
758 | * @see simpleScenario.Actor | ||
759 | * @generated | ||
760 | */ | ||
761 | EClass getActor(); | ||
762 | |||
763 | /** | ||
764 | * Returns the meta object for the attribute '{@link simpleScenario.Actor#getType <em>Type</em>}'. | ||
765 | * <!-- begin-user-doc --> | ||
766 | * <!-- end-user-doc --> | ||
767 | * @return the meta object for the attribute '<em>Type</em>'. | ||
768 | * @see simpleScenario.Actor#getType() | ||
769 | * @see #getActor() | ||
770 | * @generated | ||
771 | */ | ||
772 | EAttribute getActor_Type(); | ||
773 | |||
774 | /** | ||
775 | * Returns the meta object for the attribute '{@link simpleScenario.Actor#getXPos <em>XPos</em>}'. | ||
776 | * <!-- begin-user-doc --> | ||
777 | * <!-- end-user-doc --> | ||
778 | * @return the meta object for the attribute '<em>XPos</em>'. | ||
779 | * @see simpleScenario.Actor#getXPos() | ||
780 | * @see #getActor() | ||
781 | * @generated | ||
782 | */ | ||
783 | EAttribute getActor_XPos(); | ||
784 | |||
785 | /** | ||
786 | * Returns the meta object for the attribute '{@link simpleScenario.Actor#getYPos <em>YPos</em>}'. | ||
787 | * <!-- begin-user-doc --> | ||
788 | * <!-- end-user-doc --> | ||
789 | * @return the meta object for the attribute '<em>YPos</em>'. | ||
790 | * @see simpleScenario.Actor#getYPos() | ||
791 | * @see #getActor() | ||
792 | * @generated | ||
793 | */ | ||
794 | EAttribute getActor_YPos(); | ||
795 | |||
796 | /** | ||
797 | * Returns the meta object for the attribute '{@link simpleScenario.Actor#getLength <em>Length</em>}'. | ||
798 | * <!-- begin-user-doc --> | ||
799 | * <!-- end-user-doc --> | ||
800 | * @return the meta object for the attribute '<em>Length</em>'. | ||
801 | * @see simpleScenario.Actor#getLength() | ||
802 | * @see #getActor() | ||
803 | * @generated | ||
804 | */ | ||
805 | EAttribute getActor_Length(); | ||
806 | |||
807 | /** | ||
808 | * Returns the meta object for the attribute '{@link simpleScenario.Actor#getWidth <em>Width</em>}'. | ||
809 | * <!-- begin-user-doc --> | ||
810 | * <!-- end-user-doc --> | ||
811 | * @return the meta object for the attribute '<em>Width</em>'. | ||
812 | * @see simpleScenario.Actor#getWidth() | ||
813 | * @see #getActor() | ||
814 | * @generated | ||
815 | */ | ||
816 | EAttribute getActor_Width(); | ||
817 | |||
818 | /** | ||
819 | * Returns the meta object for the attribute '{@link simpleScenario.Actor#getSpeed <em>Speed</em>}'. | ||
820 | * <!-- begin-user-doc --> | ||
821 | * <!-- end-user-doc --> | ||
822 | * @return the meta object for the attribute '<em>Speed</em>'. | ||
823 | * @see simpleScenario.Actor#getSpeed() | ||
824 | * @see #getActor() | ||
825 | * @generated | ||
826 | */ | ||
827 | EAttribute getActor_Speed(); | ||
828 | |||
829 | /** | ||
830 | * Returns the meta object for the containment reference list '{@link simpleScenario.Actor#getRelations <em>Relations</em>}'. | ||
831 | * <!-- begin-user-doc --> | ||
832 | * <!-- end-user-doc --> | ||
833 | * @return the meta object for the containment reference list '<em>Relations</em>'. | ||
834 | * @see simpleScenario.Actor#getRelations() | ||
835 | * @see #getActor() | ||
836 | * @generated | ||
837 | */ | ||
838 | EReference getActor_Relations(); | ||
839 | |||
840 | /** | ||
841 | * Returns the meta object for the reference '{@link simpleScenario.Actor#getPlacedOn <em>Placed On</em>}'. | ||
842 | * <!-- begin-user-doc --> | ||
843 | * <!-- end-user-doc --> | ||
844 | * @return the meta object for the reference '<em>Placed On</em>'. | ||
845 | * @see simpleScenario.Actor#getPlacedOn() | ||
846 | * @see #getActor() | ||
847 | * @generated | ||
848 | */ | ||
849 | EReference getActor_PlacedOn(); | ||
850 | |||
851 | /** | ||
852 | * Returns the meta object for class '{@link simpleScenario.Relation <em>Relation</em>}'. | ||
853 | * <!-- begin-user-doc --> | ||
854 | * <!-- end-user-doc --> | ||
855 | * @return the meta object for class '<em>Relation</em>'. | ||
856 | * @see simpleScenario.Relation | ||
857 | * @generated | ||
858 | */ | ||
859 | EClass getRelation(); | ||
860 | |||
861 | /** | ||
862 | * Returns the meta object for the reference '{@link simpleScenario.Relation#getTarget <em>Target</em>}'. | ||
863 | * <!-- begin-user-doc --> | ||
864 | * <!-- end-user-doc --> | ||
865 | * @return the meta object for the reference '<em>Target</em>'. | ||
866 | * @see simpleScenario.Relation#getTarget() | ||
867 | * @see #getRelation() | ||
868 | * @generated | ||
869 | */ | ||
870 | EReference getRelation_Target(); | ||
871 | |||
872 | /** | ||
873 | * Returns the meta object for class '{@link simpleScenario.SpatialRelation <em>Spatial Relation</em>}'. | ||
874 | * <!-- begin-user-doc --> | ||
875 | * <!-- end-user-doc --> | ||
876 | * @return the meta object for class '<em>Spatial Relation</em>'. | ||
877 | * @see simpleScenario.SpatialRelation | ||
878 | * @generated | ||
879 | */ | ||
880 | EClass getSpatialRelation(); | ||
881 | |||
882 | /** | ||
883 | * Returns the meta object for class '{@link simpleScenario.TemporalRelation <em>Temporal Relation</em>}'. | ||
884 | * <!-- begin-user-doc --> | ||
885 | * <!-- end-user-doc --> | ||
886 | * @return the meta object for class '<em>Temporal Relation</em>'. | ||
887 | * @see simpleScenario.TemporalRelation | ||
888 | * @generated | ||
889 | */ | ||
890 | EClass getTemporalRelation(); | ||
891 | |||
892 | /** | ||
893 | * Returns the meta object for class '{@link simpleScenario.VisionBlocked <em>Vision Blocked</em>}'. | ||
894 | * <!-- begin-user-doc --> | ||
895 | * <!-- end-user-doc --> | ||
896 | * @return the meta object for class '<em>Vision Blocked</em>'. | ||
897 | * @see simpleScenario.VisionBlocked | ||
898 | * @generated | ||
899 | */ | ||
900 | EClass getVisionBlocked(); | ||
901 | |||
902 | /** | ||
903 | * Returns the meta object for the reference '{@link simpleScenario.VisionBlocked#getBlockedBy <em>Blocked By</em>}'. | ||
904 | * <!-- begin-user-doc --> | ||
905 | * <!-- end-user-doc --> | ||
906 | * @return the meta object for the reference '<em>Blocked By</em>'. | ||
907 | * @see simpleScenario.VisionBlocked#getBlockedBy() | ||
908 | * @see #getVisionBlocked() | ||
909 | * @generated | ||
910 | */ | ||
911 | EReference getVisionBlocked_BlockedBy(); | ||
912 | |||
913 | /** | ||
914 | * Returns the meta object for class '{@link simpleScenario.SeperationDistance <em>Seperation Distance</em>}'. | ||
915 | * <!-- begin-user-doc --> | ||
916 | * <!-- end-user-doc --> | ||
917 | * @return the meta object for class '<em>Seperation Distance</em>'. | ||
918 | * @see simpleScenario.SeperationDistance | ||
919 | * @generated | ||
920 | */ | ||
921 | EClass getSeperationDistance(); | ||
922 | |||
923 | /** | ||
924 | * Returns the meta object for the attribute '{@link simpleScenario.SeperationDistance#getDistance <em>Distance</em>}'. | ||
925 | * <!-- begin-user-doc --> | ||
926 | * <!-- end-user-doc --> | ||
927 | * @return the meta object for the attribute '<em>Distance</em>'. | ||
928 | * @see simpleScenario.SeperationDistance#getDistance() | ||
929 | * @see #getSeperationDistance() | ||
930 | * @generated | ||
931 | */ | ||
932 | EAttribute getSeperationDistance_Distance(); | ||
933 | |||
934 | /** | ||
935 | * Returns the meta object for class '{@link simpleScenario.CollisionExists <em>Collision Exists</em>}'. | ||
936 | * <!-- begin-user-doc --> | ||
937 | * <!-- end-user-doc --> | ||
938 | * @return the meta object for class '<em>Collision Exists</em>'. | ||
939 | * @see simpleScenario.CollisionExists | ||
940 | * @generated | ||
941 | */ | ||
942 | EClass getCollisionExists(); | ||
943 | |||
944 | /** | ||
945 | * Returns the meta object for the attribute '{@link simpleScenario.CollisionExists#getCollisionTime <em>Collision Time</em>}'. | ||
946 | * <!-- begin-user-doc --> | ||
947 | * <!-- end-user-doc --> | ||
948 | * @return the meta object for the attribute '<em>Collision Time</em>'. | ||
949 | * @see simpleScenario.CollisionExists#getCollisionTime() | ||
950 | * @see #getCollisionExists() | ||
951 | * @generated | ||
952 | */ | ||
953 | EAttribute getCollisionExists_CollisionTime(); | ||
954 | |||
955 | /** | ||
956 | * Returns the meta object for class '{@link simpleScenario.CollisionDoesNotExist <em>Collision Does Not Exist</em>}'. | ||
957 | * <!-- begin-user-doc --> | ||
958 | * <!-- end-user-doc --> | ||
959 | * @return the meta object for class '<em>Collision Does Not Exist</em>'. | ||
960 | * @see simpleScenario.CollisionDoesNotExist | ||
961 | * @generated | ||
962 | */ | ||
963 | EClass getCollisionDoesNotExist(); | ||
964 | |||
965 | /** | ||
966 | * Returns the meta object for enum '{@link simpleScenario.Orientation <em>Orientation</em>}'. | ||
967 | * <!-- begin-user-doc --> | ||
968 | * <!-- end-user-doc --> | ||
969 | * @return the meta object for enum '<em>Orientation</em>'. | ||
970 | * @see simpleScenario.Orientation | ||
971 | * @generated | ||
972 | */ | ||
973 | EEnum getOrientation(); | ||
974 | |||
975 | /** | ||
976 | * Returns the meta object for enum '{@link simpleScenario.Size <em>Size</em>}'. | ||
977 | * <!-- begin-user-doc --> | ||
978 | * <!-- end-user-doc --> | ||
979 | * @return the meta object for enum '<em>Size</em>'. | ||
980 | * @see simpleScenario.Size | ||
981 | * @generated | ||
982 | */ | ||
983 | EEnum getSize(); | ||
984 | |||
985 | /** | ||
986 | * Returns the meta object for enum '{@link simpleScenario.ActorType <em>Actor Type</em>}'. | ||
987 | * <!-- begin-user-doc --> | ||
988 | * <!-- end-user-doc --> | ||
989 | * @return the meta object for enum '<em>Actor Type</em>'. | ||
990 | * @see simpleScenario.ActorType | ||
991 | * @generated | ||
992 | */ | ||
993 | EEnum getActorType(); | ||
994 | |||
995 | /** | ||
996 | * Returns the factory that creates the instances of the model. | ||
997 | * <!-- begin-user-doc --> | ||
998 | * <!-- end-user-doc --> | ||
999 | * @return the factory that creates the instances of the model. | ||
1000 | * @generated | ||
1001 | */ | ||
1002 | SimpleScenarioFactory getSimpleScenarioFactory(); | ||
1003 | |||
1004 | /** | ||
1005 | * <!-- begin-user-doc --> | ||
1006 | * Defines literals for the meta objects that represent | ||
1007 | * <ul> | ||
1008 | * <li>each class,</li> | ||
1009 | * <li>each feature of each class,</li> | ||
1010 | * <li>each operation of each class,</li> | ||
1011 | * <li>each enum,</li> | ||
1012 | * <li>and each data type</li> | ||
1013 | * </ul> | ||
1014 | * <!-- end-user-doc --> | ||
1015 | * @generated | ||
1016 | */ | ||
1017 | interface Literals { | ||
1018 | /** | ||
1019 | * The meta object literal for the '{@link simpleScenario.impl.SimpleScenarioImpl <em>Simple Scenario</em>}' class. | ||
1020 | * <!-- begin-user-doc --> | ||
1021 | * <!-- end-user-doc --> | ||
1022 | * @see simpleScenario.impl.SimpleScenarioImpl | ||
1023 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSimpleScenario() | ||
1024 | * @generated | ||
1025 | */ | ||
1026 | EClass SIMPLE_SCENARIO = eINSTANCE.getSimpleScenario(); | ||
1027 | |||
1028 | /** | ||
1029 | * The meta object literal for the '<em><b>XSize</b></em>' attribute feature. | ||
1030 | * <!-- begin-user-doc --> | ||
1031 | * <!-- end-user-doc --> | ||
1032 | * @generated | ||
1033 | */ | ||
1034 | EAttribute SIMPLE_SCENARIO__XSIZE = eINSTANCE.getSimpleScenario_XSize(); | ||
1035 | |||
1036 | /** | ||
1037 | * The meta object literal for the '<em><b>YSize</b></em>' attribute feature. | ||
1038 | * <!-- begin-user-doc --> | ||
1039 | * <!-- end-user-doc --> | ||
1040 | * @generated | ||
1041 | */ | ||
1042 | EAttribute SIMPLE_SCENARIO__YSIZE = eINSTANCE.getSimpleScenario_YSize(); | ||
1043 | |||
1044 | /** | ||
1045 | * The meta object literal for the '<em><b>Actors</b></em>' containment reference list feature. | ||
1046 | * <!-- begin-user-doc --> | ||
1047 | * <!-- end-user-doc --> | ||
1048 | * @generated | ||
1049 | */ | ||
1050 | EReference SIMPLE_SCENARIO__ACTORS = eINSTANCE.getSimpleScenario_Actors(); | ||
1051 | |||
1052 | /** | ||
1053 | * The meta object literal for the '<em><b>Lanes</b></em>' containment reference list feature. | ||
1054 | * <!-- begin-user-doc --> | ||
1055 | * <!-- end-user-doc --> | ||
1056 | * @generated | ||
1057 | */ | ||
1058 | EReference SIMPLE_SCENARIO__LANES = eINSTANCE.getSimpleScenario_Lanes(); | ||
1059 | |||
1060 | /** | ||
1061 | * The meta object literal for the '{@link simpleScenario.impl.LaneImpl <em>Lane</em>}' class. | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @see simpleScenario.impl.LaneImpl | ||
1065 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getLane() | ||
1066 | * @generated | ||
1067 | */ | ||
1068 | EClass LANE = eINSTANCE.getLane(); | ||
1069 | |||
1070 | /** | ||
1071 | * The meta object literal for the '<em><b>Orientation</b></em>' attribute feature. | ||
1072 | * <!-- begin-user-doc --> | ||
1073 | * <!-- end-user-doc --> | ||
1074 | * @generated | ||
1075 | */ | ||
1076 | EAttribute LANE__ORIENTATION = eINSTANCE.getLane_Orientation(); | ||
1077 | |||
1078 | /** | ||
1079 | * The meta object literal for the '<em><b>Width</b></em>' attribute feature. | ||
1080 | * <!-- begin-user-doc --> | ||
1081 | * <!-- end-user-doc --> | ||
1082 | * @generated | ||
1083 | */ | ||
1084 | EAttribute LANE__WIDTH = eINSTANCE.getLane_Width(); | ||
1085 | |||
1086 | /** | ||
1087 | * The meta object literal for the '<em><b>Reference Coord</b></em>' attribute feature. | ||
1088 | * <!-- begin-user-doc --> | ||
1089 | * <!-- end-user-doc --> | ||
1090 | * @generated | ||
1091 | */ | ||
1092 | EAttribute LANE__REFERENCE_COORD = eINSTANCE.getLane_ReferenceCoord(); | ||
1093 | |||
1094 | /** | ||
1095 | * The meta object literal for the '<em><b>Adjacent</b></em>' reference list feature. | ||
1096 | * <!-- begin-user-doc --> | ||
1097 | * <!-- end-user-doc --> | ||
1098 | * @generated | ||
1099 | */ | ||
1100 | EReference LANE__ADJACENT = eINSTANCE.getLane_Adjacent(); | ||
1101 | |||
1102 | /** | ||
1103 | * The meta object literal for the '<em><b>Actors</b></em>' reference list feature. | ||
1104 | * <!-- begin-user-doc --> | ||
1105 | * <!-- end-user-doc --> | ||
1106 | * @generated | ||
1107 | */ | ||
1108 | EReference LANE__ACTORS = eINSTANCE.getLane_Actors(); | ||
1109 | |||
1110 | /** | ||
1111 | * The meta object literal for the '<em><b>Width Num</b></em>' attribute feature. | ||
1112 | * <!-- begin-user-doc --> | ||
1113 | * <!-- end-user-doc --> | ||
1114 | * @generated | ||
1115 | */ | ||
1116 | EAttribute LANE__WIDTH_NUM = eINSTANCE.getLane_WidthNum(); | ||
1117 | |||
1118 | /** | ||
1119 | * The meta object literal for the '{@link simpleScenario.impl.ActorImpl <em>Actor</em>}' class. | ||
1120 | * <!-- begin-user-doc --> | ||
1121 | * <!-- end-user-doc --> | ||
1122 | * @see simpleScenario.impl.ActorImpl | ||
1123 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getActor() | ||
1124 | * @generated | ||
1125 | */ | ||
1126 | EClass ACTOR = eINSTANCE.getActor(); | ||
1127 | |||
1128 | /** | ||
1129 | * The meta object literal for the '<em><b>Type</b></em>' attribute feature. | ||
1130 | * <!-- begin-user-doc --> | ||
1131 | * <!-- end-user-doc --> | ||
1132 | * @generated | ||
1133 | */ | ||
1134 | EAttribute ACTOR__TYPE = eINSTANCE.getActor_Type(); | ||
1135 | |||
1136 | /** | ||
1137 | * The meta object literal for the '<em><b>XPos</b></em>' attribute feature. | ||
1138 | * <!-- begin-user-doc --> | ||
1139 | * <!-- end-user-doc --> | ||
1140 | * @generated | ||
1141 | */ | ||
1142 | EAttribute ACTOR__XPOS = eINSTANCE.getActor_XPos(); | ||
1143 | |||
1144 | /** | ||
1145 | * The meta object literal for the '<em><b>YPos</b></em>' attribute feature. | ||
1146 | * <!-- begin-user-doc --> | ||
1147 | * <!-- end-user-doc --> | ||
1148 | * @generated | ||
1149 | */ | ||
1150 | EAttribute ACTOR__YPOS = eINSTANCE.getActor_YPos(); | ||
1151 | |||
1152 | /** | ||
1153 | * The meta object literal for the '<em><b>Length</b></em>' attribute feature. | ||
1154 | * <!-- begin-user-doc --> | ||
1155 | * <!-- end-user-doc --> | ||
1156 | * @generated | ||
1157 | */ | ||
1158 | EAttribute ACTOR__LENGTH = eINSTANCE.getActor_Length(); | ||
1159 | |||
1160 | /** | ||
1161 | * The meta object literal for the '<em><b>Width</b></em>' attribute feature. | ||
1162 | * <!-- begin-user-doc --> | ||
1163 | * <!-- end-user-doc --> | ||
1164 | * @generated | ||
1165 | */ | ||
1166 | EAttribute ACTOR__WIDTH = eINSTANCE.getActor_Width(); | ||
1167 | |||
1168 | /** | ||
1169 | * The meta object literal for the '<em><b>Speed</b></em>' attribute feature. | ||
1170 | * <!-- begin-user-doc --> | ||
1171 | * <!-- end-user-doc --> | ||
1172 | * @generated | ||
1173 | */ | ||
1174 | EAttribute ACTOR__SPEED = eINSTANCE.getActor_Speed(); | ||
1175 | |||
1176 | /** | ||
1177 | * The meta object literal for the '<em><b>Relations</b></em>' containment reference list feature. | ||
1178 | * <!-- begin-user-doc --> | ||
1179 | * <!-- end-user-doc --> | ||
1180 | * @generated | ||
1181 | */ | ||
1182 | EReference ACTOR__RELATIONS = eINSTANCE.getActor_Relations(); | ||
1183 | |||
1184 | /** | ||
1185 | * The meta object literal for the '<em><b>Placed On</b></em>' reference feature. | ||
1186 | * <!-- begin-user-doc --> | ||
1187 | * <!-- end-user-doc --> | ||
1188 | * @generated | ||
1189 | */ | ||
1190 | EReference ACTOR__PLACED_ON = eINSTANCE.getActor_PlacedOn(); | ||
1191 | |||
1192 | /** | ||
1193 | * The meta object literal for the '{@link simpleScenario.impl.RelationImpl <em>Relation</em>}' class. | ||
1194 | * <!-- begin-user-doc --> | ||
1195 | * <!-- end-user-doc --> | ||
1196 | * @see simpleScenario.impl.RelationImpl | ||
1197 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getRelation() | ||
1198 | * @generated | ||
1199 | */ | ||
1200 | EClass RELATION = eINSTANCE.getRelation(); | ||
1201 | |||
1202 | /** | ||
1203 | * The meta object literal for the '<em><b>Target</b></em>' reference feature. | ||
1204 | * <!-- begin-user-doc --> | ||
1205 | * <!-- end-user-doc --> | ||
1206 | * @generated | ||
1207 | */ | ||
1208 | EReference RELATION__TARGET = eINSTANCE.getRelation_Target(); | ||
1209 | |||
1210 | /** | ||
1211 | * The meta object literal for the '{@link simpleScenario.impl.SpatialRelationImpl <em>Spatial Relation</em>}' class. | ||
1212 | * <!-- begin-user-doc --> | ||
1213 | * <!-- end-user-doc --> | ||
1214 | * @see simpleScenario.impl.SpatialRelationImpl | ||
1215 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSpatialRelation() | ||
1216 | * @generated | ||
1217 | */ | ||
1218 | EClass SPATIAL_RELATION = eINSTANCE.getSpatialRelation(); | ||
1219 | |||
1220 | /** | ||
1221 | * The meta object literal for the '{@link simpleScenario.impl.TemporalRelationImpl <em>Temporal Relation</em>}' class. | ||
1222 | * <!-- begin-user-doc --> | ||
1223 | * <!-- end-user-doc --> | ||
1224 | * @see simpleScenario.impl.TemporalRelationImpl | ||
1225 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getTemporalRelation() | ||
1226 | * @generated | ||
1227 | */ | ||
1228 | EClass TEMPORAL_RELATION = eINSTANCE.getTemporalRelation(); | ||
1229 | |||
1230 | /** | ||
1231 | * The meta object literal for the '{@link simpleScenario.impl.VisionBlockedImpl <em>Vision Blocked</em>}' class. | ||
1232 | * <!-- begin-user-doc --> | ||
1233 | * <!-- end-user-doc --> | ||
1234 | * @see simpleScenario.impl.VisionBlockedImpl | ||
1235 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getVisionBlocked() | ||
1236 | * @generated | ||
1237 | */ | ||
1238 | EClass VISION_BLOCKED = eINSTANCE.getVisionBlocked(); | ||
1239 | |||
1240 | /** | ||
1241 | * The meta object literal for the '<em><b>Blocked By</b></em>' reference feature. | ||
1242 | * <!-- begin-user-doc --> | ||
1243 | * <!-- end-user-doc --> | ||
1244 | * @generated | ||
1245 | */ | ||
1246 | EReference VISION_BLOCKED__BLOCKED_BY = eINSTANCE.getVisionBlocked_BlockedBy(); | ||
1247 | |||
1248 | /** | ||
1249 | * The meta object literal for the '{@link simpleScenario.impl.SeperationDistanceImpl <em>Seperation Distance</em>}' class. | ||
1250 | * <!-- begin-user-doc --> | ||
1251 | * <!-- end-user-doc --> | ||
1252 | * @see simpleScenario.impl.SeperationDistanceImpl | ||
1253 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSeperationDistance() | ||
1254 | * @generated | ||
1255 | */ | ||
1256 | EClass SEPERATION_DISTANCE = eINSTANCE.getSeperationDistance(); | ||
1257 | |||
1258 | /** | ||
1259 | * The meta object literal for the '<em><b>Distance</b></em>' attribute feature. | ||
1260 | * <!-- begin-user-doc --> | ||
1261 | * <!-- end-user-doc --> | ||
1262 | * @generated | ||
1263 | */ | ||
1264 | EAttribute SEPERATION_DISTANCE__DISTANCE = eINSTANCE.getSeperationDistance_Distance(); | ||
1265 | |||
1266 | /** | ||
1267 | * The meta object literal for the '{@link simpleScenario.impl.CollisionExistsImpl <em>Collision Exists</em>}' class. | ||
1268 | * <!-- begin-user-doc --> | ||
1269 | * <!-- end-user-doc --> | ||
1270 | * @see simpleScenario.impl.CollisionExistsImpl | ||
1271 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getCollisionExists() | ||
1272 | * @generated | ||
1273 | */ | ||
1274 | EClass COLLISION_EXISTS = eINSTANCE.getCollisionExists(); | ||
1275 | |||
1276 | /** | ||
1277 | * The meta object literal for the '<em><b>Collision Time</b></em>' attribute feature. | ||
1278 | * <!-- begin-user-doc --> | ||
1279 | * <!-- end-user-doc --> | ||
1280 | * @generated | ||
1281 | */ | ||
1282 | EAttribute COLLISION_EXISTS__COLLISION_TIME = eINSTANCE.getCollisionExists_CollisionTime(); | ||
1283 | |||
1284 | /** | ||
1285 | * The meta object literal for the '{@link simpleScenario.impl.CollisionDoesNotExistImpl <em>Collision Does Not Exist</em>}' class. | ||
1286 | * <!-- begin-user-doc --> | ||
1287 | * <!-- end-user-doc --> | ||
1288 | * @see simpleScenario.impl.CollisionDoesNotExistImpl | ||
1289 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getCollisionDoesNotExist() | ||
1290 | * @generated | ||
1291 | */ | ||
1292 | EClass COLLISION_DOES_NOT_EXIST = eINSTANCE.getCollisionDoesNotExist(); | ||
1293 | |||
1294 | /** | ||
1295 | * The meta object literal for the '{@link simpleScenario.Orientation <em>Orientation</em>}' enum. | ||
1296 | * <!-- begin-user-doc --> | ||
1297 | * <!-- end-user-doc --> | ||
1298 | * @see simpleScenario.Orientation | ||
1299 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getOrientation() | ||
1300 | * @generated | ||
1301 | */ | ||
1302 | EEnum ORIENTATION = eINSTANCE.getOrientation(); | ||
1303 | |||
1304 | /** | ||
1305 | * The meta object literal for the '{@link simpleScenario.Size <em>Size</em>}' enum. | ||
1306 | * <!-- begin-user-doc --> | ||
1307 | * <!-- end-user-doc --> | ||
1308 | * @see simpleScenario.Size | ||
1309 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getSize() | ||
1310 | * @generated | ||
1311 | */ | ||
1312 | EEnum SIZE = eINSTANCE.getSize(); | ||
1313 | |||
1314 | /** | ||
1315 | * The meta object literal for the '{@link simpleScenario.ActorType <em>Actor Type</em>}' enum. | ||
1316 | * <!-- begin-user-doc --> | ||
1317 | * <!-- end-user-doc --> | ||
1318 | * @see simpleScenario.ActorType | ||
1319 | * @see simpleScenario.impl.SimpleScenarioPackageImpl#getActorType() | ||
1320 | * @generated | ||
1321 | */ | ||
1322 | EEnum ACTOR_TYPE = eINSTANCE.getActorType(); | ||
1323 | |||
1324 | } | ||
1325 | |||
1326 | } //SimpleScenarioPackage | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Size.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Size.java new file mode 100644 index 00000000..2f4f5d81 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/Size.java | |||
@@ -0,0 +1,232 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | import java.util.Arrays; | ||
6 | import java.util.Collections; | ||
7 | import java.util.List; | ||
8 | |||
9 | import org.eclipse.emf.common.util.Enumerator; | ||
10 | |||
11 | /** | ||
12 | * <!-- begin-user-doc --> | ||
13 | * A representation of the literals of the enumeration '<em><b>Size</b></em>', | ||
14 | * and utility methods for working with them. | ||
15 | * <!-- end-user-doc --> | ||
16 | * @see simpleScenario.SimpleScenarioPackage#getSize() | ||
17 | * @model | ||
18 | * @generated | ||
19 | */ | ||
20 | public enum Size implements Enumerator { | ||
21 | /** | ||
22 | * The '<em><b>Small</b></em>' literal object. | ||
23 | * <!-- begin-user-doc --> | ||
24 | * <!-- end-user-doc --> | ||
25 | * @see #SMALL_VALUE | ||
26 | * @generated | ||
27 | * @ordered | ||
28 | */ | ||
29 | SMALL(0, "Small", "Small"), | ||
30 | |||
31 | /** | ||
32 | * The '<em><b>Medium</b></em>' literal object. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #MEDIUM_VALUE | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | MEDIUM(1, "Medium", "Medium"), | ||
40 | |||
41 | /** | ||
42 | * The '<em><b>Large</b></em>' literal object. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @see #LARGE_VALUE | ||
46 | * @generated | ||
47 | * @ordered | ||
48 | */ | ||
49 | LARGE(2, "Large", "Large"); | ||
50 | |||
51 | /** | ||
52 | * The '<em><b>Small</b></em>' literal value. | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @see #SMALL | ||
56 | * @model name="Small" | ||
57 | * @generated | ||
58 | * @ordered | ||
59 | */ | ||
60 | public static final int SMALL_VALUE = 0; | ||
61 | |||
62 | /** | ||
63 | * The '<em><b>Medium</b></em>' literal value. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @see #MEDIUM | ||
67 | * @model name="Medium" | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | public static final int MEDIUM_VALUE = 1; | ||
72 | |||
73 | /** | ||
74 | * The '<em><b>Large</b></em>' literal value. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @see #LARGE | ||
78 | * @model name="Large" | ||
79 | * @generated | ||
80 | * @ordered | ||
81 | */ | ||
82 | public static final int LARGE_VALUE = 2; | ||
83 | |||
84 | /** | ||
85 | * An array of all the '<em><b>Size</b></em>' enumerators. | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | private static final Size[] VALUES_ARRAY = | ||
91 | new Size[] { | ||
92 | SMALL, | ||
93 | MEDIUM, | ||
94 | LARGE, | ||
95 | }; | ||
96 | |||
97 | /** | ||
98 | * A public read-only list of all the '<em><b>Size</b></em>' enumerators. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @generated | ||
102 | */ | ||
103 | public static final List<Size> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); | ||
104 | |||
105 | /** | ||
106 | * Returns the '<em><b>Size</b></em>' literal with the specified literal value. | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @param literal the literal. | ||
110 | * @return the matching enumerator or <code>null</code>. | ||
111 | * @generated | ||
112 | */ | ||
113 | public static Size get(String literal) { | ||
114 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
115 | Size result = VALUES_ARRAY[i]; | ||
116 | if (result.toString().equals(literal)) { | ||
117 | return result; | ||
118 | } | ||
119 | } | ||
120 | return null; | ||
121 | } | ||
122 | |||
123 | /** | ||
124 | * Returns the '<em><b>Size</b></em>' literal with the specified name. | ||
125 | * <!-- begin-user-doc --> | ||
126 | * <!-- end-user-doc --> | ||
127 | * @param name the name. | ||
128 | * @return the matching enumerator or <code>null</code>. | ||
129 | * @generated | ||
130 | */ | ||
131 | public static Size getByName(String name) { | ||
132 | for (int i = 0; i < VALUES_ARRAY.length; ++i) { | ||
133 | Size result = VALUES_ARRAY[i]; | ||
134 | if (result.getName().equals(name)) { | ||
135 | return result; | ||
136 | } | ||
137 | } | ||
138 | return null; | ||
139 | } | ||
140 | |||
141 | /** | ||
142 | * Returns the '<em><b>Size</b></em>' literal with the specified integer value. | ||
143 | * <!-- begin-user-doc --> | ||
144 | * <!-- end-user-doc --> | ||
145 | * @param value the integer value. | ||
146 | * @return the matching enumerator or <code>null</code>. | ||
147 | * @generated | ||
148 | */ | ||
149 | public static Size get(int value) { | ||
150 | switch (value) { | ||
151 | case SMALL_VALUE: return SMALL; | ||
152 | case MEDIUM_VALUE: return MEDIUM; | ||
153 | case LARGE_VALUE: return LARGE; | ||
154 | } | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * <!-- begin-user-doc --> | ||
160 | * <!-- end-user-doc --> | ||
161 | * @generated | ||
162 | */ | ||
163 | private final int value; | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | private final String name; | ||
171 | |||
172 | /** | ||
173 | * <!-- begin-user-doc --> | ||
174 | * <!-- end-user-doc --> | ||
175 | * @generated | ||
176 | */ | ||
177 | private final String literal; | ||
178 | |||
179 | /** | ||
180 | * Only this class can construct instances. | ||
181 | * <!-- begin-user-doc --> | ||
182 | * <!-- end-user-doc --> | ||
183 | * @generated | ||
184 | */ | ||
185 | private Size(int value, String name, String literal) { | ||
186 | this.value = value; | ||
187 | this.name = name; | ||
188 | this.literal = literal; | ||
189 | } | ||
190 | |||
191 | /** | ||
192 | * <!-- begin-user-doc --> | ||
193 | * <!-- end-user-doc --> | ||
194 | * @generated | ||
195 | */ | ||
196 | @Override | ||
197 | public int getValue() { | ||
198 | return value; | ||
199 | } | ||
200 | |||
201 | /** | ||
202 | * <!-- begin-user-doc --> | ||
203 | * <!-- end-user-doc --> | ||
204 | * @generated | ||
205 | */ | ||
206 | @Override | ||
207 | public String getName() { | ||
208 | return name; | ||
209 | } | ||
210 | |||
211 | /** | ||
212 | * <!-- begin-user-doc --> | ||
213 | * <!-- end-user-doc --> | ||
214 | * @generated | ||
215 | */ | ||
216 | @Override | ||
217 | public String getLiteral() { | ||
218 | return literal; | ||
219 | } | ||
220 | |||
221 | /** | ||
222 | * Returns the literal value of the enumerator, which is its string representation. | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | @Override | ||
228 | public String toString() { | ||
229 | return literal; | ||
230 | } | ||
231 | |||
232 | } //Size | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SpatialRelation.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SpatialRelation.java new file mode 100644 index 00000000..9b394f58 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/SpatialRelation.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Spatial Relation</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see simpleScenario.SimpleScenarioPackage#getSpatialRelation() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface SpatialRelation extends Relation { | ||
17 | } // SpatialRelation | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/TemporalRelation.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/TemporalRelation.java new file mode 100644 index 00000000..21b56b14 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/TemporalRelation.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Temporal Relation</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * | ||
12 | * @see simpleScenario.SimpleScenarioPackage#getTemporalRelation() | ||
13 | * @model abstract="true" | ||
14 | * @generated | ||
15 | */ | ||
16 | public interface TemporalRelation extends Relation { | ||
17 | } // TemporalRelation | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/VisionBlocked.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/VisionBlocked.java new file mode 100644 index 00000000..c461d323 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/VisionBlocked.java | |||
@@ -0,0 +1,45 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario; | ||
4 | |||
5 | |||
6 | /** | ||
7 | * <!-- begin-user-doc --> | ||
8 | * A representation of the model object '<em><b>Vision Blocked</b></em>'. | ||
9 | * <!-- end-user-doc --> | ||
10 | * | ||
11 | * <p> | ||
12 | * The following features are supported: | ||
13 | * </p> | ||
14 | * <ul> | ||
15 | * <li>{@link simpleScenario.VisionBlocked#getBlockedBy <em>Blocked By</em>}</li> | ||
16 | * </ul> | ||
17 | * | ||
18 | * @see simpleScenario.SimpleScenarioPackage#getVisionBlocked() | ||
19 | * @model | ||
20 | * @generated | ||
21 | */ | ||
22 | public interface VisionBlocked extends SpatialRelation { | ||
23 | /** | ||
24 | * Returns the value of the '<em><b>Blocked By</b></em>' reference. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @return the value of the '<em>Blocked By</em>' reference. | ||
28 | * @see #setBlockedBy(Actor) | ||
29 | * @see simpleScenario.SimpleScenarioPackage#getVisionBlocked_BlockedBy() | ||
30 | * @model | ||
31 | * @generated | ||
32 | */ | ||
33 | Actor getBlockedBy(); | ||
34 | |||
35 | /** | ||
36 | * Sets the value of the '{@link simpleScenario.VisionBlocked#getBlockedBy <em>Blocked By</em>}' reference. | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @param value the new value of the '<em>Blocked By</em>' reference. | ||
40 | * @see #getBlockedBy() | ||
41 | * @generated | ||
42 | */ | ||
43 | void setBlockedBy(Actor value); | ||
44 | |||
45 | } // VisionBlocked | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/ActorImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/ActorImpl.java new file mode 100644 index 00000000..10375e9b --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/ActorImpl.java | |||
@@ -0,0 +1,609 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import java.util.Collection; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Notification; | ||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | import simpleScenario.Actor; | ||
22 | import simpleScenario.ActorType; | ||
23 | import simpleScenario.Lane; | ||
24 | import simpleScenario.Relation; | ||
25 | import simpleScenario.SimpleScenarioPackage; | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * An implementation of the model object '<em><b>Actor</b></em>'. | ||
30 | * <!-- end-user-doc --> | ||
31 | * <p> | ||
32 | * The following features are implemented: | ||
33 | * </p> | ||
34 | * <ul> | ||
35 | * <li>{@link simpleScenario.impl.ActorImpl#getType <em>Type</em>}</li> | ||
36 | * <li>{@link simpleScenario.impl.ActorImpl#getXPos <em>XPos</em>}</li> | ||
37 | * <li>{@link simpleScenario.impl.ActorImpl#getYPos <em>YPos</em>}</li> | ||
38 | * <li>{@link simpleScenario.impl.ActorImpl#getLength <em>Length</em>}</li> | ||
39 | * <li>{@link simpleScenario.impl.ActorImpl#getWidth <em>Width</em>}</li> | ||
40 | * <li>{@link simpleScenario.impl.ActorImpl#getSpeed <em>Speed</em>}</li> | ||
41 | * <li>{@link simpleScenario.impl.ActorImpl#getRelations <em>Relations</em>}</li> | ||
42 | * <li>{@link simpleScenario.impl.ActorImpl#getPlacedOn <em>Placed On</em>}</li> | ||
43 | * </ul> | ||
44 | * | ||
45 | * @generated | ||
46 | */ | ||
47 | public class ActorImpl extends MinimalEObjectImpl.Container implements Actor { | ||
48 | /** | ||
49 | * The default value of the '{@link #getType() <em>Type</em>}' attribute. | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @see #getType() | ||
53 | * @generated | ||
54 | * @ordered | ||
55 | */ | ||
56 | protected static final ActorType TYPE_EDEFAULT = ActorType.PEDESTRIAN; | ||
57 | |||
58 | /** | ||
59 | * The cached value of the '{@link #getType() <em>Type</em>}' attribute. | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @see #getType() | ||
63 | * @generated | ||
64 | * @ordered | ||
65 | */ | ||
66 | protected ActorType type = TYPE_EDEFAULT; | ||
67 | |||
68 | /** | ||
69 | * The default value of the '{@link #getXPos() <em>XPos</em>}' attribute. | ||
70 | * <!-- begin-user-doc --> | ||
71 | * <!-- end-user-doc --> | ||
72 | * @see #getXPos() | ||
73 | * @generated | ||
74 | * @ordered | ||
75 | */ | ||
76 | protected static final double XPOS_EDEFAULT = 0.0; | ||
77 | |||
78 | /** | ||
79 | * The cached value of the '{@link #getXPos() <em>XPos</em>}' attribute. | ||
80 | * <!-- begin-user-doc --> | ||
81 | * <!-- end-user-doc --> | ||
82 | * @see #getXPos() | ||
83 | * @generated | ||
84 | * @ordered | ||
85 | */ | ||
86 | protected double xPos = XPOS_EDEFAULT; | ||
87 | |||
88 | /** | ||
89 | * The default value of the '{@link #getYPos() <em>YPos</em>}' attribute. | ||
90 | * <!-- begin-user-doc --> | ||
91 | * <!-- end-user-doc --> | ||
92 | * @see #getYPos() | ||
93 | * @generated | ||
94 | * @ordered | ||
95 | */ | ||
96 | protected static final double YPOS_EDEFAULT = 0.0; | ||
97 | |||
98 | /** | ||
99 | * The cached value of the '{@link #getYPos() <em>YPos</em>}' attribute. | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @see #getYPos() | ||
103 | * @generated | ||
104 | * @ordered | ||
105 | */ | ||
106 | protected double yPos = YPOS_EDEFAULT; | ||
107 | |||
108 | /** | ||
109 | * The default value of the '{@link #getLength() <em>Length</em>}' attribute. | ||
110 | * <!-- begin-user-doc --> | ||
111 | * <!-- end-user-doc --> | ||
112 | * @see #getLength() | ||
113 | * @generated | ||
114 | * @ordered | ||
115 | */ | ||
116 | protected static final double LENGTH_EDEFAULT = 0.0; | ||
117 | |||
118 | /** | ||
119 | * The cached value of the '{@link #getLength() <em>Length</em>}' attribute. | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @see #getLength() | ||
123 | * @generated | ||
124 | * @ordered | ||
125 | */ | ||
126 | protected double length = LENGTH_EDEFAULT; | ||
127 | |||
128 | /** | ||
129 | * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @see #getWidth() | ||
133 | * @generated | ||
134 | * @ordered | ||
135 | */ | ||
136 | protected static final double WIDTH_EDEFAULT = 0.0; | ||
137 | |||
138 | /** | ||
139 | * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. | ||
140 | * <!-- begin-user-doc --> | ||
141 | * <!-- end-user-doc --> | ||
142 | * @see #getWidth() | ||
143 | * @generated | ||
144 | * @ordered | ||
145 | */ | ||
146 | protected double width = WIDTH_EDEFAULT; | ||
147 | |||
148 | /** | ||
149 | * The default value of the '{@link #getSpeed() <em>Speed</em>}' attribute. | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @see #getSpeed() | ||
153 | * @generated | ||
154 | * @ordered | ||
155 | */ | ||
156 | protected static final double SPEED_EDEFAULT = 0.0; | ||
157 | |||
158 | /** | ||
159 | * The cached value of the '{@link #getSpeed() <em>Speed</em>}' attribute. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * <!-- end-user-doc --> | ||
162 | * @see #getSpeed() | ||
163 | * @generated | ||
164 | * @ordered | ||
165 | */ | ||
166 | protected double speed = SPEED_EDEFAULT; | ||
167 | |||
168 | /** | ||
169 | * The cached value of the '{@link #getRelations() <em>Relations</em>}' containment reference list. | ||
170 | * <!-- begin-user-doc --> | ||
171 | * <!-- end-user-doc --> | ||
172 | * @see #getRelations() | ||
173 | * @generated | ||
174 | * @ordered | ||
175 | */ | ||
176 | protected EList<Relation> relations; | ||
177 | |||
178 | /** | ||
179 | * The cached value of the '{@link #getPlacedOn() <em>Placed On</em>}' reference. | ||
180 | * <!-- begin-user-doc --> | ||
181 | * <!-- end-user-doc --> | ||
182 | * @see #getPlacedOn() | ||
183 | * @generated | ||
184 | * @ordered | ||
185 | */ | ||
186 | protected Lane placedOn; | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | protected ActorImpl() { | ||
194 | super(); | ||
195 | } | ||
196 | |||
197 | /** | ||
198 | * <!-- begin-user-doc --> | ||
199 | * <!-- end-user-doc --> | ||
200 | * @generated | ||
201 | */ | ||
202 | @Override | ||
203 | protected EClass eStaticClass() { | ||
204 | return SimpleScenarioPackage.Literals.ACTOR; | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | @Override | ||
213 | public ActorType getType() { | ||
214 | return type; | ||
215 | } | ||
216 | |||
217 | /** | ||
218 | * <!-- begin-user-doc --> | ||
219 | * <!-- end-user-doc --> | ||
220 | * @generated | ||
221 | */ | ||
222 | @Override | ||
223 | public void setType(ActorType newType) { | ||
224 | ActorType oldType = type; | ||
225 | type = newType == null ? TYPE_EDEFAULT : newType; | ||
226 | if (eNotificationRequired()) | ||
227 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__TYPE, oldType, type)); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @Override | ||
236 | public double getXPos() { | ||
237 | return xPos; | ||
238 | } | ||
239 | |||
240 | /** | ||
241 | * <!-- begin-user-doc --> | ||
242 | * <!-- end-user-doc --> | ||
243 | * @generated | ||
244 | */ | ||
245 | @Override | ||
246 | public void setXPos(double newXPos) { | ||
247 | double oldXPos = xPos; | ||
248 | xPos = newXPos; | ||
249 | if (eNotificationRequired()) | ||
250 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__XPOS, oldXPos, xPos)); | ||
251 | } | ||
252 | |||
253 | /** | ||
254 | * <!-- begin-user-doc --> | ||
255 | * <!-- end-user-doc --> | ||
256 | * @generated | ||
257 | */ | ||
258 | @Override | ||
259 | public double getYPos() { | ||
260 | return yPos; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * <!-- begin-user-doc --> | ||
265 | * <!-- end-user-doc --> | ||
266 | * @generated | ||
267 | */ | ||
268 | @Override | ||
269 | public void setYPos(double newYPos) { | ||
270 | double oldYPos = yPos; | ||
271 | yPos = newYPos; | ||
272 | if (eNotificationRequired()) | ||
273 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__YPOS, oldYPos, yPos)); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | public double getLength() { | ||
283 | return length; | ||
284 | } | ||
285 | |||
286 | /** | ||
287 | * <!-- begin-user-doc --> | ||
288 | * <!-- end-user-doc --> | ||
289 | * @generated | ||
290 | */ | ||
291 | @Override | ||
292 | public void setLength(double newLength) { | ||
293 | double oldLength = length; | ||
294 | length = newLength; | ||
295 | if (eNotificationRequired()) | ||
296 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__LENGTH, oldLength, length)); | ||
297 | } | ||
298 | |||
299 | /** | ||
300 | * <!-- begin-user-doc --> | ||
301 | * <!-- end-user-doc --> | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public double getWidth() { | ||
306 | return width; | ||
307 | } | ||
308 | |||
309 | /** | ||
310 | * <!-- begin-user-doc --> | ||
311 | * <!-- end-user-doc --> | ||
312 | * @generated | ||
313 | */ | ||
314 | @Override | ||
315 | public void setWidth(double newWidth) { | ||
316 | double oldWidth = width; | ||
317 | width = newWidth; | ||
318 | if (eNotificationRequired()) | ||
319 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__WIDTH, oldWidth, width)); | ||
320 | } | ||
321 | |||
322 | /** | ||
323 | * <!-- begin-user-doc --> | ||
324 | * <!-- end-user-doc --> | ||
325 | * @generated | ||
326 | */ | ||
327 | @Override | ||
328 | public double getSpeed() { | ||
329 | return speed; | ||
330 | } | ||
331 | |||
332 | /** | ||
333 | * <!-- begin-user-doc --> | ||
334 | * <!-- end-user-doc --> | ||
335 | * @generated | ||
336 | */ | ||
337 | @Override | ||
338 | public void setSpeed(double newSpeed) { | ||
339 | double oldSpeed = speed; | ||
340 | speed = newSpeed; | ||
341 | if (eNotificationRequired()) | ||
342 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__SPEED, oldSpeed, speed)); | ||
343 | } | ||
344 | |||
345 | /** | ||
346 | * <!-- begin-user-doc --> | ||
347 | * <!-- end-user-doc --> | ||
348 | * @generated | ||
349 | */ | ||
350 | @Override | ||
351 | public EList<Relation> getRelations() { | ||
352 | if (relations == null) { | ||
353 | relations = new EObjectContainmentEList<Relation>(Relation.class, this, SimpleScenarioPackage.ACTOR__RELATIONS); | ||
354 | } | ||
355 | return relations; | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | @Override | ||
364 | public Lane getPlacedOn() { | ||
365 | if (placedOn != null && placedOn.eIsProxy()) { | ||
366 | InternalEObject oldPlacedOn = (InternalEObject)placedOn; | ||
367 | placedOn = (Lane)eResolveProxy(oldPlacedOn); | ||
368 | if (placedOn != oldPlacedOn) { | ||
369 | if (eNotificationRequired()) | ||
370 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SimpleScenarioPackage.ACTOR__PLACED_ON, oldPlacedOn, placedOn)); | ||
371 | } | ||
372 | } | ||
373 | return placedOn; | ||
374 | } | ||
375 | |||
376 | /** | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | */ | ||
381 | public Lane basicGetPlacedOn() { | ||
382 | return placedOn; | ||
383 | } | ||
384 | |||
385 | /** | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | */ | ||
390 | public NotificationChain basicSetPlacedOn(Lane newPlacedOn, NotificationChain msgs) { | ||
391 | Lane oldPlacedOn = placedOn; | ||
392 | placedOn = newPlacedOn; | ||
393 | if (eNotificationRequired()) { | ||
394 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__PLACED_ON, oldPlacedOn, newPlacedOn); | ||
395 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
396 | } | ||
397 | return msgs; | ||
398 | } | ||
399 | |||
400 | /** | ||
401 | * <!-- begin-user-doc --> | ||
402 | * <!-- end-user-doc --> | ||
403 | * @generated | ||
404 | */ | ||
405 | @Override | ||
406 | public void setPlacedOn(Lane newPlacedOn) { | ||
407 | if (newPlacedOn != placedOn) { | ||
408 | NotificationChain msgs = null; | ||
409 | if (placedOn != null) | ||
410 | msgs = ((InternalEObject)placedOn).eInverseRemove(this, SimpleScenarioPackage.LANE__ACTORS, Lane.class, msgs); | ||
411 | if (newPlacedOn != null) | ||
412 | msgs = ((InternalEObject)newPlacedOn).eInverseAdd(this, SimpleScenarioPackage.LANE__ACTORS, Lane.class, msgs); | ||
413 | msgs = basicSetPlacedOn(newPlacedOn, msgs); | ||
414 | if (msgs != null) msgs.dispatch(); | ||
415 | } | ||
416 | else if (eNotificationRequired()) | ||
417 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.ACTOR__PLACED_ON, newPlacedOn, newPlacedOn)); | ||
418 | } | ||
419 | |||
420 | /** | ||
421 | * <!-- begin-user-doc --> | ||
422 | * <!-- end-user-doc --> | ||
423 | * @generated | ||
424 | */ | ||
425 | @Override | ||
426 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
427 | switch (featureID) { | ||
428 | case SimpleScenarioPackage.ACTOR__PLACED_ON: | ||
429 | if (placedOn != null) | ||
430 | msgs = ((InternalEObject)placedOn).eInverseRemove(this, SimpleScenarioPackage.LANE__ACTORS, Lane.class, msgs); | ||
431 | return basicSetPlacedOn((Lane)otherEnd, msgs); | ||
432 | } | ||
433 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
434 | } | ||
435 | |||
436 | /** | ||
437 | * <!-- begin-user-doc --> | ||
438 | * <!-- end-user-doc --> | ||
439 | * @generated | ||
440 | */ | ||
441 | @Override | ||
442 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
443 | switch (featureID) { | ||
444 | case SimpleScenarioPackage.ACTOR__RELATIONS: | ||
445 | return ((InternalEList<?>)getRelations()).basicRemove(otherEnd, msgs); | ||
446 | case SimpleScenarioPackage.ACTOR__PLACED_ON: | ||
447 | return basicSetPlacedOn(null, msgs); | ||
448 | } | ||
449 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
450 | } | ||
451 | |||
452 | /** | ||
453 | * <!-- begin-user-doc --> | ||
454 | * <!-- end-user-doc --> | ||
455 | * @generated | ||
456 | */ | ||
457 | @Override | ||
458 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
459 | switch (featureID) { | ||
460 | case SimpleScenarioPackage.ACTOR__TYPE: | ||
461 | return getType(); | ||
462 | case SimpleScenarioPackage.ACTOR__XPOS: | ||
463 | return getXPos(); | ||
464 | case SimpleScenarioPackage.ACTOR__YPOS: | ||
465 | return getYPos(); | ||
466 | case SimpleScenarioPackage.ACTOR__LENGTH: | ||
467 | return getLength(); | ||
468 | case SimpleScenarioPackage.ACTOR__WIDTH: | ||
469 | return getWidth(); | ||
470 | case SimpleScenarioPackage.ACTOR__SPEED: | ||
471 | return getSpeed(); | ||
472 | case SimpleScenarioPackage.ACTOR__RELATIONS: | ||
473 | return getRelations(); | ||
474 | case SimpleScenarioPackage.ACTOR__PLACED_ON: | ||
475 | if (resolve) return getPlacedOn(); | ||
476 | return basicGetPlacedOn(); | ||
477 | } | ||
478 | return super.eGet(featureID, resolve, coreType); | ||
479 | } | ||
480 | |||
481 | /** | ||
482 | * <!-- begin-user-doc --> | ||
483 | * <!-- end-user-doc --> | ||
484 | * @generated | ||
485 | */ | ||
486 | @SuppressWarnings("unchecked") | ||
487 | @Override | ||
488 | public void eSet(int featureID, Object newValue) { | ||
489 | switch (featureID) { | ||
490 | case SimpleScenarioPackage.ACTOR__TYPE: | ||
491 | setType((ActorType)newValue); | ||
492 | return; | ||
493 | case SimpleScenarioPackage.ACTOR__XPOS: | ||
494 | setXPos((Double)newValue); | ||
495 | return; | ||
496 | case SimpleScenarioPackage.ACTOR__YPOS: | ||
497 | setYPos((Double)newValue); | ||
498 | return; | ||
499 | case SimpleScenarioPackage.ACTOR__LENGTH: | ||
500 | setLength((Double)newValue); | ||
501 | return; | ||
502 | case SimpleScenarioPackage.ACTOR__WIDTH: | ||
503 | setWidth((Double)newValue); | ||
504 | return; | ||
505 | case SimpleScenarioPackage.ACTOR__SPEED: | ||
506 | setSpeed((Double)newValue); | ||
507 | return; | ||
508 | case SimpleScenarioPackage.ACTOR__RELATIONS: | ||
509 | getRelations().clear(); | ||
510 | getRelations().addAll((Collection<? extends Relation>)newValue); | ||
511 | return; | ||
512 | case SimpleScenarioPackage.ACTOR__PLACED_ON: | ||
513 | setPlacedOn((Lane)newValue); | ||
514 | return; | ||
515 | } | ||
516 | super.eSet(featureID, newValue); | ||
517 | } | ||
518 | |||
519 | /** | ||
520 | * <!-- begin-user-doc --> | ||
521 | * <!-- end-user-doc --> | ||
522 | * @generated | ||
523 | */ | ||
524 | @Override | ||
525 | public void eUnset(int featureID) { | ||
526 | switch (featureID) { | ||
527 | case SimpleScenarioPackage.ACTOR__TYPE: | ||
528 | setType(TYPE_EDEFAULT); | ||
529 | return; | ||
530 | case SimpleScenarioPackage.ACTOR__XPOS: | ||
531 | setXPos(XPOS_EDEFAULT); | ||
532 | return; | ||
533 | case SimpleScenarioPackage.ACTOR__YPOS: | ||
534 | setYPos(YPOS_EDEFAULT); | ||
535 | return; | ||
536 | case SimpleScenarioPackage.ACTOR__LENGTH: | ||
537 | setLength(LENGTH_EDEFAULT); | ||
538 | return; | ||
539 | case SimpleScenarioPackage.ACTOR__WIDTH: | ||
540 | setWidth(WIDTH_EDEFAULT); | ||
541 | return; | ||
542 | case SimpleScenarioPackage.ACTOR__SPEED: | ||
543 | setSpeed(SPEED_EDEFAULT); | ||
544 | return; | ||
545 | case SimpleScenarioPackage.ACTOR__RELATIONS: | ||
546 | getRelations().clear(); | ||
547 | return; | ||
548 | case SimpleScenarioPackage.ACTOR__PLACED_ON: | ||
549 | setPlacedOn((Lane)null); | ||
550 | return; | ||
551 | } | ||
552 | super.eUnset(featureID); | ||
553 | } | ||
554 | |||
555 | /** | ||
556 | * <!-- begin-user-doc --> | ||
557 | * <!-- end-user-doc --> | ||
558 | * @generated | ||
559 | */ | ||
560 | @Override | ||
561 | public boolean eIsSet(int featureID) { | ||
562 | switch (featureID) { | ||
563 | case SimpleScenarioPackage.ACTOR__TYPE: | ||
564 | return type != TYPE_EDEFAULT; | ||
565 | case SimpleScenarioPackage.ACTOR__XPOS: | ||
566 | return xPos != XPOS_EDEFAULT; | ||
567 | case SimpleScenarioPackage.ACTOR__YPOS: | ||
568 | return yPos != YPOS_EDEFAULT; | ||
569 | case SimpleScenarioPackage.ACTOR__LENGTH: | ||
570 | return length != LENGTH_EDEFAULT; | ||
571 | case SimpleScenarioPackage.ACTOR__WIDTH: | ||
572 | return width != WIDTH_EDEFAULT; | ||
573 | case SimpleScenarioPackage.ACTOR__SPEED: | ||
574 | return speed != SPEED_EDEFAULT; | ||
575 | case SimpleScenarioPackage.ACTOR__RELATIONS: | ||
576 | return relations != null && !relations.isEmpty(); | ||
577 | case SimpleScenarioPackage.ACTOR__PLACED_ON: | ||
578 | return placedOn != null; | ||
579 | } | ||
580 | return super.eIsSet(featureID); | ||
581 | } | ||
582 | |||
583 | /** | ||
584 | * <!-- begin-user-doc --> | ||
585 | * <!-- end-user-doc --> | ||
586 | * @generated | ||
587 | */ | ||
588 | @Override | ||
589 | public String toString() { | ||
590 | if (eIsProxy()) return super.toString(); | ||
591 | |||
592 | StringBuilder result = new StringBuilder(super.toString()); | ||
593 | result.append(" (type: "); | ||
594 | result.append(type); | ||
595 | result.append(", xPos: "); | ||
596 | result.append(xPos); | ||
597 | result.append(", yPos: "); | ||
598 | result.append(yPos); | ||
599 | result.append(", length: "); | ||
600 | result.append(length); | ||
601 | result.append(", width: "); | ||
602 | result.append(width); | ||
603 | result.append(", speed: "); | ||
604 | result.append(speed); | ||
605 | result.append(')'); | ||
606 | return result.toString(); | ||
607 | } | ||
608 | |||
609 | } //ActorImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/CollisionDoesNotExistImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/CollisionDoesNotExistImpl.java new file mode 100644 index 00000000..48eab559 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/CollisionDoesNotExistImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import simpleScenario.CollisionDoesNotExist; | ||
8 | import simpleScenario.SimpleScenarioPackage; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Collision Does Not Exist</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public class CollisionDoesNotExistImpl extends TemporalRelationImpl implements CollisionDoesNotExist { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected CollisionDoesNotExistImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SimpleScenarioPackage.Literals.COLLISION_DOES_NOT_EXIST; | ||
35 | } | ||
36 | |||
37 | } //CollisionDoesNotExistImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/CollisionExistsImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/CollisionExistsImpl.java new file mode 100644 index 00000000..44a33785 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/CollisionExistsImpl.java | |||
@@ -0,0 +1,164 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | |||
9 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | |||
11 | import simpleScenario.CollisionExists; | ||
12 | import simpleScenario.SimpleScenarioPackage; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * An implementation of the model object '<em><b>Collision Exists</b></em>'. | ||
17 | * <!-- end-user-doc --> | ||
18 | * <p> | ||
19 | * The following features are implemented: | ||
20 | * </p> | ||
21 | * <ul> | ||
22 | * <li>{@link simpleScenario.impl.CollisionExistsImpl#getCollisionTime <em>Collision Time</em>}</li> | ||
23 | * </ul> | ||
24 | * | ||
25 | * @generated | ||
26 | */ | ||
27 | public class CollisionExistsImpl extends TemporalRelationImpl implements CollisionExists { | ||
28 | /** | ||
29 | * The default value of the '{@link #getCollisionTime() <em>Collision Time</em>}' attribute. | ||
30 | * <!-- begin-user-doc --> | ||
31 | * <!-- end-user-doc --> | ||
32 | * @see #getCollisionTime() | ||
33 | * @generated | ||
34 | * @ordered | ||
35 | */ | ||
36 | protected static final double COLLISION_TIME_EDEFAULT = 0.0; | ||
37 | |||
38 | /** | ||
39 | * The cached value of the '{@link #getCollisionTime() <em>Collision Time</em>}' attribute. | ||
40 | * <!-- begin-user-doc --> | ||
41 | * <!-- end-user-doc --> | ||
42 | * @see #getCollisionTime() | ||
43 | * @generated | ||
44 | * @ordered | ||
45 | */ | ||
46 | protected double collisionTime = COLLISION_TIME_EDEFAULT; | ||
47 | |||
48 | /** | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @generated | ||
52 | */ | ||
53 | protected CollisionExistsImpl() { | ||
54 | super(); | ||
55 | } | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | @Override | ||
63 | protected EClass eStaticClass() { | ||
64 | return SimpleScenarioPackage.Literals.COLLISION_EXISTS; | ||
65 | } | ||
66 | |||
67 | /** | ||
68 | * <!-- begin-user-doc --> | ||
69 | * <!-- end-user-doc --> | ||
70 | * @generated | ||
71 | */ | ||
72 | @Override | ||
73 | public double getCollisionTime() { | ||
74 | return collisionTime; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | @Override | ||
83 | public void setCollisionTime(double newCollisionTime) { | ||
84 | double oldCollisionTime = collisionTime; | ||
85 | collisionTime = newCollisionTime; | ||
86 | if (eNotificationRequired()) | ||
87 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.COLLISION_EXISTS__COLLISION_TIME, oldCollisionTime, collisionTime)); | ||
88 | } | ||
89 | |||
90 | /** | ||
91 | * <!-- begin-user-doc --> | ||
92 | * <!-- end-user-doc --> | ||
93 | * @generated | ||
94 | */ | ||
95 | @Override | ||
96 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
97 | switch (featureID) { | ||
98 | case SimpleScenarioPackage.COLLISION_EXISTS__COLLISION_TIME: | ||
99 | return getCollisionTime(); | ||
100 | } | ||
101 | return super.eGet(featureID, resolve, coreType); | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * <!-- begin-user-doc --> | ||
106 | * <!-- end-user-doc --> | ||
107 | * @generated | ||
108 | */ | ||
109 | @Override | ||
110 | public void eSet(int featureID, Object newValue) { | ||
111 | switch (featureID) { | ||
112 | case SimpleScenarioPackage.COLLISION_EXISTS__COLLISION_TIME: | ||
113 | setCollisionTime((Double)newValue); | ||
114 | return; | ||
115 | } | ||
116 | super.eSet(featureID, newValue); | ||
117 | } | ||
118 | |||
119 | /** | ||
120 | * <!-- begin-user-doc --> | ||
121 | * <!-- end-user-doc --> | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public void eUnset(int featureID) { | ||
126 | switch (featureID) { | ||
127 | case SimpleScenarioPackage.COLLISION_EXISTS__COLLISION_TIME: | ||
128 | setCollisionTime(COLLISION_TIME_EDEFAULT); | ||
129 | return; | ||
130 | } | ||
131 | super.eUnset(featureID); | ||
132 | } | ||
133 | |||
134 | /** | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @generated | ||
138 | */ | ||
139 | @Override | ||
140 | public boolean eIsSet(int featureID) { | ||
141 | switch (featureID) { | ||
142 | case SimpleScenarioPackage.COLLISION_EXISTS__COLLISION_TIME: | ||
143 | return collisionTime != COLLISION_TIME_EDEFAULT; | ||
144 | } | ||
145 | return super.eIsSet(featureID); | ||
146 | } | ||
147 | |||
148 | /** | ||
149 | * <!-- begin-user-doc --> | ||
150 | * <!-- end-user-doc --> | ||
151 | * @generated | ||
152 | */ | ||
153 | @Override | ||
154 | public String toString() { | ||
155 | if (eIsProxy()) return super.toString(); | ||
156 | |||
157 | StringBuilder result = new StringBuilder(super.toString()); | ||
158 | result.append(" (collisionTime: "); | ||
159 | result.append(collisionTime); | ||
160 | result.append(')'); | ||
161 | return result.toString(); | ||
162 | } | ||
163 | |||
164 | } //CollisionExistsImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/LaneImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/LaneImpl.java new file mode 100644 index 00000000..f0b4b811 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/LaneImpl.java | |||
@@ -0,0 +1,446 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import java.util.Collection; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Notification; | ||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectResolvingEList; | ||
19 | import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList; | ||
20 | import org.eclipse.emf.ecore.util.InternalEList; | ||
21 | |||
22 | import simpleScenario.Actor; | ||
23 | import simpleScenario.Lane; | ||
24 | import simpleScenario.Orientation; | ||
25 | import simpleScenario.SimpleScenarioPackage; | ||
26 | import simpleScenario.Size; | ||
27 | |||
28 | /** | ||
29 | * <!-- begin-user-doc --> | ||
30 | * An implementation of the model object '<em><b>Lane</b></em>'. | ||
31 | * <!-- end-user-doc --> | ||
32 | * <p> | ||
33 | * The following features are implemented: | ||
34 | * </p> | ||
35 | * <ul> | ||
36 | * <li>{@link simpleScenario.impl.LaneImpl#getOrientation <em>Orientation</em>}</li> | ||
37 | * <li>{@link simpleScenario.impl.LaneImpl#getWidth <em>Width</em>}</li> | ||
38 | * <li>{@link simpleScenario.impl.LaneImpl#getReferenceCoord <em>Reference Coord</em>}</li> | ||
39 | * <li>{@link simpleScenario.impl.LaneImpl#getAdjacent <em>Adjacent</em>}</li> | ||
40 | * <li>{@link simpleScenario.impl.LaneImpl#getActors <em>Actors</em>}</li> | ||
41 | * <li>{@link simpleScenario.impl.LaneImpl#getWidthNum <em>Width Num</em>}</li> | ||
42 | * </ul> | ||
43 | * | ||
44 | * @generated | ||
45 | */ | ||
46 | public class LaneImpl extends MinimalEObjectImpl.Container implements Lane { | ||
47 | /** | ||
48 | * The default value of the '{@link #getOrientation() <em>Orientation</em>}' attribute. | ||
49 | * <!-- begin-user-doc --> | ||
50 | * <!-- end-user-doc --> | ||
51 | * @see #getOrientation() | ||
52 | * @generated | ||
53 | * @ordered | ||
54 | */ | ||
55 | protected static final Orientation ORIENTATION_EDEFAULT = Orientation.VERTICAL; | ||
56 | |||
57 | /** | ||
58 | * The cached value of the '{@link #getOrientation() <em>Orientation</em>}' attribute. | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @see #getOrientation() | ||
62 | * @generated | ||
63 | * @ordered | ||
64 | */ | ||
65 | protected Orientation orientation = ORIENTATION_EDEFAULT; | ||
66 | |||
67 | /** | ||
68 | * The default value of the '{@link #getWidth() <em>Width</em>}' attribute. | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @see #getWidth() | ||
72 | * @generated | ||
73 | * @ordered | ||
74 | */ | ||
75 | protected static final Size WIDTH_EDEFAULT = Size.SMALL; | ||
76 | |||
77 | /** | ||
78 | * The cached value of the '{@link #getWidth() <em>Width</em>}' attribute. | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @see #getWidth() | ||
82 | * @generated | ||
83 | * @ordered | ||
84 | */ | ||
85 | protected Size width = WIDTH_EDEFAULT; | ||
86 | |||
87 | /** | ||
88 | * The default value of the '{@link #getReferenceCoord() <em>Reference Coord</em>}' attribute. | ||
89 | * <!-- begin-user-doc --> | ||
90 | * <!-- end-user-doc --> | ||
91 | * @see #getReferenceCoord() | ||
92 | * @generated | ||
93 | * @ordered | ||
94 | */ | ||
95 | protected static final double REFERENCE_COORD_EDEFAULT = 0.0; | ||
96 | |||
97 | /** | ||
98 | * The cached value of the '{@link #getReferenceCoord() <em>Reference Coord</em>}' attribute. | ||
99 | * <!-- begin-user-doc --> | ||
100 | * <!-- end-user-doc --> | ||
101 | * @see #getReferenceCoord() | ||
102 | * @generated | ||
103 | * @ordered | ||
104 | */ | ||
105 | protected double referenceCoord = REFERENCE_COORD_EDEFAULT; | ||
106 | |||
107 | /** | ||
108 | * The cached value of the '{@link #getAdjacent() <em>Adjacent</em>}' reference list. | ||
109 | * <!-- begin-user-doc --> | ||
110 | * <!-- end-user-doc --> | ||
111 | * @see #getAdjacent() | ||
112 | * @generated | ||
113 | * @ordered | ||
114 | */ | ||
115 | protected EList<Lane> adjacent; | ||
116 | |||
117 | /** | ||
118 | * The cached value of the '{@link #getActors() <em>Actors</em>}' reference list. | ||
119 | * <!-- begin-user-doc --> | ||
120 | * <!-- end-user-doc --> | ||
121 | * @see #getActors() | ||
122 | * @generated | ||
123 | * @ordered | ||
124 | */ | ||
125 | protected EList<Actor> actors; | ||
126 | |||
127 | /** | ||
128 | * The default value of the '{@link #getWidthNum() <em>Width Num</em>}' attribute. | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @see #getWidthNum() | ||
132 | * @generated | ||
133 | * @ordered | ||
134 | */ | ||
135 | protected static final double WIDTH_NUM_EDEFAULT = 0.0; | ||
136 | |||
137 | /** | ||
138 | * The cached value of the '{@link #getWidthNum() <em>Width Num</em>}' attribute. | ||
139 | * <!-- begin-user-doc --> | ||
140 | * <!-- end-user-doc --> | ||
141 | * @see #getWidthNum() | ||
142 | * @generated | ||
143 | * @ordered | ||
144 | */ | ||
145 | protected double widthNum = WIDTH_NUM_EDEFAULT; | ||
146 | |||
147 | /** | ||
148 | * <!-- begin-user-doc --> | ||
149 | * <!-- end-user-doc --> | ||
150 | * @generated | ||
151 | */ | ||
152 | protected LaneImpl() { | ||
153 | super(); | ||
154 | } | ||
155 | |||
156 | /** | ||
157 | * <!-- begin-user-doc --> | ||
158 | * <!-- end-user-doc --> | ||
159 | * @generated | ||
160 | */ | ||
161 | @Override | ||
162 | protected EClass eStaticClass() { | ||
163 | return SimpleScenarioPackage.Literals.LANE; | ||
164 | } | ||
165 | |||
166 | /** | ||
167 | * <!-- begin-user-doc --> | ||
168 | * <!-- end-user-doc --> | ||
169 | * @generated | ||
170 | */ | ||
171 | @Override | ||
172 | public Orientation getOrientation() { | ||
173 | return orientation; | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @Override | ||
182 | public void setOrientation(Orientation newOrientation) { | ||
183 | Orientation oldOrientation = orientation; | ||
184 | orientation = newOrientation == null ? ORIENTATION_EDEFAULT : newOrientation; | ||
185 | if (eNotificationRequired()) | ||
186 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.LANE__ORIENTATION, oldOrientation, orientation)); | ||
187 | } | ||
188 | |||
189 | /** | ||
190 | * <!-- begin-user-doc --> | ||
191 | * <!-- end-user-doc --> | ||
192 | * @generated | ||
193 | */ | ||
194 | @Override | ||
195 | public Size getWidth() { | ||
196 | return width; | ||
197 | } | ||
198 | |||
199 | /** | ||
200 | * <!-- begin-user-doc --> | ||
201 | * <!-- end-user-doc --> | ||
202 | * @generated | ||
203 | */ | ||
204 | @Override | ||
205 | public void setWidth(Size newWidth) { | ||
206 | Size oldWidth = width; | ||
207 | width = newWidth == null ? WIDTH_EDEFAULT : newWidth; | ||
208 | if (eNotificationRequired()) | ||
209 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.LANE__WIDTH, oldWidth, width)); | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * <!-- begin-user-doc --> | ||
214 | * <!-- end-user-doc --> | ||
215 | * @generated | ||
216 | */ | ||
217 | @Override | ||
218 | public double getReferenceCoord() { | ||
219 | return referenceCoord; | ||
220 | } | ||
221 | |||
222 | /** | ||
223 | * <!-- begin-user-doc --> | ||
224 | * <!-- end-user-doc --> | ||
225 | * @generated | ||
226 | */ | ||
227 | @Override | ||
228 | public void setReferenceCoord(double newReferenceCoord) { | ||
229 | double oldReferenceCoord = referenceCoord; | ||
230 | referenceCoord = newReferenceCoord; | ||
231 | if (eNotificationRequired()) | ||
232 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.LANE__REFERENCE_COORD, oldReferenceCoord, referenceCoord)); | ||
233 | } | ||
234 | |||
235 | /** | ||
236 | * <!-- begin-user-doc --> | ||
237 | * <!-- end-user-doc --> | ||
238 | * @generated | ||
239 | */ | ||
240 | @Override | ||
241 | public EList<Lane> getAdjacent() { | ||
242 | if (adjacent == null) { | ||
243 | adjacent = new EObjectResolvingEList<Lane>(Lane.class, this, SimpleScenarioPackage.LANE__ADJACENT); | ||
244 | } | ||
245 | return adjacent; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public EList<Actor> getActors() { | ||
255 | if (actors == null) { | ||
256 | actors = new EObjectWithInverseResolvingEList<Actor>(Actor.class, this, SimpleScenarioPackage.LANE__ACTORS, SimpleScenarioPackage.ACTOR__PLACED_ON); | ||
257 | } | ||
258 | return actors; | ||
259 | } | ||
260 | |||
261 | /** | ||
262 | * <!-- begin-user-doc --> | ||
263 | * <!-- end-user-doc --> | ||
264 | * @generated | ||
265 | */ | ||
266 | @Override | ||
267 | public double getWidthNum() { | ||
268 | return widthNum; | ||
269 | } | ||
270 | |||
271 | /** | ||
272 | * <!-- begin-user-doc --> | ||
273 | * <!-- end-user-doc --> | ||
274 | * @generated | ||
275 | */ | ||
276 | @Override | ||
277 | public void setWidthNum(double newWidthNum) { | ||
278 | double oldWidthNum = widthNum; | ||
279 | widthNum = newWidthNum; | ||
280 | if (eNotificationRequired()) | ||
281 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.LANE__WIDTH_NUM, oldWidthNum, widthNum)); | ||
282 | } | ||
283 | |||
284 | /** | ||
285 | * <!-- begin-user-doc --> | ||
286 | * <!-- end-user-doc --> | ||
287 | * @generated | ||
288 | */ | ||
289 | @SuppressWarnings("unchecked") | ||
290 | @Override | ||
291 | public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
292 | switch (featureID) { | ||
293 | case SimpleScenarioPackage.LANE__ACTORS: | ||
294 | return ((InternalEList<InternalEObject>)(InternalEList<?>)getActors()).basicAdd(otherEnd, msgs); | ||
295 | } | ||
296 | return super.eInverseAdd(otherEnd, featureID, msgs); | ||
297 | } | ||
298 | |||
299 | /** | ||
300 | * <!-- begin-user-doc --> | ||
301 | * <!-- end-user-doc --> | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
306 | switch (featureID) { | ||
307 | case SimpleScenarioPackage.LANE__ACTORS: | ||
308 | return ((InternalEList<?>)getActors()).basicRemove(otherEnd, msgs); | ||
309 | } | ||
310 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
311 | } | ||
312 | |||
313 | /** | ||
314 | * <!-- begin-user-doc --> | ||
315 | * <!-- end-user-doc --> | ||
316 | * @generated | ||
317 | */ | ||
318 | @Override | ||
319 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
320 | switch (featureID) { | ||
321 | case SimpleScenarioPackage.LANE__ORIENTATION: | ||
322 | return getOrientation(); | ||
323 | case SimpleScenarioPackage.LANE__WIDTH: | ||
324 | return getWidth(); | ||
325 | case SimpleScenarioPackage.LANE__REFERENCE_COORD: | ||
326 | return getReferenceCoord(); | ||
327 | case SimpleScenarioPackage.LANE__ADJACENT: | ||
328 | return getAdjacent(); | ||
329 | case SimpleScenarioPackage.LANE__ACTORS: | ||
330 | return getActors(); | ||
331 | case SimpleScenarioPackage.LANE__WIDTH_NUM: | ||
332 | return getWidthNum(); | ||
333 | } | ||
334 | return super.eGet(featureID, resolve, coreType); | ||
335 | } | ||
336 | |||
337 | /** | ||
338 | * <!-- begin-user-doc --> | ||
339 | * <!-- end-user-doc --> | ||
340 | * @generated | ||
341 | */ | ||
342 | @SuppressWarnings("unchecked") | ||
343 | @Override | ||
344 | public void eSet(int featureID, Object newValue) { | ||
345 | switch (featureID) { | ||
346 | case SimpleScenarioPackage.LANE__ORIENTATION: | ||
347 | setOrientation((Orientation)newValue); | ||
348 | return; | ||
349 | case SimpleScenarioPackage.LANE__WIDTH: | ||
350 | setWidth((Size)newValue); | ||
351 | return; | ||
352 | case SimpleScenarioPackage.LANE__REFERENCE_COORD: | ||
353 | setReferenceCoord((Double)newValue); | ||
354 | return; | ||
355 | case SimpleScenarioPackage.LANE__ADJACENT: | ||
356 | getAdjacent().clear(); | ||
357 | getAdjacent().addAll((Collection<? extends Lane>)newValue); | ||
358 | return; | ||
359 | case SimpleScenarioPackage.LANE__ACTORS: | ||
360 | getActors().clear(); | ||
361 | getActors().addAll((Collection<? extends Actor>)newValue); | ||
362 | return; | ||
363 | case SimpleScenarioPackage.LANE__WIDTH_NUM: | ||
364 | setWidthNum((Double)newValue); | ||
365 | return; | ||
366 | } | ||
367 | super.eSet(featureID, newValue); | ||
368 | } | ||
369 | |||
370 | /** | ||
371 | * <!-- begin-user-doc --> | ||
372 | * <!-- end-user-doc --> | ||
373 | * @generated | ||
374 | */ | ||
375 | @Override | ||
376 | public void eUnset(int featureID) { | ||
377 | switch (featureID) { | ||
378 | case SimpleScenarioPackage.LANE__ORIENTATION: | ||
379 | setOrientation(ORIENTATION_EDEFAULT); | ||
380 | return; | ||
381 | case SimpleScenarioPackage.LANE__WIDTH: | ||
382 | setWidth(WIDTH_EDEFAULT); | ||
383 | return; | ||
384 | case SimpleScenarioPackage.LANE__REFERENCE_COORD: | ||
385 | setReferenceCoord(REFERENCE_COORD_EDEFAULT); | ||
386 | return; | ||
387 | case SimpleScenarioPackage.LANE__ADJACENT: | ||
388 | getAdjacent().clear(); | ||
389 | return; | ||
390 | case SimpleScenarioPackage.LANE__ACTORS: | ||
391 | getActors().clear(); | ||
392 | return; | ||
393 | case SimpleScenarioPackage.LANE__WIDTH_NUM: | ||
394 | setWidthNum(WIDTH_NUM_EDEFAULT); | ||
395 | return; | ||
396 | } | ||
397 | super.eUnset(featureID); | ||
398 | } | ||
399 | |||
400 | /** | ||
401 | * <!-- begin-user-doc --> | ||
402 | * <!-- end-user-doc --> | ||
403 | * @generated | ||
404 | */ | ||
405 | @Override | ||
406 | public boolean eIsSet(int featureID) { | ||
407 | switch (featureID) { | ||
408 | case SimpleScenarioPackage.LANE__ORIENTATION: | ||
409 | return orientation != ORIENTATION_EDEFAULT; | ||
410 | case SimpleScenarioPackage.LANE__WIDTH: | ||
411 | return width != WIDTH_EDEFAULT; | ||
412 | case SimpleScenarioPackage.LANE__REFERENCE_COORD: | ||
413 | return referenceCoord != REFERENCE_COORD_EDEFAULT; | ||
414 | case SimpleScenarioPackage.LANE__ADJACENT: | ||
415 | return adjacent != null && !adjacent.isEmpty(); | ||
416 | case SimpleScenarioPackage.LANE__ACTORS: | ||
417 | return actors != null && !actors.isEmpty(); | ||
418 | case SimpleScenarioPackage.LANE__WIDTH_NUM: | ||
419 | return widthNum != WIDTH_NUM_EDEFAULT; | ||
420 | } | ||
421 | return super.eIsSet(featureID); | ||
422 | } | ||
423 | |||
424 | /** | ||
425 | * <!-- begin-user-doc --> | ||
426 | * <!-- end-user-doc --> | ||
427 | * @generated | ||
428 | */ | ||
429 | @Override | ||
430 | public String toString() { | ||
431 | if (eIsProxy()) return super.toString(); | ||
432 | |||
433 | StringBuilder result = new StringBuilder(super.toString()); | ||
434 | result.append(" (orientation: "); | ||
435 | result.append(orientation); | ||
436 | result.append(", width: "); | ||
437 | result.append(width); | ||
438 | result.append(", referenceCoord: "); | ||
439 | result.append(referenceCoord); | ||
440 | result.append(", widthNum: "); | ||
441 | result.append(widthNum); | ||
442 | result.append(')'); | ||
443 | return result.toString(); | ||
444 | } | ||
445 | |||
446 | } //LaneImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/RelationImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/RelationImpl.java new file mode 100644 index 00000000..a8ddd386 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/RelationImpl.java | |||
@@ -0,0 +1,159 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.InternalEObject; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
12 | |||
13 | import simpleScenario.Actor; | ||
14 | import simpleScenario.Relation; | ||
15 | import simpleScenario.SimpleScenarioPackage; | ||
16 | |||
17 | /** | ||
18 | * <!-- begin-user-doc --> | ||
19 | * An implementation of the model object '<em><b>Relation</b></em>'. | ||
20 | * <!-- end-user-doc --> | ||
21 | * <p> | ||
22 | * The following features are implemented: | ||
23 | * </p> | ||
24 | * <ul> | ||
25 | * <li>{@link simpleScenario.impl.RelationImpl#getTarget <em>Target</em>}</li> | ||
26 | * </ul> | ||
27 | * | ||
28 | * @generated | ||
29 | */ | ||
30 | public abstract class RelationImpl extends MinimalEObjectImpl.Container implements Relation { | ||
31 | /** | ||
32 | * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @see #getTarget() | ||
36 | * @generated | ||
37 | * @ordered | ||
38 | */ | ||
39 | protected Actor target; | ||
40 | |||
41 | /** | ||
42 | * <!-- begin-user-doc --> | ||
43 | * <!-- end-user-doc --> | ||
44 | * @generated | ||
45 | */ | ||
46 | protected RelationImpl() { | ||
47 | super(); | ||
48 | } | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | @Override | ||
56 | protected EClass eStaticClass() { | ||
57 | return SimpleScenarioPackage.Literals.RELATION; | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @generated | ||
64 | */ | ||
65 | @Override | ||
66 | public Actor getTarget() { | ||
67 | if (target != null && target.eIsProxy()) { | ||
68 | InternalEObject oldTarget = (InternalEObject)target; | ||
69 | target = (Actor)eResolveProxy(oldTarget); | ||
70 | if (target != oldTarget) { | ||
71 | if (eNotificationRequired()) | ||
72 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SimpleScenarioPackage.RELATION__TARGET, oldTarget, target)); | ||
73 | } | ||
74 | } | ||
75 | return target; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | public Actor basicGetTarget() { | ||
84 | return target; | ||
85 | } | ||
86 | |||
87 | /** | ||
88 | * <!-- begin-user-doc --> | ||
89 | * <!-- end-user-doc --> | ||
90 | * @generated | ||
91 | */ | ||
92 | @Override | ||
93 | public void setTarget(Actor newTarget) { | ||
94 | Actor oldTarget = target; | ||
95 | target = newTarget; | ||
96 | if (eNotificationRequired()) | ||
97 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.RELATION__TARGET, oldTarget, target)); | ||
98 | } | ||
99 | |||
100 | /** | ||
101 | * <!-- begin-user-doc --> | ||
102 | * <!-- end-user-doc --> | ||
103 | * @generated | ||
104 | */ | ||
105 | @Override | ||
106 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
107 | switch (featureID) { | ||
108 | case SimpleScenarioPackage.RELATION__TARGET: | ||
109 | if (resolve) return getTarget(); | ||
110 | return basicGetTarget(); | ||
111 | } | ||
112 | return super.eGet(featureID, resolve, coreType); | ||
113 | } | ||
114 | |||
115 | /** | ||
116 | * <!-- begin-user-doc --> | ||
117 | * <!-- end-user-doc --> | ||
118 | * @generated | ||
119 | */ | ||
120 | @Override | ||
121 | public void eSet(int featureID, Object newValue) { | ||
122 | switch (featureID) { | ||
123 | case SimpleScenarioPackage.RELATION__TARGET: | ||
124 | setTarget((Actor)newValue); | ||
125 | return; | ||
126 | } | ||
127 | super.eSet(featureID, newValue); | ||
128 | } | ||
129 | |||
130 | /** | ||
131 | * <!-- begin-user-doc --> | ||
132 | * <!-- end-user-doc --> | ||
133 | * @generated | ||
134 | */ | ||
135 | @Override | ||
136 | public void eUnset(int featureID) { | ||
137 | switch (featureID) { | ||
138 | case SimpleScenarioPackage.RELATION__TARGET: | ||
139 | setTarget((Actor)null); | ||
140 | return; | ||
141 | } | ||
142 | super.eUnset(featureID); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public boolean eIsSet(int featureID) { | ||
152 | switch (featureID) { | ||
153 | case SimpleScenarioPackage.RELATION__TARGET: | ||
154 | return target != null; | ||
155 | } | ||
156 | return super.eIsSet(featureID); | ||
157 | } | ||
158 | |||
159 | } //RelationImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SeperationDistanceImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SeperationDistanceImpl.java new file mode 100644 index 00000000..12a4d73c --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SeperationDistanceImpl.java | |||
@@ -0,0 +1,165 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | |||
9 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | |||
11 | import simpleScenario.SeperationDistance; | ||
12 | import simpleScenario.SimpleScenarioPackage; | ||
13 | import simpleScenario.Size; | ||
14 | |||
15 | /** | ||
16 | * <!-- begin-user-doc --> | ||
17 | * An implementation of the model object '<em><b>Seperation Distance</b></em>'. | ||
18 | * <!-- end-user-doc --> | ||
19 | * <p> | ||
20 | * The following features are implemented: | ||
21 | * </p> | ||
22 | * <ul> | ||
23 | * <li>{@link simpleScenario.impl.SeperationDistanceImpl#getDistance <em>Distance</em>}</li> | ||
24 | * </ul> | ||
25 | * | ||
26 | * @generated | ||
27 | */ | ||
28 | public class SeperationDistanceImpl extends SpatialRelationImpl implements SeperationDistance { | ||
29 | /** | ||
30 | * The default value of the '{@link #getDistance() <em>Distance</em>}' attribute. | ||
31 | * <!-- begin-user-doc --> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @see #getDistance() | ||
34 | * @generated | ||
35 | * @ordered | ||
36 | */ | ||
37 | protected static final Size DISTANCE_EDEFAULT = Size.SMALL; | ||
38 | |||
39 | /** | ||
40 | * The cached value of the '{@link #getDistance() <em>Distance</em>}' attribute. | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @see #getDistance() | ||
44 | * @generated | ||
45 | * @ordered | ||
46 | */ | ||
47 | protected Size distance = DISTANCE_EDEFAULT; | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | protected SeperationDistanceImpl() { | ||
55 | super(); | ||
56 | } | ||
57 | |||
58 | /** | ||
59 | * <!-- begin-user-doc --> | ||
60 | * <!-- end-user-doc --> | ||
61 | * @generated | ||
62 | */ | ||
63 | @Override | ||
64 | protected EClass eStaticClass() { | ||
65 | return SimpleScenarioPackage.Literals.SEPERATION_DISTANCE; | ||
66 | } | ||
67 | |||
68 | /** | ||
69 | * <!-- begin-user-doc --> | ||
70 | * <!-- end-user-doc --> | ||
71 | * @generated | ||
72 | */ | ||
73 | @Override | ||
74 | public Size getDistance() { | ||
75 | return distance; | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | @Override | ||
84 | public void setDistance(Size newDistance) { | ||
85 | Size oldDistance = distance; | ||
86 | distance = newDistance == null ? DISTANCE_EDEFAULT : newDistance; | ||
87 | if (eNotificationRequired()) | ||
88 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.SEPERATION_DISTANCE__DISTANCE, oldDistance, distance)); | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
98 | switch (featureID) { | ||
99 | case SimpleScenarioPackage.SEPERATION_DISTANCE__DISTANCE: | ||
100 | return getDistance(); | ||
101 | } | ||
102 | return super.eGet(featureID, resolve, coreType); | ||
103 | } | ||
104 | |||
105 | /** | ||
106 | * <!-- begin-user-doc --> | ||
107 | * <!-- end-user-doc --> | ||
108 | * @generated | ||
109 | */ | ||
110 | @Override | ||
111 | public void eSet(int featureID, Object newValue) { | ||
112 | switch (featureID) { | ||
113 | case SimpleScenarioPackage.SEPERATION_DISTANCE__DISTANCE: | ||
114 | setDistance((Size)newValue); | ||
115 | return; | ||
116 | } | ||
117 | super.eSet(featureID, newValue); | ||
118 | } | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | @Override | ||
126 | public void eUnset(int featureID) { | ||
127 | switch (featureID) { | ||
128 | case SimpleScenarioPackage.SEPERATION_DISTANCE__DISTANCE: | ||
129 | setDistance(DISTANCE_EDEFAULT); | ||
130 | return; | ||
131 | } | ||
132 | super.eUnset(featureID); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | @Override | ||
141 | public boolean eIsSet(int featureID) { | ||
142 | switch (featureID) { | ||
143 | case SimpleScenarioPackage.SEPERATION_DISTANCE__DISTANCE: | ||
144 | return distance != DISTANCE_EDEFAULT; | ||
145 | } | ||
146 | return super.eIsSet(featureID); | ||
147 | } | ||
148 | |||
149 | /** | ||
150 | * <!-- begin-user-doc --> | ||
151 | * <!-- end-user-doc --> | ||
152 | * @generated | ||
153 | */ | ||
154 | @Override | ||
155 | public String toString() { | ||
156 | if (eIsProxy()) return super.toString(); | ||
157 | |||
158 | StringBuilder result = new StringBuilder(super.toString()); | ||
159 | result.append(" (distance: "); | ||
160 | result.append(distance); | ||
161 | result.append(')'); | ||
162 | return result.toString(); | ||
163 | } | ||
164 | |||
165 | } //SeperationDistanceImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioFactoryImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioFactoryImpl.java new file mode 100644 index 00000000..c3237012 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioFactoryImpl.java | |||
@@ -0,0 +1,268 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | import org.eclipse.emf.ecore.EDataType; | ||
7 | import org.eclipse.emf.ecore.EObject; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.EFactoryImpl; | ||
11 | |||
12 | import org.eclipse.emf.ecore.plugin.EcorePlugin; | ||
13 | |||
14 | import simpleScenario.*; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model <b>Factory</b>. | ||
19 | * <!-- end-user-doc --> | ||
20 | * @generated | ||
21 | */ | ||
22 | public class SimpleScenarioFactoryImpl extends EFactoryImpl implements SimpleScenarioFactory { | ||
23 | /** | ||
24 | * Creates the default factory implementation. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | public static SimpleScenarioFactory init() { | ||
30 | try { | ||
31 | SimpleScenarioFactory theSimpleScenarioFactory = (SimpleScenarioFactory)EPackage.Registry.INSTANCE.getEFactory(SimpleScenarioPackage.eNS_URI); | ||
32 | if (theSimpleScenarioFactory != null) { | ||
33 | return theSimpleScenarioFactory; | ||
34 | } | ||
35 | } | ||
36 | catch (Exception exception) { | ||
37 | EcorePlugin.INSTANCE.log(exception); | ||
38 | } | ||
39 | return new SimpleScenarioFactoryImpl(); | ||
40 | } | ||
41 | |||
42 | /** | ||
43 | * Creates an instance of the factory. | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | public SimpleScenarioFactoryImpl() { | ||
49 | super(); | ||
50 | } | ||
51 | |||
52 | /** | ||
53 | * <!-- begin-user-doc --> | ||
54 | * <!-- end-user-doc --> | ||
55 | * @generated | ||
56 | */ | ||
57 | @Override | ||
58 | public EObject create(EClass eClass) { | ||
59 | switch (eClass.getClassifierID()) { | ||
60 | case SimpleScenarioPackage.SIMPLE_SCENARIO: return createSimpleScenario(); | ||
61 | case SimpleScenarioPackage.LANE: return createLane(); | ||
62 | case SimpleScenarioPackage.ACTOR: return createActor(); | ||
63 | case SimpleScenarioPackage.VISION_BLOCKED: return createVisionBlocked(); | ||
64 | case SimpleScenarioPackage.SEPERATION_DISTANCE: return createSeperationDistance(); | ||
65 | case SimpleScenarioPackage.COLLISION_EXISTS: return createCollisionExists(); | ||
66 | case SimpleScenarioPackage.COLLISION_DOES_NOT_EXIST: return createCollisionDoesNotExist(); | ||
67 | default: | ||
68 | throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); | ||
69 | } | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * <!-- begin-user-doc --> | ||
74 | * <!-- end-user-doc --> | ||
75 | * @generated | ||
76 | */ | ||
77 | @Override | ||
78 | public Object createFromString(EDataType eDataType, String initialValue) { | ||
79 | switch (eDataType.getClassifierID()) { | ||
80 | case SimpleScenarioPackage.ORIENTATION: | ||
81 | return createOrientationFromString(eDataType, initialValue); | ||
82 | case SimpleScenarioPackage.SIZE: | ||
83 | return createSizeFromString(eDataType, initialValue); | ||
84 | case SimpleScenarioPackage.ACTOR_TYPE: | ||
85 | return createActorTypeFromString(eDataType, initialValue); | ||
86 | default: | ||
87 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
88 | } | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | @Override | ||
97 | public String convertToString(EDataType eDataType, Object instanceValue) { | ||
98 | switch (eDataType.getClassifierID()) { | ||
99 | case SimpleScenarioPackage.ORIENTATION: | ||
100 | return convertOrientationToString(eDataType, instanceValue); | ||
101 | case SimpleScenarioPackage.SIZE: | ||
102 | return convertSizeToString(eDataType, instanceValue); | ||
103 | case SimpleScenarioPackage.ACTOR_TYPE: | ||
104 | return convertActorTypeToString(eDataType, instanceValue); | ||
105 | default: | ||
106 | throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); | ||
107 | } | ||
108 | } | ||
109 | |||
110 | /** | ||
111 | * <!-- begin-user-doc --> | ||
112 | * <!-- end-user-doc --> | ||
113 | * @generated | ||
114 | */ | ||
115 | @Override | ||
116 | public SimpleScenario createSimpleScenario() { | ||
117 | SimpleScenarioImpl simpleScenario = new SimpleScenarioImpl(); | ||
118 | return simpleScenario; | ||
119 | } | ||
120 | |||
121 | /** | ||
122 | * <!-- begin-user-doc --> | ||
123 | * <!-- end-user-doc --> | ||
124 | * @generated | ||
125 | */ | ||
126 | @Override | ||
127 | public Lane createLane() { | ||
128 | LaneImpl lane = new LaneImpl(); | ||
129 | return lane; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public Actor createActor() { | ||
139 | ActorImpl actor = new ActorImpl(); | ||
140 | return actor; | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * <!-- begin-user-doc --> | ||
145 | * <!-- end-user-doc --> | ||
146 | * @generated | ||
147 | */ | ||
148 | @Override | ||
149 | public VisionBlocked createVisionBlocked() { | ||
150 | VisionBlockedImpl visionBlocked = new VisionBlockedImpl(); | ||
151 | return visionBlocked; | ||
152 | } | ||
153 | |||
154 | /** | ||
155 | * <!-- begin-user-doc --> | ||
156 | * <!-- end-user-doc --> | ||
157 | * @generated | ||
158 | */ | ||
159 | @Override | ||
160 | public SeperationDistance createSeperationDistance() { | ||
161 | SeperationDistanceImpl seperationDistance = new SeperationDistanceImpl(); | ||
162 | return seperationDistance; | ||
163 | } | ||
164 | |||
165 | /** | ||
166 | * <!-- begin-user-doc --> | ||
167 | * <!-- end-user-doc --> | ||
168 | * @generated | ||
169 | */ | ||
170 | @Override | ||
171 | public CollisionExists createCollisionExists() { | ||
172 | CollisionExistsImpl collisionExists = new CollisionExistsImpl(); | ||
173 | return collisionExists; | ||
174 | } | ||
175 | |||
176 | /** | ||
177 | * <!-- begin-user-doc --> | ||
178 | * <!-- end-user-doc --> | ||
179 | * @generated | ||
180 | */ | ||
181 | @Override | ||
182 | public CollisionDoesNotExist createCollisionDoesNotExist() { | ||
183 | CollisionDoesNotExistImpl collisionDoesNotExist = new CollisionDoesNotExistImpl(); | ||
184 | return collisionDoesNotExist; | ||
185 | } | ||
186 | |||
187 | /** | ||
188 | * <!-- begin-user-doc --> | ||
189 | * <!-- end-user-doc --> | ||
190 | * @generated | ||
191 | */ | ||
192 | public Orientation createOrientationFromString(EDataType eDataType, String initialValue) { | ||
193 | Orientation result = Orientation.get(initialValue); | ||
194 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
195 | return result; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | public String convertOrientationToString(EDataType eDataType, Object instanceValue) { | ||
204 | return instanceValue == null ? null : instanceValue.toString(); | ||
205 | } | ||
206 | |||
207 | /** | ||
208 | * <!-- begin-user-doc --> | ||
209 | * <!-- end-user-doc --> | ||
210 | * @generated | ||
211 | */ | ||
212 | public Size createSizeFromString(EDataType eDataType, String initialValue) { | ||
213 | Size result = Size.get(initialValue); | ||
214 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
215 | return result; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | public String convertSizeToString(EDataType eDataType, Object instanceValue) { | ||
224 | return instanceValue == null ? null : instanceValue.toString(); | ||
225 | } | ||
226 | |||
227 | /** | ||
228 | * <!-- begin-user-doc --> | ||
229 | * <!-- end-user-doc --> | ||
230 | * @generated | ||
231 | */ | ||
232 | public ActorType createActorTypeFromString(EDataType eDataType, String initialValue) { | ||
233 | ActorType result = ActorType.get(initialValue); | ||
234 | if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); | ||
235 | return result; | ||
236 | } | ||
237 | |||
238 | /** | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @generated | ||
242 | */ | ||
243 | public String convertActorTypeToString(EDataType eDataType, Object instanceValue) { | ||
244 | return instanceValue == null ? null : instanceValue.toString(); | ||
245 | } | ||
246 | |||
247 | /** | ||
248 | * <!-- begin-user-doc --> | ||
249 | * <!-- end-user-doc --> | ||
250 | * @generated | ||
251 | */ | ||
252 | @Override | ||
253 | public SimpleScenarioPackage getSimpleScenarioPackage() { | ||
254 | return (SimpleScenarioPackage)getEPackage(); | ||
255 | } | ||
256 | |||
257 | /** | ||
258 | * <!-- begin-user-doc --> | ||
259 | * <!-- end-user-doc --> | ||
260 | * @deprecated | ||
261 | * @generated | ||
262 | */ | ||
263 | @Deprecated | ||
264 | public static SimpleScenarioPackage getPackage() { | ||
265 | return SimpleScenarioPackage.eINSTANCE; | ||
266 | } | ||
267 | |||
268 | } //SimpleScenarioFactoryImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioImpl.java new file mode 100644 index 00000000..9d542c65 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioImpl.java | |||
@@ -0,0 +1,319 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import java.util.Collection; | ||
6 | |||
7 | import org.eclipse.emf.common.notify.Notification; | ||
8 | import org.eclipse.emf.common.notify.NotificationChain; | ||
9 | |||
10 | import org.eclipse.emf.common.util.EList; | ||
11 | |||
12 | import org.eclipse.emf.ecore.EClass; | ||
13 | import org.eclipse.emf.ecore.InternalEObject; | ||
14 | |||
15 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
16 | import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; | ||
17 | |||
18 | import org.eclipse.emf.ecore.util.EObjectContainmentEList; | ||
19 | import org.eclipse.emf.ecore.util.InternalEList; | ||
20 | |||
21 | import simpleScenario.Actor; | ||
22 | import simpleScenario.Lane; | ||
23 | import simpleScenario.SimpleScenario; | ||
24 | import simpleScenario.SimpleScenarioPackage; | ||
25 | |||
26 | /** | ||
27 | * <!-- begin-user-doc --> | ||
28 | * An implementation of the model object '<em><b>Simple Scenario</b></em>'. | ||
29 | * <!-- end-user-doc --> | ||
30 | * <p> | ||
31 | * The following features are implemented: | ||
32 | * </p> | ||
33 | * <ul> | ||
34 | * <li>{@link simpleScenario.impl.SimpleScenarioImpl#getXSize <em>XSize</em>}</li> | ||
35 | * <li>{@link simpleScenario.impl.SimpleScenarioImpl#getYSize <em>YSize</em>}</li> | ||
36 | * <li>{@link simpleScenario.impl.SimpleScenarioImpl#getActors <em>Actors</em>}</li> | ||
37 | * <li>{@link simpleScenario.impl.SimpleScenarioImpl#getLanes <em>Lanes</em>}</li> | ||
38 | * </ul> | ||
39 | * | ||
40 | * @generated | ||
41 | */ | ||
42 | public class SimpleScenarioImpl extends MinimalEObjectImpl.Container implements SimpleScenario { | ||
43 | /** | ||
44 | * The default value of the '{@link #getXSize() <em>XSize</em>}' attribute. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * <!-- end-user-doc --> | ||
47 | * @see #getXSize() | ||
48 | * @generated | ||
49 | * @ordered | ||
50 | */ | ||
51 | protected static final double XSIZE_EDEFAULT = 0.0; | ||
52 | |||
53 | /** | ||
54 | * The cached value of the '{@link #getXSize() <em>XSize</em>}' attribute. | ||
55 | * <!-- begin-user-doc --> | ||
56 | * <!-- end-user-doc --> | ||
57 | * @see #getXSize() | ||
58 | * @generated | ||
59 | * @ordered | ||
60 | */ | ||
61 | protected double xSize = XSIZE_EDEFAULT; | ||
62 | |||
63 | /** | ||
64 | * The default value of the '{@link #getYSize() <em>YSize</em>}' attribute. | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @see #getYSize() | ||
68 | * @generated | ||
69 | * @ordered | ||
70 | */ | ||
71 | protected static final double YSIZE_EDEFAULT = 0.0; | ||
72 | |||
73 | /** | ||
74 | * The cached value of the '{@link #getYSize() <em>YSize</em>}' attribute. | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @see #getYSize() | ||
78 | * @generated | ||
79 | * @ordered | ||
80 | */ | ||
81 | protected double ySize = YSIZE_EDEFAULT; | ||
82 | |||
83 | /** | ||
84 | * The cached value of the '{@link #getActors() <em>Actors</em>}' containment reference list. | ||
85 | * <!-- begin-user-doc --> | ||
86 | * <!-- end-user-doc --> | ||
87 | * @see #getActors() | ||
88 | * @generated | ||
89 | * @ordered | ||
90 | */ | ||
91 | protected EList<Actor> actors; | ||
92 | |||
93 | /** | ||
94 | * The cached value of the '{@link #getLanes() <em>Lanes</em>}' containment reference list. | ||
95 | * <!-- begin-user-doc --> | ||
96 | * <!-- end-user-doc --> | ||
97 | * @see #getLanes() | ||
98 | * @generated | ||
99 | * @ordered | ||
100 | */ | ||
101 | protected EList<Lane> lanes; | ||
102 | |||
103 | /** | ||
104 | * <!-- begin-user-doc --> | ||
105 | * <!-- end-user-doc --> | ||
106 | * @generated | ||
107 | */ | ||
108 | protected SimpleScenarioImpl() { | ||
109 | super(); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | protected EClass eStaticClass() { | ||
119 | return SimpleScenarioPackage.Literals.SIMPLE_SCENARIO; | ||
120 | } | ||
121 | |||
122 | /** | ||
123 | * <!-- begin-user-doc --> | ||
124 | * <!-- end-user-doc --> | ||
125 | * @generated | ||
126 | */ | ||
127 | @Override | ||
128 | public double getXSize() { | ||
129 | return xSize; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * <!-- begin-user-doc --> | ||
134 | * <!-- end-user-doc --> | ||
135 | * @generated | ||
136 | */ | ||
137 | @Override | ||
138 | public void setXSize(double newXSize) { | ||
139 | double oldXSize = xSize; | ||
140 | xSize = newXSize; | ||
141 | if (eNotificationRequired()) | ||
142 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.SIMPLE_SCENARIO__XSIZE, oldXSize, xSize)); | ||
143 | } | ||
144 | |||
145 | /** | ||
146 | * <!-- begin-user-doc --> | ||
147 | * <!-- end-user-doc --> | ||
148 | * @generated | ||
149 | */ | ||
150 | @Override | ||
151 | public double getYSize() { | ||
152 | return ySize; | ||
153 | } | ||
154 | |||
155 | /** | ||
156 | * <!-- begin-user-doc --> | ||
157 | * <!-- end-user-doc --> | ||
158 | * @generated | ||
159 | */ | ||
160 | @Override | ||
161 | public void setYSize(double newYSize) { | ||
162 | double oldYSize = ySize; | ||
163 | ySize = newYSize; | ||
164 | if (eNotificationRequired()) | ||
165 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.SIMPLE_SCENARIO__YSIZE, oldYSize, ySize)); | ||
166 | } | ||
167 | |||
168 | /** | ||
169 | * <!-- begin-user-doc --> | ||
170 | * <!-- end-user-doc --> | ||
171 | * @generated | ||
172 | */ | ||
173 | @Override | ||
174 | public EList<Actor> getActors() { | ||
175 | if (actors == null) { | ||
176 | actors = new EObjectContainmentEList<Actor>(Actor.class, this, SimpleScenarioPackage.SIMPLE_SCENARIO__ACTORS); | ||
177 | } | ||
178 | return actors; | ||
179 | } | ||
180 | |||
181 | /** | ||
182 | * <!-- begin-user-doc --> | ||
183 | * <!-- end-user-doc --> | ||
184 | * @generated | ||
185 | */ | ||
186 | @Override | ||
187 | public EList<Lane> getLanes() { | ||
188 | if (lanes == null) { | ||
189 | lanes = new EObjectContainmentEList<Lane>(Lane.class, this, SimpleScenarioPackage.SIMPLE_SCENARIO__LANES); | ||
190 | } | ||
191 | return lanes; | ||
192 | } | ||
193 | |||
194 | /** | ||
195 | * <!-- begin-user-doc --> | ||
196 | * <!-- end-user-doc --> | ||
197 | * @generated | ||
198 | */ | ||
199 | @Override | ||
200 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { | ||
201 | switch (featureID) { | ||
202 | case SimpleScenarioPackage.SIMPLE_SCENARIO__ACTORS: | ||
203 | return ((InternalEList<?>)getActors()).basicRemove(otherEnd, msgs); | ||
204 | case SimpleScenarioPackage.SIMPLE_SCENARIO__LANES: | ||
205 | return ((InternalEList<?>)getLanes()).basicRemove(otherEnd, msgs); | ||
206 | } | ||
207 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
208 | } | ||
209 | |||
210 | /** | ||
211 | * <!-- begin-user-doc --> | ||
212 | * <!-- end-user-doc --> | ||
213 | * @generated | ||
214 | */ | ||
215 | @Override | ||
216 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
217 | switch (featureID) { | ||
218 | case SimpleScenarioPackage.SIMPLE_SCENARIO__XSIZE: | ||
219 | return getXSize(); | ||
220 | case SimpleScenarioPackage.SIMPLE_SCENARIO__YSIZE: | ||
221 | return getYSize(); | ||
222 | case SimpleScenarioPackage.SIMPLE_SCENARIO__ACTORS: | ||
223 | return getActors(); | ||
224 | case SimpleScenarioPackage.SIMPLE_SCENARIO__LANES: | ||
225 | return getLanes(); | ||
226 | } | ||
227 | return super.eGet(featureID, resolve, coreType); | ||
228 | } | ||
229 | |||
230 | /** | ||
231 | * <!-- begin-user-doc --> | ||
232 | * <!-- end-user-doc --> | ||
233 | * @generated | ||
234 | */ | ||
235 | @SuppressWarnings("unchecked") | ||
236 | @Override | ||
237 | public void eSet(int featureID, Object newValue) { | ||
238 | switch (featureID) { | ||
239 | case SimpleScenarioPackage.SIMPLE_SCENARIO__XSIZE: | ||
240 | setXSize((Double)newValue); | ||
241 | return; | ||
242 | case SimpleScenarioPackage.SIMPLE_SCENARIO__YSIZE: | ||
243 | setYSize((Double)newValue); | ||
244 | return; | ||
245 | case SimpleScenarioPackage.SIMPLE_SCENARIO__ACTORS: | ||
246 | getActors().clear(); | ||
247 | getActors().addAll((Collection<? extends Actor>)newValue); | ||
248 | return; | ||
249 | case SimpleScenarioPackage.SIMPLE_SCENARIO__LANES: | ||
250 | getLanes().clear(); | ||
251 | getLanes().addAll((Collection<? extends Lane>)newValue); | ||
252 | return; | ||
253 | } | ||
254 | super.eSet(featureID, newValue); | ||
255 | } | ||
256 | |||
257 | /** | ||
258 | * <!-- begin-user-doc --> | ||
259 | * <!-- end-user-doc --> | ||
260 | * @generated | ||
261 | */ | ||
262 | @Override | ||
263 | public void eUnset(int featureID) { | ||
264 | switch (featureID) { | ||
265 | case SimpleScenarioPackage.SIMPLE_SCENARIO__XSIZE: | ||
266 | setXSize(XSIZE_EDEFAULT); | ||
267 | return; | ||
268 | case SimpleScenarioPackage.SIMPLE_SCENARIO__YSIZE: | ||
269 | setYSize(YSIZE_EDEFAULT); | ||
270 | return; | ||
271 | case SimpleScenarioPackage.SIMPLE_SCENARIO__ACTORS: | ||
272 | getActors().clear(); | ||
273 | return; | ||
274 | case SimpleScenarioPackage.SIMPLE_SCENARIO__LANES: | ||
275 | getLanes().clear(); | ||
276 | return; | ||
277 | } | ||
278 | super.eUnset(featureID); | ||
279 | } | ||
280 | |||
281 | /** | ||
282 | * <!-- begin-user-doc --> | ||
283 | * <!-- end-user-doc --> | ||
284 | * @generated | ||
285 | */ | ||
286 | @Override | ||
287 | public boolean eIsSet(int featureID) { | ||
288 | switch (featureID) { | ||
289 | case SimpleScenarioPackage.SIMPLE_SCENARIO__XSIZE: | ||
290 | return xSize != XSIZE_EDEFAULT; | ||
291 | case SimpleScenarioPackage.SIMPLE_SCENARIO__YSIZE: | ||
292 | return ySize != YSIZE_EDEFAULT; | ||
293 | case SimpleScenarioPackage.SIMPLE_SCENARIO__ACTORS: | ||
294 | return actors != null && !actors.isEmpty(); | ||
295 | case SimpleScenarioPackage.SIMPLE_SCENARIO__LANES: | ||
296 | return lanes != null && !lanes.isEmpty(); | ||
297 | } | ||
298 | return super.eIsSet(featureID); | ||
299 | } | ||
300 | |||
301 | /** | ||
302 | * <!-- begin-user-doc --> | ||
303 | * <!-- end-user-doc --> | ||
304 | * @generated | ||
305 | */ | ||
306 | @Override | ||
307 | public String toString() { | ||
308 | if (eIsProxy()) return super.toString(); | ||
309 | |||
310 | StringBuilder result = new StringBuilder(super.toString()); | ||
311 | result.append(" (xSize: "); | ||
312 | result.append(xSize); | ||
313 | result.append(", ySize: "); | ||
314 | result.append(ySize); | ||
315 | result.append(')'); | ||
316 | return result.toString(); | ||
317 | } | ||
318 | |||
319 | } //SimpleScenarioImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioPackageImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioPackageImpl.java new file mode 100644 index 00000000..cff06365 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SimpleScenarioPackageImpl.java | |||
@@ -0,0 +1,711 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EAttribute; | ||
6 | import org.eclipse.emf.ecore.EClass; | ||
7 | import org.eclipse.emf.ecore.EEnum; | ||
8 | import org.eclipse.emf.ecore.EPackage; | ||
9 | import org.eclipse.emf.ecore.EReference; | ||
10 | |||
11 | import org.eclipse.emf.ecore.impl.EPackageImpl; | ||
12 | |||
13 | import simpleScenario.Actor; | ||
14 | import simpleScenario.ActorType; | ||
15 | import simpleScenario.CollisionDoesNotExist; | ||
16 | import simpleScenario.CollisionExists; | ||
17 | import simpleScenario.Lane; | ||
18 | import simpleScenario.Orientation; | ||
19 | import simpleScenario.Relation; | ||
20 | import simpleScenario.SeperationDistance; | ||
21 | import simpleScenario.SimpleScenario; | ||
22 | import simpleScenario.SimpleScenarioFactory; | ||
23 | import simpleScenario.SimpleScenarioPackage; | ||
24 | import simpleScenario.Size; | ||
25 | import simpleScenario.SpatialRelation; | ||
26 | import simpleScenario.TemporalRelation; | ||
27 | import simpleScenario.VisionBlocked; | ||
28 | |||
29 | /** | ||
30 | * <!-- begin-user-doc --> | ||
31 | * An implementation of the model <b>Package</b>. | ||
32 | * <!-- end-user-doc --> | ||
33 | * @generated | ||
34 | */ | ||
35 | public class SimpleScenarioPackageImpl extends EPackageImpl implements SimpleScenarioPackage { | ||
36 | /** | ||
37 | * <!-- begin-user-doc --> | ||
38 | * <!-- end-user-doc --> | ||
39 | * @generated | ||
40 | */ | ||
41 | private EClass simpleScenarioEClass = null; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | ||
45 | * <!-- end-user-doc --> | ||
46 | * @generated | ||
47 | */ | ||
48 | private EClass laneEClass = null; | ||
49 | |||
50 | /** | ||
51 | * <!-- begin-user-doc --> | ||
52 | * <!-- end-user-doc --> | ||
53 | * @generated | ||
54 | */ | ||
55 | private EClass actorEClass = null; | ||
56 | |||
57 | /** | ||
58 | * <!-- begin-user-doc --> | ||
59 | * <!-- end-user-doc --> | ||
60 | * @generated | ||
61 | */ | ||
62 | private EClass relationEClass = null; | ||
63 | |||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | private EClass spatialRelationEClass = null; | ||
70 | |||
71 | /** | ||
72 | * <!-- begin-user-doc --> | ||
73 | * <!-- end-user-doc --> | ||
74 | * @generated | ||
75 | */ | ||
76 | private EClass temporalRelationEClass = null; | ||
77 | |||
78 | /** | ||
79 | * <!-- begin-user-doc --> | ||
80 | * <!-- end-user-doc --> | ||
81 | * @generated | ||
82 | */ | ||
83 | private EClass visionBlockedEClass = null; | ||
84 | |||
85 | /** | ||
86 | * <!-- begin-user-doc --> | ||
87 | * <!-- end-user-doc --> | ||
88 | * @generated | ||
89 | */ | ||
90 | private EClass seperationDistanceEClass = null; | ||
91 | |||
92 | /** | ||
93 | * <!-- begin-user-doc --> | ||
94 | * <!-- end-user-doc --> | ||
95 | * @generated | ||
96 | */ | ||
97 | private EClass collisionExistsEClass = null; | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | private EClass collisionDoesNotExistEClass = null; | ||
105 | |||
106 | /** | ||
107 | * <!-- begin-user-doc --> | ||
108 | * <!-- end-user-doc --> | ||
109 | * @generated | ||
110 | */ | ||
111 | private EEnum orientationEEnum = null; | ||
112 | |||
113 | /** | ||
114 | * <!-- begin-user-doc --> | ||
115 | * <!-- end-user-doc --> | ||
116 | * @generated | ||
117 | */ | ||
118 | private EEnum sizeEEnum = null; | ||
119 | |||
120 | /** | ||
121 | * <!-- begin-user-doc --> | ||
122 | * <!-- end-user-doc --> | ||
123 | * @generated | ||
124 | */ | ||
125 | private EEnum actorTypeEEnum = null; | ||
126 | |||
127 | /** | ||
128 | * Creates an instance of the model <b>Package</b>, registered with | ||
129 | * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package | ||
130 | * package URI value. | ||
131 | * <p>Note: the correct way to create the package is via the static | ||
132 | * factory method {@link #init init()}, which also performs | ||
133 | * initialization of the package, or returns the registered package, | ||
134 | * if one already exists. | ||
135 | * <!-- begin-user-doc --> | ||
136 | * <!-- end-user-doc --> | ||
137 | * @see org.eclipse.emf.ecore.EPackage.Registry | ||
138 | * @see simpleScenario.SimpleScenarioPackage#eNS_URI | ||
139 | * @see #init() | ||
140 | * @generated | ||
141 | */ | ||
142 | private SimpleScenarioPackageImpl() { | ||
143 | super(eNS_URI, SimpleScenarioFactory.eINSTANCE); | ||
144 | } | ||
145 | |||
146 | /** | ||
147 | * <!-- begin-user-doc --> | ||
148 | * <!-- end-user-doc --> | ||
149 | * @generated | ||
150 | */ | ||
151 | private static boolean isInited = false; | ||
152 | |||
153 | /** | ||
154 | * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. | ||
155 | * | ||
156 | * <p>This method is used to initialize {@link SimpleScenarioPackage#eINSTANCE} when that field is accessed. | ||
157 | * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. | ||
158 | * <!-- begin-user-doc --> | ||
159 | * <!-- end-user-doc --> | ||
160 | * @see #eNS_URI | ||
161 | * @see #createPackageContents() | ||
162 | * @see #initializePackageContents() | ||
163 | * @generated | ||
164 | */ | ||
165 | public static SimpleScenarioPackage init() { | ||
166 | if (isInited) return (SimpleScenarioPackage)EPackage.Registry.INSTANCE.getEPackage(SimpleScenarioPackage.eNS_URI); | ||
167 | |||
168 | // Obtain or create and register package | ||
169 | Object registeredSimpleScenarioPackage = EPackage.Registry.INSTANCE.get(eNS_URI); | ||
170 | SimpleScenarioPackageImpl theSimpleScenarioPackage = registeredSimpleScenarioPackage instanceof SimpleScenarioPackageImpl ? (SimpleScenarioPackageImpl)registeredSimpleScenarioPackage : new SimpleScenarioPackageImpl(); | ||
171 | |||
172 | isInited = true; | ||
173 | |||
174 | // Create package meta-data objects | ||
175 | theSimpleScenarioPackage.createPackageContents(); | ||
176 | |||
177 | // Initialize created meta-data | ||
178 | theSimpleScenarioPackage.initializePackageContents(); | ||
179 | |||
180 | // Mark meta-data to indicate it can't be changed | ||
181 | theSimpleScenarioPackage.freeze(); | ||
182 | |||
183 | // Update the registry and return the package | ||
184 | EPackage.Registry.INSTANCE.put(SimpleScenarioPackage.eNS_URI, theSimpleScenarioPackage); | ||
185 | return theSimpleScenarioPackage; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * <!-- begin-user-doc --> | ||
190 | * <!-- end-user-doc --> | ||
191 | * @generated | ||
192 | */ | ||
193 | @Override | ||
194 | public EClass getSimpleScenario() { | ||
195 | return simpleScenarioEClass; | ||
196 | } | ||
197 | |||
198 | /** | ||
199 | * <!-- begin-user-doc --> | ||
200 | * <!-- end-user-doc --> | ||
201 | * @generated | ||
202 | */ | ||
203 | @Override | ||
204 | public EAttribute getSimpleScenario_XSize() { | ||
205 | return (EAttribute)simpleScenarioEClass.getEStructuralFeatures().get(0); | ||
206 | } | ||
207 | |||
208 | /** | ||
209 | * <!-- begin-user-doc --> | ||
210 | * <!-- end-user-doc --> | ||
211 | * @generated | ||
212 | */ | ||
213 | @Override | ||
214 | public EAttribute getSimpleScenario_YSize() { | ||
215 | return (EAttribute)simpleScenarioEClass.getEStructuralFeatures().get(1); | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * <!-- begin-user-doc --> | ||
220 | * <!-- end-user-doc --> | ||
221 | * @generated | ||
222 | */ | ||
223 | @Override | ||
224 | public EReference getSimpleScenario_Actors() { | ||
225 | return (EReference)simpleScenarioEClass.getEStructuralFeatures().get(2); | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * <!-- begin-user-doc --> | ||
230 | * <!-- end-user-doc --> | ||
231 | * @generated | ||
232 | */ | ||
233 | @Override | ||
234 | public EReference getSimpleScenario_Lanes() { | ||
235 | return (EReference)simpleScenarioEClass.getEStructuralFeatures().get(3); | ||
236 | } | ||
237 | |||
238 | /** | ||
239 | * <!-- begin-user-doc --> | ||
240 | * <!-- end-user-doc --> | ||
241 | * @generated | ||
242 | */ | ||
243 | @Override | ||
244 | public EClass getLane() { | ||
245 | return laneEClass; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * <!-- begin-user-doc --> | ||
250 | * <!-- end-user-doc --> | ||
251 | * @generated | ||
252 | */ | ||
253 | @Override | ||
254 | public EAttribute getLane_Orientation() { | ||
255 | return (EAttribute)laneEClass.getEStructuralFeatures().get(0); | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * <!-- begin-user-doc --> | ||
260 | * <!-- end-user-doc --> | ||
261 | * @generated | ||
262 | */ | ||
263 | @Override | ||
264 | public EAttribute getLane_Width() { | ||
265 | return (EAttribute)laneEClass.getEStructuralFeatures().get(1); | ||
266 | } | ||
267 | |||
268 | /** | ||
269 | * <!-- begin-user-doc --> | ||
270 | * <!-- end-user-doc --> | ||
271 | * @generated | ||
272 | */ | ||
273 | @Override | ||
274 | public EAttribute getLane_ReferenceCoord() { | ||
275 | return (EAttribute)laneEClass.getEStructuralFeatures().get(2); | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * <!-- begin-user-doc --> | ||
280 | * <!-- end-user-doc --> | ||
281 | * @generated | ||
282 | */ | ||
283 | @Override | ||
284 | public EReference getLane_Adjacent() { | ||
285 | return (EReference)laneEClass.getEStructuralFeatures().get(3); | ||
286 | } | ||
287 | |||
288 | /** | ||
289 | * <!-- begin-user-doc --> | ||
290 | * <!-- end-user-doc --> | ||
291 | * @generated | ||
292 | */ | ||
293 | @Override | ||
294 | public EReference getLane_Actors() { | ||
295 | return (EReference)laneEClass.getEStructuralFeatures().get(4); | ||
296 | } | ||
297 | |||
298 | /** | ||
299 | * <!-- begin-user-doc --> | ||
300 | * <!-- end-user-doc --> | ||
301 | * @generated | ||
302 | */ | ||
303 | @Override | ||
304 | public EAttribute getLane_WidthNum() { | ||
305 | return (EAttribute)laneEClass.getEStructuralFeatures().get(5); | ||
306 | } | ||
307 | |||
308 | /** | ||
309 | * <!-- begin-user-doc --> | ||
310 | * <!-- end-user-doc --> | ||
311 | * @generated | ||
312 | */ | ||
313 | @Override | ||
314 | public EClass getActor() { | ||
315 | return actorEClass; | ||
316 | } | ||
317 | |||
318 | /** | ||
319 | * <!-- begin-user-doc --> | ||
320 | * <!-- end-user-doc --> | ||
321 | * @generated | ||
322 | */ | ||
323 | @Override | ||
324 | public EAttribute getActor_Type() { | ||
325 | return (EAttribute)actorEClass.getEStructuralFeatures().get(0); | ||
326 | } | ||
327 | |||
328 | /** | ||
329 | * <!-- begin-user-doc --> | ||
330 | * <!-- end-user-doc --> | ||
331 | * @generated | ||
332 | */ | ||
333 | @Override | ||
334 | public EAttribute getActor_XPos() { | ||
335 | return (EAttribute)actorEClass.getEStructuralFeatures().get(1); | ||
336 | } | ||
337 | |||
338 | /** | ||
339 | * <!-- begin-user-doc --> | ||
340 | * <!-- end-user-doc --> | ||
341 | * @generated | ||
342 | */ | ||
343 | @Override | ||
344 | public EAttribute getActor_YPos() { | ||
345 | return (EAttribute)actorEClass.getEStructuralFeatures().get(2); | ||
346 | } | ||
347 | |||
348 | /** | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | */ | ||
353 | @Override | ||
354 | public EAttribute getActor_Length() { | ||
355 | return (EAttribute)actorEClass.getEStructuralFeatures().get(3); | ||
356 | } | ||
357 | |||
358 | /** | ||
359 | * <!-- begin-user-doc --> | ||
360 | * <!-- end-user-doc --> | ||
361 | * @generated | ||
362 | */ | ||
363 | @Override | ||
364 | public EAttribute getActor_Width() { | ||
365 | return (EAttribute)actorEClass.getEStructuralFeatures().get(4); | ||
366 | } | ||
367 | |||
368 | /** | ||
369 | * <!-- begin-user-doc --> | ||
370 | * <!-- end-user-doc --> | ||
371 | * @generated | ||
372 | */ | ||
373 | @Override | ||
374 | public EAttribute getActor_Speed() { | ||
375 | return (EAttribute)actorEClass.getEStructuralFeatures().get(5); | ||
376 | } | ||
377 | |||
378 | /** | ||
379 | * <!-- begin-user-doc --> | ||
380 | * <!-- end-user-doc --> | ||
381 | * @generated | ||
382 | */ | ||
383 | @Override | ||
384 | public EReference getActor_Relations() { | ||
385 | return (EReference)actorEClass.getEStructuralFeatures().get(6); | ||
386 | } | ||
387 | |||
388 | /** | ||
389 | * <!-- begin-user-doc --> | ||
390 | * <!-- end-user-doc --> | ||
391 | * @generated | ||
392 | */ | ||
393 | @Override | ||
394 | public EReference getActor_PlacedOn() { | ||
395 | return (EReference)actorEClass.getEStructuralFeatures().get(7); | ||
396 | } | ||
397 | |||
398 | /** | ||
399 | * <!-- begin-user-doc --> | ||
400 | * <!-- end-user-doc --> | ||
401 | * @generated | ||
402 | */ | ||
403 | @Override | ||
404 | public EClass getRelation() { | ||
405 | return relationEClass; | ||
406 | } | ||
407 | |||
408 | /** | ||
409 | * <!-- begin-user-doc --> | ||
410 | * <!-- end-user-doc --> | ||
411 | * @generated | ||
412 | */ | ||
413 | @Override | ||
414 | public EReference getRelation_Target() { | ||
415 | return (EReference)relationEClass.getEStructuralFeatures().get(0); | ||
416 | } | ||
417 | |||
418 | /** | ||
419 | * <!-- begin-user-doc --> | ||
420 | * <!-- end-user-doc --> | ||
421 | * @generated | ||
422 | */ | ||
423 | @Override | ||
424 | public EClass getSpatialRelation() { | ||
425 | return spatialRelationEClass; | ||
426 | } | ||
427 | |||
428 | /** | ||
429 | * <!-- begin-user-doc --> | ||
430 | * <!-- end-user-doc --> | ||
431 | * @generated | ||
432 | */ | ||
433 | @Override | ||
434 | public EClass getTemporalRelation() { | ||
435 | return temporalRelationEClass; | ||
436 | } | ||
437 | |||
438 | /** | ||
439 | * <!-- begin-user-doc --> | ||
440 | * <!-- end-user-doc --> | ||
441 | * @generated | ||
442 | */ | ||
443 | @Override | ||
444 | public EClass getVisionBlocked() { | ||
445 | return visionBlockedEClass; | ||
446 | } | ||
447 | |||
448 | /** | ||
449 | * <!-- begin-user-doc --> | ||
450 | * <!-- end-user-doc --> | ||
451 | * @generated | ||
452 | */ | ||
453 | @Override | ||
454 | public EReference getVisionBlocked_BlockedBy() { | ||
455 | return (EReference)visionBlockedEClass.getEStructuralFeatures().get(0); | ||
456 | } | ||
457 | |||
458 | /** | ||
459 | * <!-- begin-user-doc --> | ||
460 | * <!-- end-user-doc --> | ||
461 | * @generated | ||
462 | */ | ||
463 | @Override | ||
464 | public EClass getSeperationDistance() { | ||
465 | return seperationDistanceEClass; | ||
466 | } | ||
467 | |||
468 | /** | ||
469 | * <!-- begin-user-doc --> | ||
470 | * <!-- end-user-doc --> | ||
471 | * @generated | ||
472 | */ | ||
473 | @Override | ||
474 | public EAttribute getSeperationDistance_Distance() { | ||
475 | return (EAttribute)seperationDistanceEClass.getEStructuralFeatures().get(0); | ||
476 | } | ||
477 | |||
478 | /** | ||
479 | * <!-- begin-user-doc --> | ||
480 | * <!-- end-user-doc --> | ||
481 | * @generated | ||
482 | */ | ||
483 | @Override | ||
484 | public EClass getCollisionExists() { | ||
485 | return collisionExistsEClass; | ||
486 | } | ||
487 | |||
488 | /** | ||
489 | * <!-- begin-user-doc --> | ||
490 | * <!-- end-user-doc --> | ||
491 | * @generated | ||
492 | */ | ||
493 | @Override | ||
494 | public EAttribute getCollisionExists_CollisionTime() { | ||
495 | return (EAttribute)collisionExistsEClass.getEStructuralFeatures().get(0); | ||
496 | } | ||
497 | |||
498 | /** | ||
499 | * <!-- begin-user-doc --> | ||
500 | * <!-- end-user-doc --> | ||
501 | * @generated | ||
502 | */ | ||
503 | @Override | ||
504 | public EClass getCollisionDoesNotExist() { | ||
505 | return collisionDoesNotExistEClass; | ||
506 | } | ||
507 | |||
508 | /** | ||
509 | * <!-- begin-user-doc --> | ||
510 | * <!-- end-user-doc --> | ||
511 | * @generated | ||
512 | */ | ||
513 | @Override | ||
514 | public EEnum getOrientation() { | ||
515 | return orientationEEnum; | ||
516 | } | ||
517 | |||
518 | /** | ||
519 | * <!-- begin-user-doc --> | ||
520 | * <!-- end-user-doc --> | ||
521 | * @generated | ||
522 | */ | ||
523 | @Override | ||
524 | public EEnum getSize() { | ||
525 | return sizeEEnum; | ||
526 | } | ||
527 | |||
528 | /** | ||
529 | * <!-- begin-user-doc --> | ||
530 | * <!-- end-user-doc --> | ||
531 | * @generated | ||
532 | */ | ||
533 | @Override | ||
534 | public EEnum getActorType() { | ||
535 | return actorTypeEEnum; | ||
536 | } | ||
537 | |||
538 | /** | ||
539 | * <!-- begin-user-doc --> | ||
540 | * <!-- end-user-doc --> | ||
541 | * @generated | ||
542 | */ | ||
543 | @Override | ||
544 | public SimpleScenarioFactory getSimpleScenarioFactory() { | ||
545 | return (SimpleScenarioFactory)getEFactoryInstance(); | ||
546 | } | ||
547 | |||
548 | /** | ||
549 | * <!-- begin-user-doc --> | ||
550 | * <!-- end-user-doc --> | ||
551 | * @generated | ||
552 | */ | ||
553 | private boolean isCreated = false; | ||
554 | |||
555 | /** | ||
556 | * Creates the meta-model objects for the package. This method is | ||
557 | * guarded to have no affect on any invocation but its first. | ||
558 | * <!-- begin-user-doc --> | ||
559 | * <!-- end-user-doc --> | ||
560 | * @generated | ||
561 | */ | ||
562 | public void createPackageContents() { | ||
563 | if (isCreated) return; | ||
564 | isCreated = true; | ||
565 | |||
566 | // Create classes and their features | ||
567 | simpleScenarioEClass = createEClass(SIMPLE_SCENARIO); | ||
568 | createEAttribute(simpleScenarioEClass, SIMPLE_SCENARIO__XSIZE); | ||
569 | createEAttribute(simpleScenarioEClass, SIMPLE_SCENARIO__YSIZE); | ||
570 | createEReference(simpleScenarioEClass, SIMPLE_SCENARIO__ACTORS); | ||
571 | createEReference(simpleScenarioEClass, SIMPLE_SCENARIO__LANES); | ||
572 | |||
573 | laneEClass = createEClass(LANE); | ||
574 | createEAttribute(laneEClass, LANE__ORIENTATION); | ||
575 | createEAttribute(laneEClass, LANE__WIDTH); | ||
576 | createEAttribute(laneEClass, LANE__REFERENCE_COORD); | ||
577 | createEReference(laneEClass, LANE__ADJACENT); | ||
578 | createEReference(laneEClass, LANE__ACTORS); | ||
579 | createEAttribute(laneEClass, LANE__WIDTH_NUM); | ||
580 | |||
581 | actorEClass = createEClass(ACTOR); | ||
582 | createEAttribute(actorEClass, ACTOR__TYPE); | ||
583 | createEAttribute(actorEClass, ACTOR__XPOS); | ||
584 | createEAttribute(actorEClass, ACTOR__YPOS); | ||
585 | createEAttribute(actorEClass, ACTOR__LENGTH); | ||
586 | createEAttribute(actorEClass, ACTOR__WIDTH); | ||
587 | createEAttribute(actorEClass, ACTOR__SPEED); | ||
588 | createEReference(actorEClass, ACTOR__RELATIONS); | ||
589 | createEReference(actorEClass, ACTOR__PLACED_ON); | ||
590 | |||
591 | relationEClass = createEClass(RELATION); | ||
592 | createEReference(relationEClass, RELATION__TARGET); | ||
593 | |||
594 | spatialRelationEClass = createEClass(SPATIAL_RELATION); | ||
595 | |||
596 | temporalRelationEClass = createEClass(TEMPORAL_RELATION); | ||
597 | |||
598 | visionBlockedEClass = createEClass(VISION_BLOCKED); | ||
599 | createEReference(visionBlockedEClass, VISION_BLOCKED__BLOCKED_BY); | ||
600 | |||
601 | seperationDistanceEClass = createEClass(SEPERATION_DISTANCE); | ||
602 | createEAttribute(seperationDistanceEClass, SEPERATION_DISTANCE__DISTANCE); | ||
603 | |||
604 | collisionExistsEClass = createEClass(COLLISION_EXISTS); | ||
605 | createEAttribute(collisionExistsEClass, COLLISION_EXISTS__COLLISION_TIME); | ||
606 | |||
607 | collisionDoesNotExistEClass = createEClass(COLLISION_DOES_NOT_EXIST); | ||
608 | |||
609 | // Create enums | ||
610 | orientationEEnum = createEEnum(ORIENTATION); | ||
611 | sizeEEnum = createEEnum(SIZE); | ||
612 | actorTypeEEnum = createEEnum(ACTOR_TYPE); | ||
613 | } | ||
614 | |||
615 | /** | ||
616 | * <!-- begin-user-doc --> | ||
617 | * <!-- end-user-doc --> | ||
618 | * @generated | ||
619 | */ | ||
620 | private boolean isInitialized = false; | ||
621 | |||
622 | /** | ||
623 | * Complete the initialization of the package and its meta-model. This | ||
624 | * method is guarded to have no affect on any invocation but its first. | ||
625 | * <!-- begin-user-doc --> | ||
626 | * <!-- end-user-doc --> | ||
627 | * @generated | ||
628 | */ | ||
629 | public void initializePackageContents() { | ||
630 | if (isInitialized) return; | ||
631 | isInitialized = true; | ||
632 | |||
633 | // Initialize package | ||
634 | setName(eNAME); | ||
635 | setNsPrefix(eNS_PREFIX); | ||
636 | setNsURI(eNS_URI); | ||
637 | |||
638 | // Create type parameters | ||
639 | |||
640 | // Set bounds for type parameters | ||
641 | |||
642 | // Add supertypes to classes | ||
643 | spatialRelationEClass.getESuperTypes().add(this.getRelation()); | ||
644 | temporalRelationEClass.getESuperTypes().add(this.getRelation()); | ||
645 | visionBlockedEClass.getESuperTypes().add(this.getSpatialRelation()); | ||
646 | seperationDistanceEClass.getESuperTypes().add(this.getSpatialRelation()); | ||
647 | collisionExistsEClass.getESuperTypes().add(this.getTemporalRelation()); | ||
648 | collisionDoesNotExistEClass.getESuperTypes().add(this.getTemporalRelation()); | ||
649 | |||
650 | // Initialize classes, features, and operations; add parameters | ||
651 | initEClass(simpleScenarioEClass, SimpleScenario.class, "SimpleScenario", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
652 | initEAttribute(getSimpleScenario_XSize(), ecorePackage.getEDouble(), "xSize", null, 0, 1, SimpleScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
653 | initEAttribute(getSimpleScenario_YSize(), ecorePackage.getEDouble(), "ySize", null, 0, 1, SimpleScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
654 | initEReference(getSimpleScenario_Actors(), this.getActor(), null, "actors", null, 0, -1, SimpleScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
655 | initEReference(getSimpleScenario_Lanes(), this.getLane(), null, "lanes", null, 0, -1, SimpleScenario.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
656 | |||
657 | initEClass(laneEClass, Lane.class, "Lane", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
658 | initEAttribute(getLane_Orientation(), this.getOrientation(), "orientation", null, 1, 1, Lane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
659 | initEAttribute(getLane_Width(), this.getSize(), "width", null, 1, 1, Lane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
660 | initEAttribute(getLane_ReferenceCoord(), ecorePackage.getEDouble(), "referenceCoord", null, 1, 1, Lane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
661 | initEReference(getLane_Adjacent(), this.getLane(), null, "adjacent", null, 0, 2, Lane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
662 | initEReference(getLane_Actors(), this.getActor(), this.getActor_PlacedOn(), "actors", null, 0, -1, Lane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
663 | initEAttribute(getLane_WidthNum(), ecorePackage.getEDouble(), "widthNum", null, 1, 1, Lane.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
664 | |||
665 | initEClass(actorEClass, Actor.class, "Actor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
666 | initEAttribute(getActor_Type(), this.getActorType(), "type", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
667 | initEAttribute(getActor_XPos(), ecorePackage.getEDouble(), "xPos", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
668 | initEAttribute(getActor_YPos(), ecorePackage.getEDouble(), "yPos", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
669 | initEAttribute(getActor_Length(), ecorePackage.getEDouble(), "length", "0.0", 0, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
670 | initEAttribute(getActor_Width(), ecorePackage.getEDouble(), "width", null, 0, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
671 | initEAttribute(getActor_Speed(), ecorePackage.getEDouble(), "speed", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
672 | initEReference(getActor_Relations(), this.getRelation(), null, "relations", null, 0, -1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
673 | initEReference(getActor_PlacedOn(), this.getLane(), this.getLane_Actors(), "placedOn", null, 1, 1, Actor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
674 | |||
675 | initEClass(relationEClass, Relation.class, "Relation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
676 | initEReference(getRelation_Target(), this.getActor(), null, "target", null, 1, 1, Relation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
677 | |||
678 | initEClass(spatialRelationEClass, SpatialRelation.class, "SpatialRelation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
679 | |||
680 | initEClass(temporalRelationEClass, TemporalRelation.class, "TemporalRelation", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
681 | |||
682 | initEClass(visionBlockedEClass, VisionBlocked.class, "VisionBlocked", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
683 | initEReference(getVisionBlocked_BlockedBy(), this.getActor(), null, "blockedBy", null, 0, 1, VisionBlocked.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
684 | |||
685 | initEClass(seperationDistanceEClass, SeperationDistance.class, "SeperationDistance", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
686 | initEAttribute(getSeperationDistance_Distance(), this.getSize(), "distance", null, 1, 1, SeperationDistance.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
687 | |||
688 | initEClass(collisionExistsEClass, CollisionExists.class, "CollisionExists", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
689 | initEAttribute(getCollisionExists_CollisionTime(), ecorePackage.getEDouble(), "collisionTime", null, 1, 1, CollisionExists.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
690 | |||
691 | initEClass(collisionDoesNotExistEClass, CollisionDoesNotExist.class, "CollisionDoesNotExist", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | ||
692 | |||
693 | // Initialize enums and add enum literals | ||
694 | initEEnum(orientationEEnum, Orientation.class, "Orientation"); | ||
695 | addEEnumLiteral(orientationEEnum, Orientation.VERTICAL); | ||
696 | addEEnumLiteral(orientationEEnum, Orientation.HORIZONTAL); | ||
697 | |||
698 | initEEnum(sizeEEnum, Size.class, "Size"); | ||
699 | addEEnumLiteral(sizeEEnum, Size.SMALL); | ||
700 | addEEnumLiteral(sizeEEnum, Size.MEDIUM); | ||
701 | addEEnumLiteral(sizeEEnum, Size.LARGE); | ||
702 | |||
703 | initEEnum(actorTypeEEnum, ActorType.class, "ActorType"); | ||
704 | addEEnumLiteral(actorTypeEEnum, ActorType.PEDESTRIAN); | ||
705 | addEEnumLiteral(actorTypeEEnum, ActorType.VEHICLE); | ||
706 | |||
707 | // Create resource | ||
708 | createResource(eNS_URI); | ||
709 | } | ||
710 | |||
711 | } //SimpleScenarioPackageImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SpatialRelationImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SpatialRelationImpl.java new file mode 100644 index 00000000..b4e0f4b4 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/SpatialRelationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import simpleScenario.SimpleScenarioPackage; | ||
8 | import simpleScenario.SpatialRelation; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Spatial Relation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class SpatialRelationImpl extends RelationImpl implements SpatialRelation { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected SpatialRelationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SimpleScenarioPackage.Literals.SPATIAL_RELATION; | ||
35 | } | ||
36 | |||
37 | } //SpatialRelationImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/TemporalRelationImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/TemporalRelationImpl.java new file mode 100644 index 00000000..26f2c712 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/TemporalRelationImpl.java | |||
@@ -0,0 +1,37 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EClass; | ||
6 | |||
7 | import simpleScenario.SimpleScenarioPackage; | ||
8 | import simpleScenario.TemporalRelation; | ||
9 | |||
10 | /** | ||
11 | * <!-- begin-user-doc --> | ||
12 | * An implementation of the model object '<em><b>Temporal Relation</b></em>'. | ||
13 | * <!-- end-user-doc --> | ||
14 | * | ||
15 | * @generated | ||
16 | */ | ||
17 | public abstract class TemporalRelationImpl extends RelationImpl implements TemporalRelation { | ||
18 | /** | ||
19 | * <!-- begin-user-doc --> | ||
20 | * <!-- end-user-doc --> | ||
21 | * @generated | ||
22 | */ | ||
23 | protected TemporalRelationImpl() { | ||
24 | super(); | ||
25 | } | ||
26 | |||
27 | /** | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | @Override | ||
33 | protected EClass eStaticClass() { | ||
34 | return SimpleScenarioPackage.Literals.TEMPORAL_RELATION; | ||
35 | } | ||
36 | |||
37 | } //TemporalRelationImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/VisionBlockedImpl.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/VisionBlockedImpl.java new file mode 100644 index 00000000..88222d67 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/impl/VisionBlockedImpl.java | |||
@@ -0,0 +1,158 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.impl; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Notification; | ||
6 | |||
7 | import org.eclipse.emf.ecore.EClass; | ||
8 | import org.eclipse.emf.ecore.InternalEObject; | ||
9 | |||
10 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
11 | |||
12 | import simpleScenario.Actor; | ||
13 | import simpleScenario.SimpleScenarioPackage; | ||
14 | import simpleScenario.VisionBlocked; | ||
15 | |||
16 | /** | ||
17 | * <!-- begin-user-doc --> | ||
18 | * An implementation of the model object '<em><b>Vision Blocked</b></em>'. | ||
19 | * <!-- end-user-doc --> | ||
20 | * <p> | ||
21 | * The following features are implemented: | ||
22 | * </p> | ||
23 | * <ul> | ||
24 | * <li>{@link simpleScenario.impl.VisionBlockedImpl#getBlockedBy <em>Blocked By</em>}</li> | ||
25 | * </ul> | ||
26 | * | ||
27 | * @generated | ||
28 | */ | ||
29 | public class VisionBlockedImpl extends SpatialRelationImpl implements VisionBlocked { | ||
30 | /** | ||
31 | * The cached value of the '{@link #getBlockedBy() <em>Blocked By</em>}' reference. | ||
32 | * <!-- begin-user-doc --> | ||
33 | * <!-- end-user-doc --> | ||
34 | * @see #getBlockedBy() | ||
35 | * @generated | ||
36 | * @ordered | ||
37 | */ | ||
38 | protected Actor blockedBy; | ||
39 | |||
40 | /** | ||
41 | * <!-- begin-user-doc --> | ||
42 | * <!-- end-user-doc --> | ||
43 | * @generated | ||
44 | */ | ||
45 | protected VisionBlockedImpl() { | ||
46 | super(); | ||
47 | } | ||
48 | |||
49 | /** | ||
50 | * <!-- begin-user-doc --> | ||
51 | * <!-- end-user-doc --> | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected EClass eStaticClass() { | ||
56 | return SimpleScenarioPackage.Literals.VISION_BLOCKED; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * <!-- begin-user-doc --> | ||
61 | * <!-- end-user-doc --> | ||
62 | * @generated | ||
63 | */ | ||
64 | @Override | ||
65 | public Actor getBlockedBy() { | ||
66 | if (blockedBy != null && blockedBy.eIsProxy()) { | ||
67 | InternalEObject oldBlockedBy = (InternalEObject)blockedBy; | ||
68 | blockedBy = (Actor)eResolveProxy(oldBlockedBy); | ||
69 | if (blockedBy != oldBlockedBy) { | ||
70 | if (eNotificationRequired()) | ||
71 | eNotify(new ENotificationImpl(this, Notification.RESOLVE, SimpleScenarioPackage.VISION_BLOCKED__BLOCKED_BY, oldBlockedBy, blockedBy)); | ||
72 | } | ||
73 | } | ||
74 | return blockedBy; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * <!-- begin-user-doc --> | ||
79 | * <!-- end-user-doc --> | ||
80 | * @generated | ||
81 | */ | ||
82 | public Actor basicGetBlockedBy() { | ||
83 | return blockedBy; | ||
84 | } | ||
85 | |||
86 | /** | ||
87 | * <!-- begin-user-doc --> | ||
88 | * <!-- end-user-doc --> | ||
89 | * @generated | ||
90 | */ | ||
91 | @Override | ||
92 | public void setBlockedBy(Actor newBlockedBy) { | ||
93 | Actor oldBlockedBy = blockedBy; | ||
94 | blockedBy = newBlockedBy; | ||
95 | if (eNotificationRequired()) | ||
96 | eNotify(new ENotificationImpl(this, Notification.SET, SimpleScenarioPackage.VISION_BLOCKED__BLOCKED_BY, oldBlockedBy, blockedBy)); | ||
97 | } | ||
98 | |||
99 | /** | ||
100 | * <!-- begin-user-doc --> | ||
101 | * <!-- end-user-doc --> | ||
102 | * @generated | ||
103 | */ | ||
104 | @Override | ||
105 | public Object eGet(int featureID, boolean resolve, boolean coreType) { | ||
106 | switch (featureID) { | ||
107 | case SimpleScenarioPackage.VISION_BLOCKED__BLOCKED_BY: | ||
108 | if (resolve) return getBlockedBy(); | ||
109 | return basicGetBlockedBy(); | ||
110 | } | ||
111 | return super.eGet(featureID, resolve, coreType); | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | @Override | ||
120 | public void eSet(int featureID, Object newValue) { | ||
121 | switch (featureID) { | ||
122 | case SimpleScenarioPackage.VISION_BLOCKED__BLOCKED_BY: | ||
123 | setBlockedBy((Actor)newValue); | ||
124 | return; | ||
125 | } | ||
126 | super.eSet(featureID, newValue); | ||
127 | } | ||
128 | |||
129 | /** | ||
130 | * <!-- begin-user-doc --> | ||
131 | * <!-- end-user-doc --> | ||
132 | * @generated | ||
133 | */ | ||
134 | @Override | ||
135 | public void eUnset(int featureID) { | ||
136 | switch (featureID) { | ||
137 | case SimpleScenarioPackage.VISION_BLOCKED__BLOCKED_BY: | ||
138 | setBlockedBy((Actor)null); | ||
139 | return; | ||
140 | } | ||
141 | super.eUnset(featureID); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public boolean eIsSet(int featureID) { | ||
151 | switch (featureID) { | ||
152 | case SimpleScenarioPackage.VISION_BLOCKED__BLOCKED_BY: | ||
153 | return blockedBy != null; | ||
154 | } | ||
155 | return super.eIsSet(featureID); | ||
156 | } | ||
157 | |||
158 | } //VisionBlockedImpl | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java new file mode 100644 index 00000000..eb9bc05f --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioAdapterFactory.java | |||
@@ -0,0 +1,282 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.util; | ||
4 | |||
5 | import org.eclipse.emf.common.notify.Adapter; | ||
6 | import org.eclipse.emf.common.notify.Notifier; | ||
7 | |||
8 | import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; | ||
9 | |||
10 | import org.eclipse.emf.ecore.EObject; | ||
11 | |||
12 | import simpleScenario.*; | ||
13 | |||
14 | /** | ||
15 | * <!-- begin-user-doc --> | ||
16 | * The <b>Adapter Factory</b> for the model. | ||
17 | * It provides an adapter <code>createXXX</code> method for each class of the model. | ||
18 | * <!-- end-user-doc --> | ||
19 | * @see simpleScenario.SimpleScenarioPackage | ||
20 | * @generated | ||
21 | */ | ||
22 | public class SimpleScenarioAdapterFactory extends AdapterFactoryImpl { | ||
23 | /** | ||
24 | * The cached model package. | ||
25 | * <!-- begin-user-doc --> | ||
26 | * <!-- end-user-doc --> | ||
27 | * @generated | ||
28 | */ | ||
29 | protected static SimpleScenarioPackage modelPackage; | ||
30 | |||
31 | /** | ||
32 | * Creates an instance of the adapter factory. | ||
33 | * <!-- begin-user-doc --> | ||
34 | * <!-- end-user-doc --> | ||
35 | * @generated | ||
36 | */ | ||
37 | public SimpleScenarioAdapterFactory() { | ||
38 | if (modelPackage == null) { | ||
39 | modelPackage = SimpleScenarioPackage.eINSTANCE; | ||
40 | } | ||
41 | } | ||
42 | |||
43 | /** | ||
44 | * Returns whether this factory is applicable for the type of the object. | ||
45 | * <!-- begin-user-doc --> | ||
46 | * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. | ||
47 | * <!-- end-user-doc --> | ||
48 | * @return whether this factory is applicable for the type of the object. | ||
49 | * @generated | ||
50 | */ | ||
51 | @Override | ||
52 | public boolean isFactoryForType(Object object) { | ||
53 | if (object == modelPackage) { | ||
54 | return true; | ||
55 | } | ||
56 | if (object instanceof EObject) { | ||
57 | return ((EObject)object).eClass().getEPackage() == modelPackage; | ||
58 | } | ||
59 | return false; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * The switch that delegates to the <code>createXXX</code> methods. | ||
64 | * <!-- begin-user-doc --> | ||
65 | * <!-- end-user-doc --> | ||
66 | * @generated | ||
67 | */ | ||
68 | protected SimpleScenarioSwitch<Adapter> modelSwitch = | ||
69 | new SimpleScenarioSwitch<Adapter>() { | ||
70 | @Override | ||
71 | public Adapter caseSimpleScenario(SimpleScenario object) { | ||
72 | return createSimpleScenarioAdapter(); | ||
73 | } | ||
74 | @Override | ||
75 | public Adapter caseLane(Lane object) { | ||
76 | return createLaneAdapter(); | ||
77 | } | ||
78 | @Override | ||
79 | public Adapter caseActor(Actor object) { | ||
80 | return createActorAdapter(); | ||
81 | } | ||
82 | @Override | ||
83 | public Adapter caseRelation(Relation object) { | ||
84 | return createRelationAdapter(); | ||
85 | } | ||
86 | @Override | ||
87 | public Adapter caseSpatialRelation(SpatialRelation object) { | ||
88 | return createSpatialRelationAdapter(); | ||
89 | } | ||
90 | @Override | ||
91 | public Adapter caseTemporalRelation(TemporalRelation object) { | ||
92 | return createTemporalRelationAdapter(); | ||
93 | } | ||
94 | @Override | ||
95 | public Adapter caseVisionBlocked(VisionBlocked object) { | ||
96 | return createVisionBlockedAdapter(); | ||
97 | } | ||
98 | @Override | ||
99 | public Adapter caseSeperationDistance(SeperationDistance object) { | ||
100 | return createSeperationDistanceAdapter(); | ||
101 | } | ||
102 | @Override | ||
103 | public Adapter caseCollisionExists(CollisionExists object) { | ||
104 | return createCollisionExistsAdapter(); | ||
105 | } | ||
106 | @Override | ||
107 | public Adapter caseCollisionDoesNotExist(CollisionDoesNotExist object) { | ||
108 | return createCollisionDoesNotExistAdapter(); | ||
109 | } | ||
110 | @Override | ||
111 | public Adapter defaultCase(EObject object) { | ||
112 | return createEObjectAdapter(); | ||
113 | } | ||
114 | }; | ||
115 | |||
116 | /** | ||
117 | * Creates an adapter for the <code>target</code>. | ||
118 | * <!-- begin-user-doc --> | ||
119 | * <!-- end-user-doc --> | ||
120 | * @param target the object to adapt. | ||
121 | * @return the adapter for the <code>target</code>. | ||
122 | * @generated | ||
123 | */ | ||
124 | @Override | ||
125 | public Adapter createAdapter(Notifier target) { | ||
126 | return modelSwitch.doSwitch((EObject)target); | ||
127 | } | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Creates a new adapter for an object of class '{@link simpleScenario.SimpleScenario <em>Simple Scenario</em>}'. | ||
132 | * <!-- begin-user-doc --> | ||
133 | * This default implementation returns null so that we can easily ignore cases; | ||
134 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
135 | * <!-- end-user-doc --> | ||
136 | * @return the new adapter. | ||
137 | * @see simpleScenario.SimpleScenario | ||
138 | * @generated | ||
139 | */ | ||
140 | public Adapter createSimpleScenarioAdapter() { | ||
141 | return null; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * Creates a new adapter for an object of class '{@link simpleScenario.Lane <em>Lane</em>}'. | ||
146 | * <!-- begin-user-doc --> | ||
147 | * This default implementation returns null so that we can easily ignore cases; | ||
148 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
149 | * <!-- end-user-doc --> | ||
150 | * @return the new adapter. | ||
151 | * @see simpleScenario.Lane | ||
152 | * @generated | ||
153 | */ | ||
154 | public Adapter createLaneAdapter() { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Creates a new adapter for an object of class '{@link simpleScenario.Actor <em>Actor</em>}'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This default implementation returns null so that we can easily ignore cases; | ||
162 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @return the new adapter. | ||
165 | * @see simpleScenario.Actor | ||
166 | * @generated | ||
167 | */ | ||
168 | public Adapter createActorAdapter() { | ||
169 | return null; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * Creates a new adapter for an object of class '{@link simpleScenario.Relation <em>Relation</em>}'. | ||
174 | * <!-- begin-user-doc --> | ||
175 | * This default implementation returns null so that we can easily ignore cases; | ||
176 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
177 | * <!-- end-user-doc --> | ||
178 | * @return the new adapter. | ||
179 | * @see simpleScenario.Relation | ||
180 | * @generated | ||
181 | */ | ||
182 | public Adapter createRelationAdapter() { | ||
183 | return null; | ||
184 | } | ||
185 | |||
186 | /** | ||
187 | * Creates a new adapter for an object of class '{@link simpleScenario.SpatialRelation <em>Spatial Relation</em>}'. | ||
188 | * <!-- begin-user-doc --> | ||
189 | * This default implementation returns null so that we can easily ignore cases; | ||
190 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
191 | * <!-- end-user-doc --> | ||
192 | * @return the new adapter. | ||
193 | * @see simpleScenario.SpatialRelation | ||
194 | * @generated | ||
195 | */ | ||
196 | public Adapter createSpatialRelationAdapter() { | ||
197 | return null; | ||
198 | } | ||
199 | |||
200 | /** | ||
201 | * Creates a new adapter for an object of class '{@link simpleScenario.TemporalRelation <em>Temporal Relation</em>}'. | ||
202 | * <!-- begin-user-doc --> | ||
203 | * This default implementation returns null so that we can easily ignore cases; | ||
204 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
205 | * <!-- end-user-doc --> | ||
206 | * @return the new adapter. | ||
207 | * @see simpleScenario.TemporalRelation | ||
208 | * @generated | ||
209 | */ | ||
210 | public Adapter createTemporalRelationAdapter() { | ||
211 | return null; | ||
212 | } | ||
213 | |||
214 | /** | ||
215 | * Creates a new adapter for an object of class '{@link simpleScenario.VisionBlocked <em>Vision Blocked</em>}'. | ||
216 | * <!-- begin-user-doc --> | ||
217 | * This default implementation returns null so that we can easily ignore cases; | ||
218 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
219 | * <!-- end-user-doc --> | ||
220 | * @return the new adapter. | ||
221 | * @see simpleScenario.VisionBlocked | ||
222 | * @generated | ||
223 | */ | ||
224 | public Adapter createVisionBlockedAdapter() { | ||
225 | return null; | ||
226 | } | ||
227 | |||
228 | /** | ||
229 | * Creates a new adapter for an object of class '{@link simpleScenario.SeperationDistance <em>Seperation Distance</em>}'. | ||
230 | * <!-- begin-user-doc --> | ||
231 | * This default implementation returns null so that we can easily ignore cases; | ||
232 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
233 | * <!-- end-user-doc --> | ||
234 | * @return the new adapter. | ||
235 | * @see simpleScenario.SeperationDistance | ||
236 | * @generated | ||
237 | */ | ||
238 | public Adapter createSeperationDistanceAdapter() { | ||
239 | return null; | ||
240 | } | ||
241 | |||
242 | /** | ||
243 | * Creates a new adapter for an object of class '{@link simpleScenario.CollisionExists <em>Collision Exists</em>}'. | ||
244 | * <!-- begin-user-doc --> | ||
245 | * This default implementation returns null so that we can easily ignore cases; | ||
246 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
247 | * <!-- end-user-doc --> | ||
248 | * @return the new adapter. | ||
249 | * @see simpleScenario.CollisionExists | ||
250 | * @generated | ||
251 | */ | ||
252 | public Adapter createCollisionExistsAdapter() { | ||
253 | return null; | ||
254 | } | ||
255 | |||
256 | /** | ||
257 | * Creates a new adapter for an object of class '{@link simpleScenario.CollisionDoesNotExist <em>Collision Does Not Exist</em>}'. | ||
258 | * <!-- begin-user-doc --> | ||
259 | * This default implementation returns null so that we can easily ignore cases; | ||
260 | * it's useful to ignore a case when inheritance will catch all the cases anyway. | ||
261 | * <!-- end-user-doc --> | ||
262 | * @return the new adapter. | ||
263 | * @see simpleScenario.CollisionDoesNotExist | ||
264 | * @generated | ||
265 | */ | ||
266 | public Adapter createCollisionDoesNotExistAdapter() { | ||
267 | return null; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * Creates a new adapter for the default case. | ||
272 | * <!-- begin-user-doc --> | ||
273 | * This default implementation returns null. | ||
274 | * <!-- end-user-doc --> | ||
275 | * @return the new adapter. | ||
276 | * @generated | ||
277 | */ | ||
278 | public Adapter createEObjectAdapter() { | ||
279 | return null; | ||
280 | } | ||
281 | |||
282 | } //SimpleScenarioAdapterFactory | ||
diff --git a/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioSwitch.java b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioSwitch.java new file mode 100644 index 00000000..204ac66f --- /dev/null +++ b/Domains/traffic.scenarios.simplified/ecore-gen/simpleScenario/util/SimpleScenarioSwitch.java | |||
@@ -0,0 +1,309 @@ | |||
1 | /** | ||
2 | */ | ||
3 | package simpleScenario.util; | ||
4 | |||
5 | import org.eclipse.emf.ecore.EObject; | ||
6 | import org.eclipse.emf.ecore.EPackage; | ||
7 | |||
8 | import org.eclipse.emf.ecore.util.Switch; | ||
9 | |||
10 | import simpleScenario.*; | ||
11 | |||
12 | /** | ||
13 | * <!-- begin-user-doc --> | ||
14 | * The <b>Switch</b> for the model's inheritance hierarchy. | ||
15 | * It supports the call {@link #doSwitch(EObject) doSwitch(object)} | ||
16 | * to invoke the <code>caseXXX</code> method for each class of the model, | ||
17 | * starting with the actual class of the object | ||
18 | * and proceeding up the inheritance hierarchy | ||
19 | * until a non-null result is returned, | ||
20 | * which is the result of the switch. | ||
21 | * <!-- end-user-doc --> | ||
22 | * @see simpleScenario.SimpleScenarioPackage | ||
23 | * @generated | ||
24 | */ | ||
25 | public class SimpleScenarioSwitch<T> extends Switch<T> { | ||
26 | /** | ||
27 | * The cached model package | ||
28 | * <!-- begin-user-doc --> | ||
29 | * <!-- end-user-doc --> | ||
30 | * @generated | ||
31 | */ | ||
32 | protected static SimpleScenarioPackage modelPackage; | ||
33 | |||
34 | /** | ||
35 | * Creates an instance of the switch. | ||
36 | * <!-- begin-user-doc --> | ||
37 | * <!-- end-user-doc --> | ||
38 | * @generated | ||
39 | */ | ||
40 | public SimpleScenarioSwitch() { | ||
41 | if (modelPackage == null) { | ||
42 | modelPackage = SimpleScenarioPackage.eINSTANCE; | ||
43 | } | ||
44 | } | ||
45 | |||
46 | /** | ||
47 | * Checks whether this is a switch for the given package. | ||
48 | * <!-- begin-user-doc --> | ||
49 | * <!-- end-user-doc --> | ||
50 | * @param ePackage the package in question. | ||
51 | * @return whether this is a switch for the given package. | ||
52 | * @generated | ||
53 | */ | ||
54 | @Override | ||
55 | protected boolean isSwitchFor(EPackage ePackage) { | ||
56 | return ePackage == modelPackage; | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. | ||
61 | * <!-- begin-user-doc --> | ||
62 | * <!-- end-user-doc --> | ||
63 | * @return the first non-null result returned by a <code>caseXXX</code> call. | ||
64 | * @generated | ||
65 | */ | ||
66 | @Override | ||
67 | protected T doSwitch(int classifierID, EObject theEObject) { | ||
68 | switch (classifierID) { | ||
69 | case SimpleScenarioPackage.SIMPLE_SCENARIO: { | ||
70 | SimpleScenario simpleScenario = (SimpleScenario)theEObject; | ||
71 | T result = caseSimpleScenario(simpleScenario); | ||
72 | if (result == null) result = defaultCase(theEObject); | ||
73 | return result; | ||
74 | } | ||
75 | case SimpleScenarioPackage.LANE: { | ||
76 | Lane lane = (Lane)theEObject; | ||
77 | T result = caseLane(lane); | ||
78 | if (result == null) result = defaultCase(theEObject); | ||
79 | return result; | ||
80 | } | ||
81 | case SimpleScenarioPackage.ACTOR: { | ||
82 | Actor actor = (Actor)theEObject; | ||
83 | T result = caseActor(actor); | ||
84 | if (result == null) result = defaultCase(theEObject); | ||
85 | return result; | ||
86 | } | ||
87 | case SimpleScenarioPackage.RELATION: { | ||
88 | Relation relation = (Relation)theEObject; | ||
89 | T result = caseRelation(relation); | ||
90 | if (result == null) result = defaultCase(theEObject); | ||
91 | return result; | ||
92 | } | ||
93 | case SimpleScenarioPackage.SPATIAL_RELATION: { | ||
94 | SpatialRelation spatialRelation = (SpatialRelation)theEObject; | ||
95 | T result = caseSpatialRelation(spatialRelation); | ||
96 | if (result == null) result = caseRelation(spatialRelation); | ||
97 | if (result == null) result = defaultCase(theEObject); | ||
98 | return result; | ||
99 | } | ||
100 | case SimpleScenarioPackage.TEMPORAL_RELATION: { | ||
101 | TemporalRelation temporalRelation = (TemporalRelation)theEObject; | ||
102 | T result = caseTemporalRelation(temporalRelation); | ||
103 | if (result == null) result = caseRelation(temporalRelation); | ||
104 | if (result == null) result = defaultCase(theEObject); | ||
105 | return result; | ||
106 | } | ||
107 | case SimpleScenarioPackage.VISION_BLOCKED: { | ||
108 | VisionBlocked visionBlocked = (VisionBlocked)theEObject; | ||
109 | T result = caseVisionBlocked(visionBlocked); | ||
110 | if (result == null) result = caseSpatialRelation(visionBlocked); | ||
111 | if (result == null) result = caseRelation(visionBlocked); | ||
112 | if (result == null) result = defaultCase(theEObject); | ||
113 | return result; | ||
114 | } | ||
115 | case SimpleScenarioPackage.SEPERATION_DISTANCE: { | ||
116 | SeperationDistance seperationDistance = (SeperationDistance)theEObject; | ||
117 | T result = caseSeperationDistance(seperationDistance); | ||
118 | if (result == null) result = caseSpatialRelation(seperationDistance); | ||
119 | if (result == null) result = caseRelation(seperationDistance); | ||
120 | if (result == null) result = defaultCase(theEObject); | ||
121 | return result; | ||
122 | } | ||
123 | case SimpleScenarioPackage.COLLISION_EXISTS: { | ||
124 | CollisionExists collisionExists = (CollisionExists)theEObject; | ||
125 | T result = caseCollisionExists(collisionExists); | ||
126 | if (result == null) result = caseTemporalRelation(collisionExists); | ||
127 | if (result == null) result = caseRelation(collisionExists); | ||
128 | if (result == null) result = defaultCase(theEObject); | ||
129 | return result; | ||
130 | } | ||
131 | case SimpleScenarioPackage.COLLISION_DOES_NOT_EXIST: { | ||
132 | CollisionDoesNotExist collisionDoesNotExist = (CollisionDoesNotExist)theEObject; | ||
133 | T result = caseCollisionDoesNotExist(collisionDoesNotExist); | ||
134 | if (result == null) result = caseTemporalRelation(collisionDoesNotExist); | ||
135 | if (result == null) result = caseRelation(collisionDoesNotExist); | ||
136 | if (result == null) result = defaultCase(theEObject); | ||
137 | return result; | ||
138 | } | ||
139 | default: return defaultCase(theEObject); | ||
140 | } | ||
141 | } | ||
142 | |||
143 | /** | ||
144 | * Returns the result of interpreting the object as an instance of '<em>Simple Scenario</em>'. | ||
145 | * <!-- begin-user-doc --> | ||
146 | * This implementation returns null; | ||
147 | * returning a non-null result will terminate the switch. | ||
148 | * <!-- end-user-doc --> | ||
149 | * @param object the target of the switch. | ||
150 | * @return the result of interpreting the object as an instance of '<em>Simple Scenario</em>'. | ||
151 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
152 | * @generated | ||
153 | */ | ||
154 | public T caseSimpleScenario(SimpleScenario object) { | ||
155 | return null; | ||
156 | } | ||
157 | |||
158 | /** | ||
159 | * Returns the result of interpreting the object as an instance of '<em>Lane</em>'. | ||
160 | * <!-- begin-user-doc --> | ||
161 | * This implementation returns null; | ||
162 | * returning a non-null result will terminate the switch. | ||
163 | * <!-- end-user-doc --> | ||
164 | * @param object the target of the switch. | ||
165 | * @return the result of interpreting the object as an instance of '<em>Lane</em>'. | ||
166 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
167 | * @generated | ||
168 | */ | ||
169 | public T caseLane(Lane object) { | ||
170 | return null; | ||
171 | } | ||
172 | |||
173 | /** | ||
174 | * Returns the result of interpreting the object as an instance of '<em>Actor</em>'. | ||
175 | * <!-- begin-user-doc --> | ||
176 | * This implementation returns null; | ||
177 | * returning a non-null result will terminate the switch. | ||
178 | * <!-- end-user-doc --> | ||
179 | * @param object the target of the switch. | ||
180 | * @return the result of interpreting the object as an instance of '<em>Actor</em>'. | ||
181 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
182 | * @generated | ||
183 | */ | ||
184 | public T caseActor(Actor object) { | ||
185 | return null; | ||
186 | } | ||
187 | |||
188 | /** | ||
189 | * Returns the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
190 | * <!-- begin-user-doc --> | ||
191 | * This implementation returns null; | ||
192 | * returning a non-null result will terminate the switch. | ||
193 | * <!-- end-user-doc --> | ||
194 | * @param object the target of the switch. | ||
195 | * @return the result of interpreting the object as an instance of '<em>Relation</em>'. | ||
196 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
197 | * @generated | ||
198 | */ | ||
199 | public T caseRelation(Relation object) { | ||
200 | return null; | ||
201 | } | ||
202 | |||
203 | /** | ||
204 | * Returns the result of interpreting the object as an instance of '<em>Spatial Relation</em>'. | ||
205 | * <!-- begin-user-doc --> | ||
206 | * This implementation returns null; | ||
207 | * returning a non-null result will terminate the switch. | ||
208 | * <!-- end-user-doc --> | ||
209 | * @param object the target of the switch. | ||
210 | * @return the result of interpreting the object as an instance of '<em>Spatial Relation</em>'. | ||
211 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
212 | * @generated | ||
213 | */ | ||
214 | public T caseSpatialRelation(SpatialRelation object) { | ||
215 | return null; | ||
216 | } | ||
217 | |||
218 | /** | ||
219 | * Returns the result of interpreting the object as an instance of '<em>Temporal Relation</em>'. | ||
220 | * <!-- begin-user-doc --> | ||
221 | * This implementation returns null; | ||
222 | * returning a non-null result will terminate the switch. | ||
223 | * <!-- end-user-doc --> | ||
224 | * @param object the target of the switch. | ||
225 | * @return the result of interpreting the object as an instance of '<em>Temporal Relation</em>'. | ||
226 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
227 | * @generated | ||
228 | */ | ||
229 | public T caseTemporalRelation(TemporalRelation object) { | ||
230 | return null; | ||
231 | } | ||
232 | |||
233 | /** | ||
234 | * Returns the result of interpreting the object as an instance of '<em>Vision Blocked</em>'. | ||
235 | * <!-- begin-user-doc --> | ||
236 | * This implementation returns null; | ||
237 | * returning a non-null result will terminate the switch. | ||
238 | * <!-- end-user-doc --> | ||
239 | * @param object the target of the switch. | ||
240 | * @return the result of interpreting the object as an instance of '<em>Vision Blocked</em>'. | ||
241 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
242 | * @generated | ||
243 | */ | ||
244 | public T caseVisionBlocked(VisionBlocked object) { | ||
245 | return null; | ||
246 | } | ||
247 | |||
248 | /** | ||
249 | * Returns the result of interpreting the object as an instance of '<em>Seperation Distance</em>'. | ||
250 | * <!-- begin-user-doc --> | ||
251 | * This implementation returns null; | ||
252 | * returning a non-null result will terminate the switch. | ||
253 | * <!-- end-user-doc --> | ||
254 | * @param object the target of the switch. | ||
255 | * @return the result of interpreting the object as an instance of '<em>Seperation Distance</em>'. | ||
256 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
257 | * @generated | ||
258 | */ | ||
259 | public T caseSeperationDistance(SeperationDistance object) { | ||
260 | return null; | ||
261 | } | ||
262 | |||
263 | /** | ||
264 | * Returns the result of interpreting the object as an instance of '<em>Collision Exists</em>'. | ||
265 | * <!-- begin-user-doc --> | ||
266 | * This implementation returns null; | ||
267 | * returning a non-null result will terminate the switch. | ||
268 | * <!-- end-user-doc --> | ||
269 | * @param object the target of the switch. | ||
270 | * @return the result of interpreting the object as an instance of '<em>Collision Exists</em>'. | ||
271 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
272 | * @generated | ||
273 | */ | ||
274 | public T caseCollisionExists(CollisionExists object) { | ||
275 | return null; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * Returns the result of interpreting the object as an instance of '<em>Collision Does Not Exist</em>'. | ||
280 | * <!-- begin-user-doc --> | ||
281 | * This implementation returns null; | ||
282 | * returning a non-null result will terminate the switch. | ||
283 | * <!-- end-user-doc --> | ||
284 | * @param object the target of the switch. | ||
285 | * @return the result of interpreting the object as an instance of '<em>Collision Does Not Exist</em>'. | ||
286 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) | ||
287 | * @generated | ||
288 | */ | ||
289 | public T caseCollisionDoesNotExist(CollisionDoesNotExist object) { | ||
290 | return null; | ||
291 | } | ||
292 | |||
293 | /** | ||
294 | * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
295 | * <!-- begin-user-doc --> | ||
296 | * This implementation returns null; | ||
297 | * returning a non-null result will terminate the switch, but this is the last case anyway. | ||
298 | * <!-- end-user-doc --> | ||
299 | * @param object the target of the switch. | ||
300 | * @return the result of interpreting the object as an instance of '<em>EObject</em>'. | ||
301 | * @see #doSwitch(org.eclipse.emf.ecore.EObject) | ||
302 | * @generated | ||
303 | */ | ||
304 | @Override | ||
305 | public T defaultCase(EObject object) { | ||
306 | return null; | ||
307 | } | ||
308 | |||
309 | } //SimpleScenarioSwitch | ||
diff --git a/Domains/traffic.scenarios.simplified/inputs/SimpleScenarioInstance.xmi b/Domains/traffic.scenarios.simplified/inputs/SimpleScenarioInstance.xmi new file mode 100644 index 00000000..4a85197a --- /dev/null +++ b/Domains/traffic.scenarios.simplified/inputs/SimpleScenarioInstance.xmi | |||
@@ -0,0 +1,4 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <simpleScenario:SimpleScenario xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" | ||
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:simpleScenario="http://www.example.com/simpleScenario" | ||
4 | xsi:schemaLocation="http://www.example.com/simpleScenario ../model/simpleScenario.ecore"/> | ||
diff --git a/Domains/traffic.scenarios.simplified/inputs/simpleScenarioGen.vsconfig b/Domains/traffic.scenarios.simplified/inputs/simpleScenarioGen.vsconfig new file mode 100644 index 00000000..14e0fbbd --- /dev/null +++ b/Domains/traffic.scenarios.simplified/inputs/simpleScenarioGen.vsconfig | |||
@@ -0,0 +1,28 @@ | |||
1 | import epackage "model/simpleScenario.ecore" | ||
2 | import viatra "queries/simpleScenarioQueries.vql" | ||
3 | |||
4 | generate { | ||
5 | metamodel = { package simpleScenario } | ||
6 | constraints = { package queries} | ||
7 | partial-model = { "inputs/SimpleScenarioInstance.xmi"} | ||
8 | solver = ViatraSolver | ||
9 | scope = { | ||
10 | #node = 10..30, | ||
11 | #int = {}, | ||
12 | #<Actor> = 1 | ||
13 | } | ||
14 | |||
15 | config = { | ||
16 | runtime = 10000, | ||
17 | log-level = normal, | ||
18 | "numeric-solver" = "dreal", | ||
19 | "scopePropagator" = "typeHierarchy" | ||
20 | } | ||
21 | |||
22 | runs = 1 | ||
23 | |||
24 | debug = "outputs/debug" | ||
25 | log = "outputs/debug/log.txt" | ||
26 | output = "outputs/models" | ||
27 | statistics = "outputs/statistics.csv" | ||
28 | } \ No newline at end of file | ||
diff --git a/Domains/traffic.scenarios.simplified/model/simpleScenario.aird b/Domains/traffic.scenarios.simplified/model/simpleScenario.aird new file mode 100644 index 00000000..b2ddb3a4 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/model/simpleScenario.aird | |||
@@ -0,0 +1,1073 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style"> | ||
3 | <viewpoint:DAnalysis uid="_XP5a8FPIEeuRNIB-ivzkoA" selectedViews="_XSElMFPIEeuRNIB-ivzkoA _XSVq8FPIEeuRNIB-ivzkoA _XSZVUFPIEeuRNIB-ivzkoA _XShRIFPIEeuRNIB-ivzkoA" version="14.3.0.201909031200"> | ||
4 | <semanticResources>simpleScenario.ecore</semanticResources> | ||
5 | <semanticResources>simpleScenario.genmodel</semanticResources> | ||
6 | <ownedViews xmi:type="viewpoint:DView" uid="_XSElMFPIEeuRNIB-ivzkoA"> | ||
7 | <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']"/> | ||
8 | <ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_X5RvIFPIEeuRNIB-ivzkoA" name="simpleScenario class diagram" repPath="#_X5ACUFPIEeuRNIB-ivzkoA" changeId="b0975e81-70f7-476a-8574-d010be038b4b"> | ||
9 | <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/> | ||
10 | <target xmi:type="ecore:EPackage" href="simpleScenario.ecore#/"/> | ||
11 | </ownedRepresentationDescriptors> | ||
12 | </ownedViews> | ||
13 | <ownedViews xmi:type="viewpoint:DView" uid="_XSVq8FPIEeuRNIB-ivzkoA"> | ||
14 | <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Review']"/> | ||
15 | </ownedViews> | ||
16 | <ownedViews xmi:type="viewpoint:DView" uid="_XSZVUFPIEeuRNIB-ivzkoA"> | ||
17 | <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Archetype']"/> | ||
18 | </ownedViews> | ||
19 | <ownedViews xmi:type="viewpoint:DView" uid="_XShRIFPIEeuRNIB-ivzkoA"> | ||
20 | <viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Generation']"/> | ||
21 | </ownedViews> | ||
22 | </viewpoint:DAnalysis> | ||
23 | <diagram:DSemanticDiagram uid="_X5ACUFPIEeuRNIB-ivzkoA"> | ||
24 | <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_X5RIEFPIEeuRNIB-ivzkoA" source="DANNOTATION_CUSTOMIZATION_KEY"> | ||
25 | <data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_X5RIEVPIEeuRNIB-ivzkoA"> | ||
26 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_uRTXsFPhEeubALGSMZ7-4Q" routingStyle="manhattan"> | ||
27 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
28 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_uRTXsVPhEeubALGSMZ7-4Q" showIcon="false" labelExpression="service:render"> | ||
29 | <labelFormat>bold</labelFormat> | ||
30 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
31 | </centerLabelStyleDescription> | ||
32 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_uRTXslPhEeubALGSMZ7-4Q" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
33 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
34 | </endLabelStyleDescription> | ||
35 | </computedStyleDescriptions> | ||
36 | <computedStyleDescriptions xmi:type="style:EdgeStyleDescription" xmi:id="_8aff8FPhEeubALGSMZ7-4Q" sourceArrow="FillDiamond" routingStyle="manhattan"> | ||
37 | <strokeColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
38 | <centerLabelStyleDescription xmi:type="style:CenterLabelStyleDescription" xmi:id="_8aff8VPhEeubALGSMZ7-4Q" showIcon="false" labelExpression="service:render"> | ||
39 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
40 | </centerLabelStyleDescription> | ||
41 | <endLabelStyleDescription xmi:type="style:EndLabelStyleDescription" xmi:id="_8aff8lPhEeubALGSMZ7-4Q" labelSize="6" showIcon="false" labelExpression="service:eKeysLabel"> | ||
42 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='dark_blue']"/> | ||
43 | </endLabelStyleDescription> | ||
44 | </computedStyleDescriptions> | ||
45 | <computedStyleDescriptions xmi:type="style:BundledImageDescription" xmi:id="_egJDsFPvEeuJov5cvS3R2A" labelExpression="service:render" labelAlignment="LEFT" tooltipExpression="service:renderTooltip" sizeComputationExpression="1"> | ||
46 | <borderColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
47 | <labelFormat>bold</labelFormat> | ||
48 | <labelColor xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
49 | <color xmi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/> | ||
50 | </computedStyleDescriptions> | ||
51 | </data> | ||
52 | </ownedAnnotationEntries> | ||
53 | <ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_X5RvIVPIEeuRNIB-ivzkoA" source="GMF_DIAGRAMS"> | ||
54 | <data xmi:type="notation:Diagram" xmi:id="_X5RvIlPIEeuRNIB-ivzkoA" type="Sirius" element="_X5ACUFPIEeuRNIB-ivzkoA" measurementUnit="Pixel"> | ||
55 | <children xmi:type="notation:Node" xmi:id="_OtOiYFPgEeubALGSMZ7-4Q" type="2003" element="_OtFYcFPgEeubALGSMZ7-4Q"> | ||
56 | <children xmi:type="notation:Node" xmi:id="_OtircFPgEeubALGSMZ7-4Q" type="5007"/> | ||
57 | <children xmi:type="notation:Node" xmi:id="_OtircVPgEeubALGSMZ7-4Q" type="7004"> | ||
58 | <children xmi:type="notation:Node" xmi:id="_P1r_QFPgEeubALGSMZ7-4Q" type="3010" element="_P1mfsFPgEeubALGSMZ7-4Q"> | ||
59 | <styles xmi:type="notation:FontStyle" xmi:id="_P1r_QVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
60 | <layoutConstraint xmi:type="notation:Location" xmi:id="_P1r_QlPgEeubALGSMZ7-4Q"/> | ||
61 | </children> | ||
62 | <children xmi:type="notation:Node" xmi:id="_RTkSgFPgEeubALGSMZ7-4Q" type="3010" element="_RTc9wFPgEeubALGSMZ7-4Q"> | ||
63 | <styles xmi:type="notation:FontStyle" xmi:id="_RTkSgVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
64 | <layoutConstraint xmi:type="notation:Location" xmi:id="_RTkSglPgEeubALGSMZ7-4Q"/> | ||
65 | </children> | ||
66 | <styles xmi:type="notation:SortingStyle" xmi:id="_OtirclPgEeubALGSMZ7-4Q"/> | ||
67 | <styles xmi:type="notation:FilteringStyle" xmi:id="_Otirc1PgEeubALGSMZ7-4Q"/> | ||
68 | </children> | ||
69 | <styles xmi:type="notation:ShapeStyle" xmi:id="_OtOiYVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
70 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OtOiYlPgEeubALGSMZ7-4Q" x="252" y="144" width="147" height="75"/> | ||
71 | </children> | ||
72 | <children xmi:type="notation:Node" xmi:id="_TwdLsFPgEeubALGSMZ7-4Q" type="2003" element="_TwYTMFPgEeubALGSMZ7-4Q"> | ||
73 | <children xmi:type="notation:Node" xmi:id="_TwdywFPgEeubALGSMZ7-4Q" type="5007"/> | ||
74 | <children xmi:type="notation:Node" xmi:id="_TwdywVPgEeubALGSMZ7-4Q" type="7004"> | ||
75 | <children xmi:type="notation:Node" xmi:id="_UiXJwFPgEeubALGSMZ7-4Q" type="3010" element="_UiRDIFPgEeubALGSMZ7-4Q"> | ||
76 | <styles xmi:type="notation:FontStyle" xmi:id="_UiXJwVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
77 | <layoutConstraint xmi:type="notation:Location" xmi:id="_UiXJwlPgEeubALGSMZ7-4Q"/> | ||
78 | </children> | ||
79 | <children xmi:type="notation:Node" xmi:id="_lW0lcFPgEeubALGSMZ7-4Q" type="3010" element="_lWkGwFPgEeubALGSMZ7-4Q"> | ||
80 | <styles xmi:type="notation:FontStyle" xmi:id="_lW0lcVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
81 | <layoutConstraint xmi:type="notation:Location" xmi:id="_lW0lclPgEeubALGSMZ7-4Q"/> | ||
82 | </children> | ||
83 | <children xmi:type="notation:Node" xmi:id="_m8jNIFPgEeubALGSMZ7-4Q" type="3010" element="_m8aDMFPgEeubALGSMZ7-4Q"> | ||
84 | <styles xmi:type="notation:FontStyle" xmi:id="_m8jNIVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
85 | <layoutConstraint xmi:type="notation:Location" xmi:id="_m8jNIlPgEeubALGSMZ7-4Q"/> | ||
86 | </children> | ||
87 | <children xmi:type="notation:Node" xmi:id="_22HKAFPkEeubALGSMZ7-4Q" type="3010" element="_21oo4FPkEeubALGSMZ7-4Q"> | ||
88 | <styles xmi:type="notation:FontStyle" xmi:id="_22HKAVPkEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
89 | <layoutConstraint xmi:type="notation:Location" xmi:id="_22HKAlPkEeubALGSMZ7-4Q"/> | ||
90 | </children> | ||
91 | <styles xmi:type="notation:SortingStyle" xmi:id="_TwdywlPgEeubALGSMZ7-4Q"/> | ||
92 | <styles xmi:type="notation:FilteringStyle" xmi:id="_Twdyw1PgEeubALGSMZ7-4Q"/> | ||
93 | </children> | ||
94 | <styles xmi:type="notation:ShapeStyle" xmi:id="_TwdLsVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
95 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TwdLslPgEeubALGSMZ7-4Q" x="48" y="276" width="219" height="99"/> | ||
96 | </children> | ||
97 | <children xmi:type="notation:Node" xmi:id="_V7zB4FPgEeubALGSMZ7-4Q" type="2003" element="_V7s7QFPgEeubALGSMZ7-4Q"> | ||
98 | <children xmi:type="notation:Node" xmi:id="_V7zo8lPgEeubALGSMZ7-4Q" type="5007"/> | ||
99 | <children xmi:type="notation:Node" xmi:id="_V70QAFPgEeubALGSMZ7-4Q" type="7004"> | ||
100 | <children xmi:type="notation:Node" xmi:id="_W-U14FPgEeubALGSMZ7-4Q" type="3010" element="_W-OvQFPgEeubALGSMZ7-4Q"> | ||
101 | <styles xmi:type="notation:FontStyle" xmi:id="_W-U14VPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
102 | <layoutConstraint xmi:type="notation:Location" xmi:id="_W-U14lPgEeubALGSMZ7-4Q"/> | ||
103 | </children> | ||
104 | <children xmi:type="notation:Node" xmi:id="_XytgMFPgEeubALGSMZ7-4Q" type="3010" element="_XyonsFPgEeubALGSMZ7-4Q"> | ||
105 | <styles xmi:type="notation:FontStyle" xmi:id="_XytgMVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
106 | <layoutConstraint xmi:type="notation:Location" xmi:id="_XytgMlPgEeubALGSMZ7-4Q"/> | ||
107 | </children> | ||
108 | <styles xmi:type="notation:SortingStyle" xmi:id="_V70QAVPgEeubALGSMZ7-4Q"/> | ||
109 | <styles xmi:type="notation:FilteringStyle" xmi:id="_V70QAlPgEeubALGSMZ7-4Q"/> | ||
110 | </children> | ||
111 | <styles xmi:type="notation:ShapeStyle" xmi:id="_V7zo8FPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
112 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_V7zo8VPgEeubALGSMZ7-4Q" x="48" y="48" width="120" height="63"/> | ||
113 | </children> | ||
114 | <children xmi:type="notation:Node" xmi:id="_a4oIQFPgEeubALGSMZ7-4Q" type="2003" element="_a4aF0FPgEeubALGSMZ7-4Q"> | ||
115 | <children xmi:type="notation:Node" xmi:id="_a4pWYFPgEeubALGSMZ7-4Q" type="5007"/> | ||
116 | <children xmi:type="notation:Node" xmi:id="_a4p9cFPgEeubALGSMZ7-4Q" type="7004"> | ||
117 | <children xmi:type="notation:Node" xmi:id="_b7U7YFPgEeubALGSMZ7-4Q" type="3010" element="_b7J8QFPgEeubALGSMZ7-4Q"> | ||
118 | <styles xmi:type="notation:FontStyle" xmi:id="_b7U7YVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
119 | <layoutConstraint xmi:type="notation:Location" xmi:id="_b7U7YlPgEeubALGSMZ7-4Q"/> | ||
120 | </children> | ||
121 | <children xmi:type="notation:Node" xmi:id="_cqg8oFPgEeubALGSMZ7-4Q" type="3010" element="_cqYZwFPgEeubALGSMZ7-4Q"> | ||
122 | <styles xmi:type="notation:FontStyle" xmi:id="_cqg8oVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
123 | <layoutConstraint xmi:type="notation:Location" xmi:id="_cqg8olPgEeubALGSMZ7-4Q"/> | ||
124 | </children> | ||
125 | <children xmi:type="notation:Node" xmi:id="_dafoEFPgEeubALGSMZ7-4Q" type="3010" element="_daSzwFPgEeubALGSMZ7-4Q"> | ||
126 | <styles xmi:type="notation:FontStyle" xmi:id="_dafoEVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
127 | <layoutConstraint xmi:type="notation:Location" xmi:id="_dafoElPgEeubALGSMZ7-4Q"/> | ||
128 | </children> | ||
129 | <styles xmi:type="notation:SortingStyle" xmi:id="_a4p9cVPgEeubALGSMZ7-4Q"/> | ||
130 | <styles xmi:type="notation:FilteringStyle" xmi:id="_a4p9clPgEeubALGSMZ7-4Q"/> | ||
131 | </children> | ||
132 | <styles xmi:type="notation:ShapeStyle" xmi:id="_a4oIQVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
133 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_a4oIQlPgEeubALGSMZ7-4Q" x="48" y="120" width="120" height="87"/> | ||
134 | </children> | ||
135 | <children xmi:type="notation:Node" xmi:id="_pFDxwFPgEeubALGSMZ7-4Q" type="2003" element="_pE1IQFPgEeubALGSMZ7-4Q"> | ||
136 | <children xmi:type="notation:Node" xmi:id="_pFE_4FPgEeubALGSMZ7-4Q" type="5007"/> | ||
137 | <children xmi:type="notation:Node" xmi:id="_pFE_4VPgEeubALGSMZ7-4Q" type="7004"> | ||
138 | <children xmi:type="notation:Node" xmi:id="_OB_FoFPjEeubALGSMZ7-4Q" type="3010" element="_OBn5QFPjEeubALGSMZ7-4Q"> | ||
139 | <styles xmi:type="notation:FontStyle" xmi:id="_OB_FoVPjEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
140 | <layoutConstraint xmi:type="notation:Location" xmi:id="_OB_FolPjEeubALGSMZ7-4Q"/> | ||
141 | </children> | ||
142 | <children xmi:type="notation:Node" xmi:id="_rcfjMFPgEeubALGSMZ7-4Q" type="3010" element="_rcWZQFPgEeubALGSMZ7-4Q"> | ||
143 | <styles xmi:type="notation:FontStyle" xmi:id="_rcfjMVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
144 | <layoutConstraint xmi:type="notation:Location" xmi:id="_rcfjMlPgEeubALGSMZ7-4Q"/> | ||
145 | </children> | ||
146 | <children xmi:type="notation:Node" xmi:id="_tUwsYFPgEeubALGSMZ7-4Q" type="3010" element="_tUgNsFPgEeubALGSMZ7-4Q"> | ||
147 | <styles xmi:type="notation:FontStyle" xmi:id="_tUwsYVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
148 | <layoutConstraint xmi:type="notation:Location" xmi:id="_tUwsYlPgEeubALGSMZ7-4Q"/> | ||
149 | </children> | ||
150 | <children xmi:type="notation:Node" xmi:id="_9C9YsFPiEeubALGSMZ7-4Q" type="3010" element="_9CuvMFPiEeubALGSMZ7-4Q"> | ||
151 | <styles xmi:type="notation:FontStyle" xmi:id="_9C9YsVPiEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
152 | <layoutConstraint xmi:type="notation:Location" xmi:id="_9C9YslPiEeubALGSMZ7-4Q"/> | ||
153 | </children> | ||
154 | <children xmi:type="notation:Node" xmi:id="_BPlKIFPjEeubALGSMZ7-4Q" type="3010" element="_BPXHsFPjEeubALGSMZ7-4Q"> | ||
155 | <styles xmi:type="notation:FontStyle" xmi:id="_BPlKIVPjEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
156 | <layoutConstraint xmi:type="notation:Location" xmi:id="_BPlKIlPjEeubALGSMZ7-4Q"/> | ||
157 | </children> | ||
158 | <children xmi:type="notation:Node" xmi:id="_qJitkFPgEeubALGSMZ7-4Q" type="3010" element="_qJVSMFPgEeubALGSMZ7-4Q"> | ||
159 | <styles xmi:type="notation:FontStyle" xmi:id="_qJitkVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
160 | <layoutConstraint xmi:type="notation:Location" xmi:id="_qJitklPgEeubALGSMZ7-4Q"/> | ||
161 | </children> | ||
162 | <styles xmi:type="notation:SortingStyle" xmi:id="_pFE_4lPgEeubALGSMZ7-4Q"/> | ||
163 | <styles xmi:type="notation:FilteringStyle" xmi:id="_pFE_41PgEeubALGSMZ7-4Q"/> | ||
164 | </children> | ||
165 | <styles xmi:type="notation:ShapeStyle" xmi:id="_pFDxwVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
166 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_pFDxwlPgEeubALGSMZ7-4Q" x="444" y="276" width="147" height="147"/> | ||
167 | </children> | ||
168 | <children xmi:type="notation:Node" xmi:id="_xOORQFPgEeubALGSMZ7-4Q" type="2003" element="_xN7WUFPgEeubALGSMZ7-4Q"> | ||
169 | <children xmi:type="notation:Node" xmi:id="_xOPfYFPgEeubALGSMZ7-4Q" type="5007"/> | ||
170 | <children xmi:type="notation:Node" xmi:id="_xOQGcFPgEeubALGSMZ7-4Q" type="7004"> | ||
171 | <styles xmi:type="notation:SortingStyle" xmi:id="_xOQGcVPgEeubALGSMZ7-4Q"/> | ||
172 | <styles xmi:type="notation:FilteringStyle" xmi:id="_xOQGclPgEeubALGSMZ7-4Q"/> | ||
173 | </children> | ||
174 | <styles xmi:type="notation:ShapeStyle" xmi:id="_xOORQVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
175 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xOORQlPgEeubALGSMZ7-4Q" x="696" y="396" width="120" height="39"/> | ||
176 | </children> | ||
177 | <children xmi:type="notation:Node" xmi:id="_yn8dQFPgEeubALGSMZ7-4Q" type="2003" element="_ynvB4FPgEeubALGSMZ7-4Q"> | ||
178 | <children xmi:type="notation:Node" xmi:id="_yn9rYFPgEeubALGSMZ7-4Q" type="5007"/> | ||
179 | <children xmi:type="notation:Node" xmi:id="_yn9rYVPgEeubALGSMZ7-4Q" type="7004"> | ||
180 | <styles xmi:type="notation:SortingStyle" xmi:id="_yn9rYlPgEeubALGSMZ7-4Q"/> | ||
181 | <styles xmi:type="notation:FilteringStyle" xmi:id="_yn9rY1PgEeubALGSMZ7-4Q"/> | ||
182 | </children> | ||
183 | <styles xmi:type="notation:ShapeStyle" xmi:id="_yn8dQVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
184 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yn8dQlPgEeubALGSMZ7-4Q" x="579" y="468" width="120" height="39"/> | ||
185 | </children> | ||
186 | <children xmi:type="notation:Node" xmi:id="_0YHaYFPgEeubALGSMZ7-4Q" type="2003" element="_0X27sFPgEeubALGSMZ7-4Q"> | ||
187 | <children xmi:type="notation:Node" xmi:id="_0YIBcFPgEeubALGSMZ7-4Q" type="5007"/> | ||
188 | <children xmi:type="notation:Node" xmi:id="_0YIBcVPgEeubALGSMZ7-4Q" type="7004"> | ||
189 | <styles xmi:type="notation:SortingStyle" xmi:id="_0YIBclPgEeubALGSMZ7-4Q"/> | ||
190 | <styles xmi:type="notation:FilteringStyle" xmi:id="_0YIBc1PgEeubALGSMZ7-4Q"/> | ||
191 | </children> | ||
192 | <styles xmi:type="notation:ShapeStyle" xmi:id="_0YHaYVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
193 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0YHaYlPgEeubALGSMZ7-4Q" x="813" y="468" width="120" height="21"/> | ||
194 | </children> | ||
195 | <children xmi:type="notation:Node" xmi:id="_6Kj6IFPgEeubALGSMZ7-4Q" type="2003" element="_6KUpkFPgEeubALGSMZ7-4Q"> | ||
196 | <children xmi:type="notation:Node" xmi:id="_6KlIQFPgEeubALGSMZ7-4Q" type="5007"/> | ||
197 | <children xmi:type="notation:Node" xmi:id="_6KlIQVPgEeubALGSMZ7-4Q" type="7004"> | ||
198 | <styles xmi:type="notation:SortingStyle" xmi:id="_6KlIQlPgEeubALGSMZ7-4Q"/> | ||
199 | <styles xmi:type="notation:FilteringStyle" xmi:id="_6KlIQ1PgEeubALGSMZ7-4Q"/> | ||
200 | </children> | ||
201 | <styles xmi:type="notation:ShapeStyle" xmi:id="_6KkhMFPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
202 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6KkhMVPgEeubALGSMZ7-4Q" x="432" y="540" width="120" height="27"/> | ||
203 | </children> | ||
204 | <children xmi:type="notation:Node" xmi:id="_9LNAoFPgEeubALGSMZ7-4Q" type="2003" element="_9K6swFPgEeubALGSMZ7-4Q"> | ||
205 | <children xmi:type="notation:Node" xmi:id="_9LNnsFPgEeubALGSMZ7-4Q" type="5007"/> | ||
206 | <children xmi:type="notation:Node" xmi:id="_9LNnsVPgEeubALGSMZ7-4Q" type="7004"> | ||
207 | <children xmi:type="notation:Node" xmi:id="_-gVAgFPgEeubALGSMZ7-4Q" type="3010" element="_-gIMMFPgEeubALGSMZ7-4Q"> | ||
208 | <styles xmi:type="notation:FontStyle" xmi:id="_-gVAgVPgEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
209 | <layoutConstraint xmi:type="notation:Location" xmi:id="_-gVAglPgEeubALGSMZ7-4Q"/> | ||
210 | </children> | ||
211 | <styles xmi:type="notation:SortingStyle" xmi:id="_9LNnslPgEeubALGSMZ7-4Q"/> | ||
212 | <styles xmi:type="notation:FilteringStyle" xmi:id="_9LNns1PgEeubALGSMZ7-4Q"/> | ||
213 | </children> | ||
214 | <styles xmi:type="notation:ShapeStyle" xmi:id="_9LNAoVPgEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
215 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9LNAolPgEeubALGSMZ7-4Q" x="579" y="540" width="147" height="55"/> | ||
216 | </children> | ||
217 | <children xmi:type="notation:Node" xmi:id="_BIq7wFPhEeubALGSMZ7-4Q" type="2003" element="_BIO24FPhEeubALGSMZ7-4Q"> | ||
218 | <children xmi:type="notation:Node" xmi:id="_BIsJ4FPhEeubALGSMZ7-4Q" type="5007"/> | ||
219 | <children xmi:type="notation:Node" xmi:id="_BItYAFPhEeubALGSMZ7-4Q" type="7004"> | ||
220 | <children xmi:type="notation:Node" xmi:id="_CGiSMFPhEeubALGSMZ7-4Q" type="3010" element="_CGTosFPhEeubALGSMZ7-4Q"> | ||
221 | <styles xmi:type="notation:FontStyle" xmi:id="_CGiSMVPhEeubALGSMZ7-4Q" fontColor="2697711" fontName="Segoe UI" fontHeight="8"/> | ||
222 | <layoutConstraint xmi:type="notation:Location" xmi:id="_CGiSMlPhEeubALGSMZ7-4Q"/> | ||
223 | </children> | ||
224 | <styles xmi:type="notation:SortingStyle" xmi:id="_BItYAVPhEeubALGSMZ7-4Q"/> | ||
225 | <styles xmi:type="notation:FilteringStyle" xmi:id="_BItYAlPhEeubALGSMZ7-4Q"/> | ||
226 | </children> | ||
227 | <styles xmi:type="notation:ShapeStyle" xmi:id="_BIq7wVPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
228 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_BIq7wlPhEeubALGSMZ7-4Q" x="768" y="544" width="183" height="48"/> | ||
229 | </children> | ||
230 | <children xmi:type="notation:Node" xmi:id="_F-iegFPhEeubALGSMZ7-4Q" type="2003" element="_F-VqMFPhEeubALGSMZ7-4Q"> | ||
231 | <children xmi:type="notation:Node" xmi:id="_F-jFkFPhEeubALGSMZ7-4Q" type="5007"/> | ||
232 | <children xmi:type="notation:Node" xmi:id="_F-jFkVPhEeubALGSMZ7-4Q" type="7004"> | ||
233 | <styles xmi:type="notation:SortingStyle" xmi:id="_F-jFklPhEeubALGSMZ7-4Q"/> | ||
234 | <styles xmi:type="notation:FilteringStyle" xmi:id="_F-jFk1PhEeubALGSMZ7-4Q"/> | ||
235 | </children> | ||
236 | <styles xmi:type="notation:ShapeStyle" xmi:id="_F-iegVPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
237 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_F-ieglPhEeubALGSMZ7-4Q" x="972" y="547" width="147" height="27"/> | ||
238 | </children> | ||
239 | <children xmi:type="notation:Shape" xmi:id="_TprY0FPhEeubALGSMZ7-4Q" type="Note" fontName="Segoe UI" description="MORE COMPLEX: xVel and yVel, adjusted according to lane orientation" fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1"> | ||
240 | <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_TprY0VPhEeubALGSMZ7-4Q" source="specificStyles"> | ||
241 | <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_TprY0lPhEeubALGSMZ7-4Q" key="verticalAlignment" value="8"/> | ||
242 | </eAnnotations> | ||
243 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_Tpr_4FPhEeubALGSMZ7-4Q" type="DiagramName"> | ||
244 | <element xsi:nil="true"/> | ||
245 | </children> | ||
246 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_Tpr_4VPhEeubALGSMZ7-4Q" type="Description"> | ||
247 | <element xsi:nil="true"/> | ||
248 | </children> | ||
249 | <styles xmi:type="notation:TextStyle" xmi:id="_TprY01PhEeubALGSMZ7-4Q" textAlignment="Center"/> | ||
250 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_TprY1FPhEeubALGSMZ7-4Q"/> | ||
251 | <element xsi:nil="true"/> | ||
252 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TprY1VPhEeubALGSMZ7-4Q" x="563" y="108" width="161" height="74"/> | ||
253 | </children> | ||
254 | <children xmi:type="notation:Shape" xmi:id="_ZlSboFPhEeubALGSMZ7-4Q" type="Note" fontName="Segoe UI" description="No junctions, only straight lanes. Action limited to forward motion." fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1"> | ||
255 | <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ZlSboVPhEeubALGSMZ7-4Q" source="specificStyles"> | ||
256 | <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_ZlSbolPhEeubALGSMZ7-4Q" key="verticalAlignment" value="8"/> | ||
257 | </eAnnotations> | ||
258 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_ZlTCsFPhEeubALGSMZ7-4Q" type="DiagramName"> | ||
259 | <element xsi:nil="true"/> | ||
260 | </children> | ||
261 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_ZlTCsVPhEeubALGSMZ7-4Q" type="Description"> | ||
262 | <element xsi:nil="true"/> | ||
263 | </children> | ||
264 | <styles xmi:type="notation:TextStyle" xmi:id="_ZlSbo1PhEeubALGSMZ7-4Q" textAlignment="Center"/> | ||
265 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_ZlSbpFPhEeubALGSMZ7-4Q"/> | ||
266 | <element xsi:nil="true"/> | ||
267 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ZlSbpVPhEeubALGSMZ7-4Q" x="751" y="209" width="162"/> | ||
268 | </children> | ||
269 | <children xmi:type="notation:Shape" xmi:id="_eFrdoFPhEeubALGSMZ7-4Q" type="Note" fontName="Segoe UI" description="referenceCoord is (x of left side for vertical lanes) and (y of bottomfor horizontal lanes). Assumption that lanes are infinite length. Limitations are bound of SimpleScenario." fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1"> | ||
270 | <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_eFrdoVPhEeubALGSMZ7-4Q" source="specificStyles"> | ||
271 | <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_eFrdolPhEeubALGSMZ7-4Q" key="verticalAlignment" value="8"/> | ||
272 | </eAnnotations> | ||
273 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_eFsEsFPhEeubALGSMZ7-4Q" type="DiagramName"> | ||
274 | <element xsi:nil="true"/> | ||
275 | </children> | ||
276 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_eFsEsVPhEeubALGSMZ7-4Q" type="Description"> | ||
277 | <element xsi:nil="true"/> | ||
278 | </children> | ||
279 | <styles xmi:type="notation:TextStyle" xmi:id="_eFrdo1PhEeubALGSMZ7-4Q" textAlignment="Center"/> | ||
280 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_eFrdpFPhEeubALGSMZ7-4Q"/> | ||
281 | <element xsi:nil="true"/> | ||
282 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eFrdpVPhEeubALGSMZ7-4Q" x="24" y="585" width="210" height="109"/> | ||
283 | </children> | ||
284 | <children xmi:type="notation:Shape" xmi:id="_2t_QIFPhEeubALGSMZ7-4Q" type="Note" fontName="Segoe UI" description="might need to make this 1..1, or enforce this to a certain extent from queries." fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1"> | ||
285 | <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_2t_QIVPhEeubALGSMZ7-4Q" source="specificStyles"> | ||
286 | <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_2t_QIlPhEeubALGSMZ7-4Q" key="verticalAlignment" value="8"/> | ||
287 | </eAnnotations> | ||
288 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_2t_3MFPhEeubALGSMZ7-4Q" type="DiagramName"> | ||
289 | <element xsi:nil="true"/> | ||
290 | </children> | ||
291 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_2t_3MVPhEeubALGSMZ7-4Q" type="Description"> | ||
292 | <element xsi:nil="true"/> | ||
293 | </children> | ||
294 | <styles xmi:type="notation:TextStyle" xmi:id="_2t_QI1PhEeubALGSMZ7-4Q" textAlignment="Center"/> | ||
295 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_2t_QJFPhEeubALGSMZ7-4Q"/> | ||
296 | <element xsi:nil="true"/> | ||
297 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2t_QJVPhEeubALGSMZ7-4Q" x="254" y="589" width="142" height="70"/> | ||
298 | </children> | ||
299 | <children xmi:type="notation:Shape" xmi:id="_DfudQFPiEeubALGSMZ7-4Q" type="Note" fontName="Segoe UI" description="might not be relevant" fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1"> | ||
300 | <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_DfudQVPiEeubALGSMZ7-4Q" source="specificStyles"> | ||
301 | <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_DfudQlPiEeubALGSMZ7-4Q" key="verticalAlignment" value="8"/> | ||
302 | </eAnnotations> | ||
303 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_DfvEUFPiEeubALGSMZ7-4Q" type="DiagramName"> | ||
304 | <element xsi:nil="true"/> | ||
305 | </children> | ||
306 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_DfvrYFPiEeubALGSMZ7-4Q" type="Description"> | ||
307 | <element xsi:nil="true"/> | ||
308 | </children> | ||
309 | <styles xmi:type="notation:TextStyle" xmi:id="_DfudQ1PiEeubALGSMZ7-4Q" textAlignment="Center"/> | ||
310 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_DfudRFPiEeubALGSMZ7-4Q"/> | ||
311 | <element xsi:nil="true"/> | ||
312 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DfudRVPiEeubALGSMZ7-4Q" x="84" y="474" height="33"/> | ||
313 | </children> | ||
314 | <children xmi:type="notation:Node" xmi:id="_0SFY8FPiEeubALGSMZ7-4Q" type="2003" element="_0R0TMFPiEeubALGSMZ7-4Q"> | ||
315 | <children xmi:type="notation:Node" xmi:id="_0SFY81PiEeubALGSMZ7-4Q" type="5007"/> | ||
316 | <children xmi:type="notation:Node" xmi:id="_0SGAAFPiEeubALGSMZ7-4Q" type="7004"> | ||
317 | <children xmi:type="notation:Node" xmi:id="_1WYHgFPiEeubALGSMZ7-4Q" type="3010" element="_1V8psFPiEeubALGSMZ7-4Q"> | ||
318 | <styles xmi:type="notation:FontStyle" xmi:id="_1WYHgVPiEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
319 | <layoutConstraint xmi:type="notation:Location" xmi:id="_1WYHglPiEeubALGSMZ7-4Q"/> | ||
320 | </children> | ||
321 | <children xmi:type="notation:Node" xmi:id="_2xNGwFPiEeubALGSMZ7-4Q" type="3010" element="_2w0FMFPiEeubALGSMZ7-4Q"> | ||
322 | <styles xmi:type="notation:FontStyle" xmi:id="_2xNGwVPiEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
323 | <layoutConstraint xmi:type="notation:Location" xmi:id="_2xNGwlPiEeubALGSMZ7-4Q"/> | ||
324 | </children> | ||
325 | <styles xmi:type="notation:SortingStyle" xmi:id="_0SGAAVPiEeubALGSMZ7-4Q"/> | ||
326 | <styles xmi:type="notation:FilteringStyle" xmi:id="_0SGAAlPiEeubALGSMZ7-4Q"/> | ||
327 | </children> | ||
328 | <styles xmi:type="notation:ShapeStyle" xmi:id="_0SFY8VPiEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
329 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0SFY8lPiEeubALGSMZ7-4Q" x="233" y="48" width="120" height="63"/> | ||
330 | </children> | ||
331 | <children xmi:type="notation:Shape" xmi:id="_EVHXsFPjEeubALGSMZ7-4Q" type="Note" fontName="Segoe UI" description="length and width hard-coded wrt. actor type for now." fillColor="13369343" transparency="0" lineColor="6737151" lineWidth="1"> | ||
332 | <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EVHXsVPjEeubALGSMZ7-4Q" source="specificStyles"> | ||
333 | <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_EVHXslPjEeubALGSMZ7-4Q" key="verticalAlignment" value="8"/> | ||
334 | </eAnnotations> | ||
335 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_EVHXtlPjEeubALGSMZ7-4Q" type="DiagramName"> | ||
336 | <element xsi:nil="true"/> | ||
337 | </children> | ||
338 | <children xmi:type="notation:BasicDecorationNode" xmi:id="_EVH-wFPjEeubALGSMZ7-4Q" type="Description"> | ||
339 | <element xsi:nil="true"/> | ||
340 | </children> | ||
341 | <styles xmi:type="notation:TextStyle" xmi:id="_EVHXs1PjEeubALGSMZ7-4Q" textAlignment="Center"/> | ||
342 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_EVHXtFPjEeubALGSMZ7-4Q"/> | ||
343 | <element xsi:nil="true"/> | ||
344 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_EVHXtVPjEeubALGSMZ7-4Q" x="288" y="432" width="125"/> | ||
345 | </children> | ||
346 | <styles xmi:type="notation:DiagramStyle" xmi:id="_X5RvI1PIEeuRNIB-ivzkoA"/> | ||
347 | <edges xmi:type="notation:Edge" xmi:id="_QQsq0FPhEeubALGSMZ7-4Q" type="4001" element="_QQgdkFPhEeubALGSMZ7-4Q" source="_F-iegFPhEeubALGSMZ7-4Q" target="_0YHaYFPgEeubALGSMZ7-4Q"> | ||
348 | <children xmi:type="notation:Node" xmi:id="_QQt48FPhEeubALGSMZ7-4Q" type="6001"> | ||
349 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QQt48VPhEeubALGSMZ7-4Q" y="-10"/> | ||
350 | </children> | ||
351 | <children xmi:type="notation:Node" xmi:id="_QQt48lPhEeubALGSMZ7-4Q" type="6002"> | ||
352 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QQt481PhEeubALGSMZ7-4Q" y="10"/> | ||
353 | </children> | ||
354 | <children xmi:type="notation:Node" xmi:id="_QQugAFPhEeubALGSMZ7-4Q" type="6003"> | ||
355 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QQugAVPhEeubALGSMZ7-4Q" y="10"/> | ||
356 | </children> | ||
357 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_QQsq0VPhEeubALGSMZ7-4Q" routing="Tree"/> | ||
358 | <styles xmi:type="notation:FontStyle" xmi:id="_QQsq0lPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
359 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QQsq01PhEeubALGSMZ7-4Q" points="[0, 0, 84, 40]$[-84, -40, 0, 0]"/> | ||
360 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QQw8QFPhEeubALGSMZ7-4Q" id="(0.16551724137931034,0.0)"/> | ||
361 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QQw8QVPhEeubALGSMZ7-4Q" id="(0.5,0.5)"/> | ||
362 | </edges> | ||
363 | <edges xmi:type="notation:Edge" xmi:id="_QsrcMFPhEeubALGSMZ7-4Q" type="4001" element="_Qsen4FPhEeubALGSMZ7-4Q" source="_BIq7wFPhEeubALGSMZ7-4Q" target="_0YHaYFPgEeubALGSMZ7-4Q"> | ||
364 | <children xmi:type="notation:Node" xmi:id="_QsrcNFPhEeubALGSMZ7-4Q" type="6001"> | ||
365 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QsrcNVPhEeubALGSMZ7-4Q" y="-10"/> | ||
366 | </children> | ||
367 | <children xmi:type="notation:Node" xmi:id="_QsrcNlPhEeubALGSMZ7-4Q" type="6002"> | ||
368 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QsrcN1PhEeubALGSMZ7-4Q" y="10"/> | ||
369 | </children> | ||
370 | <children xmi:type="notation:Node" xmi:id="_QssDQFPhEeubALGSMZ7-4Q" type="6003"> | ||
371 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QssDQVPhEeubALGSMZ7-4Q" y="10"/> | ||
372 | </children> | ||
373 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_QsrcMVPhEeubALGSMZ7-4Q" routing="Tree"/> | ||
374 | <styles xmi:type="notation:FontStyle" xmi:id="_QsrcMlPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
375 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QsrcM1PhEeubALGSMZ7-4Q" points="[0, 0, 0, 37]$[0, -37, 0, 0]"/> | ||
376 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QssDQlPhEeubALGSMZ7-4Q" id="(0.574585635359116,0.0)"/> | ||
377 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QssDQ1PhEeubALGSMZ7-4Q" id="(0.5,0.5)"/> | ||
378 | </edges> | ||
379 | <edges xmi:type="notation:Edge" xmi:id="_RJCBAFPhEeubALGSMZ7-4Q" type="4001" element="_RI43FlPhEeubALGSMZ7-4Q" source="_9LNAoFPgEeubALGSMZ7-4Q" target="_yn8dQFPgEeubALGSMZ7-4Q"> | ||
380 | <children xmi:type="notation:Node" xmi:id="_RJCoEFPhEeubALGSMZ7-4Q" type="6001"> | ||
381 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJCoEVPhEeubALGSMZ7-4Q" y="-10"/> | ||
382 | </children> | ||
383 | <children xmi:type="notation:Node" xmi:id="_RJCoElPhEeubALGSMZ7-4Q" type="6002"> | ||
384 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJCoE1PhEeubALGSMZ7-4Q" y="10"/> | ||
385 | </children> | ||
386 | <children xmi:type="notation:Node" xmi:id="_RJCoFFPhEeubALGSMZ7-4Q" type="6003"> | ||
387 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJCoFVPhEeubALGSMZ7-4Q" y="10"/> | ||
388 | </children> | ||
389 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_RJCBAVPhEeubALGSMZ7-4Q" routing="Tree"/> | ||
390 | <styles xmi:type="notation:FontStyle" xmi:id="_RJCBAlPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
391 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RJCBA1PhEeubALGSMZ7-4Q" points="[0, 0, 0, 33]$[0, -33, 0, 0]"/> | ||
392 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RJDPIFPhEeubALGSMZ7-4Q" id="(0.503448275862069,0.0)"/> | ||
393 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RJDPIVPhEeubALGSMZ7-4Q" id="(0.5,0.5)"/> | ||
394 | </edges> | ||
395 | <edges xmi:type="notation:Edge" xmi:id="_RrDI8FPhEeubALGSMZ7-4Q" type="4001" element="_Rq5_BlPhEeubALGSMZ7-4Q" source="_6Kj6IFPgEeubALGSMZ7-4Q" target="_yn8dQFPgEeubALGSMZ7-4Q"> | ||
396 | <children xmi:type="notation:Node" xmi:id="_RrDwAFPhEeubALGSMZ7-4Q" type="6001"> | ||
397 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RrDwAVPhEeubALGSMZ7-4Q" y="-10"/> | ||
398 | </children> | ||
399 | <children xmi:type="notation:Node" xmi:id="_RrDwAlPhEeubALGSMZ7-4Q" type="6002"> | ||
400 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RrDwA1PhEeubALGSMZ7-4Q" y="10"/> | ||
401 | </children> | ||
402 | <children xmi:type="notation:Node" xmi:id="_RrEXEFPhEeubALGSMZ7-4Q" type="6003"> | ||
403 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RrEXEVPhEeubALGSMZ7-4Q" y="10"/> | ||
404 | </children> | ||
405 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_RrDI8VPhEeubALGSMZ7-4Q" routing="Tree"/> | ||
406 | <styles xmi:type="notation:FontStyle" xmi:id="_RrDI8lPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
407 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RrDI81PhEeubALGSMZ7-4Q" points="[0, 0, -96, 33]$[96, -33, 0, 0]"/> | ||
408 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RrEXElPhEeubALGSMZ7-4Q" id="(0.8135593220338984,0.0)"/> | ||
409 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RrEXE1PhEeubALGSMZ7-4Q" id="(0.5,0.5)"/> | ||
410 | </edges> | ||
411 | <edges xmi:type="notation:Edge" xmi:id="_SJweMFPhEeubALGSMZ7-4Q" type="4001" element="_SJlfFlPhEeubALGSMZ7-4Q" source="_yn8dQFPgEeubALGSMZ7-4Q" target="_xOORQFPgEeubALGSMZ7-4Q"> | ||
412 | <children xmi:type="notation:Node" xmi:id="_SJxFQFPhEeubALGSMZ7-4Q" type="6001"> | ||
413 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SJxFQVPhEeubALGSMZ7-4Q" y="-10"/> | ||
414 | </children> | ||
415 | <children xmi:type="notation:Node" xmi:id="_SJxFQlPhEeubALGSMZ7-4Q" type="6002"> | ||
416 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SJxFQ1PhEeubALGSMZ7-4Q" y="10"/> | ||
417 | </children> | ||
418 | <children xmi:type="notation:Node" xmi:id="_SJxFRFPhEeubALGSMZ7-4Q" type="6003"> | ||
419 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SJxFRVPhEeubALGSMZ7-4Q" y="10"/> | ||
420 | </children> | ||
421 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_SJweMVPhEeubALGSMZ7-4Q" routing="Tree"/> | ||
422 | <styles xmi:type="notation:FontStyle" xmi:id="_SJweMlPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
423 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_SJweM1PhEeubALGSMZ7-4Q" points="[0, 0, -117, 33]$[117, -33, 0, 0]"/> | ||
424 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_SJxsUFPhEeubALGSMZ7-4Q" id="(0.5,0.0)"/> | ||
425 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_SJxsUVPhEeubALGSMZ7-4Q" id="(0.5,0.5)"/> | ||
426 | </edges> | ||
427 | <edges xmi:type="notation:Edge" xmi:id="_SyR2wFPhEeubALGSMZ7-4Q" type="4001" element="_SyG3plPhEeubALGSMZ7-4Q" source="_0YHaYFPgEeubALGSMZ7-4Q" target="_xOORQFPgEeubALGSMZ7-4Q"> | ||
428 | <children xmi:type="notation:Node" xmi:id="_SyR2xFPhEeubALGSMZ7-4Q" type="6001"> | ||
429 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SyR2xVPhEeubALGSMZ7-4Q" y="-10"/> | ||
430 | </children> | ||
431 | <children xmi:type="notation:Node" xmi:id="_SyR2xlPhEeubALGSMZ7-4Q" type="6002"> | ||
432 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SyR2x1PhEeubALGSMZ7-4Q" y="10"/> | ||
433 | </children> | ||
434 | <children xmi:type="notation:Node" xmi:id="_SySd0FPhEeubALGSMZ7-4Q" type="6003"> | ||
435 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SySd0VPhEeubALGSMZ7-4Q" y="10"/> | ||
436 | </children> | ||
437 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_SyR2wVPhEeubALGSMZ7-4Q" routing="Tree"/> | ||
438 | <styles xmi:type="notation:FontStyle" xmi:id="_SyR2wlPhEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
439 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_SyR2w1PhEeubALGSMZ7-4Q" points="[0, 0, 116, 33]$[-116, -33, 0, 0]"/> | ||
440 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_SySd0lPhEeubALGSMZ7-4Q" id="(0.5,0.0)"/> | ||
441 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_SySd01PhEeubALGSMZ7-4Q" id="(0.5,0.5)"/> | ||
442 | </edges> | ||
443 | <edges xmi:type="notation:Connector" xmi:id="_YJ7Q4FPhEeubALGSMZ7-4Q" type="NoteAttachment" source="_pFDxwFPgEeubALGSMZ7-4Q" target="_TprY0FPhEeubALGSMZ7-4Q" lineWidth="1"> | ||
444 | <styles xmi:type="notation:ArrowStyle" xmi:id="_YJ7Q4VPhEeubALGSMZ7-4Q"/> | ||
445 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_YJ7Q4lPhEeubALGSMZ7-4Q"/> | ||
446 | <element xsi:nil="true"/> | ||
447 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_YJ7Q41PhEeubALGSMZ7-4Q" points="[0, -9, -4, 108]$[3, -103, -1, 14]"/> | ||
448 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YJ-7QFPhEeubALGSMZ7-4Q" id="(0.8137931034482758,0.10465116279069768)"/> | ||
449 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YJ-7QVPhEeubALGSMZ7-4Q" id="(0.018633540372670808,0.8108108108108109)"/> | ||
450 | </edges> | ||
451 | <edges xmi:type="notation:Connector" xmi:id="_ruhR4FPhEeubALGSMZ7-4Q" type="NoteAttachment" source="_eFrdoFPhEeubALGSMZ7-4Q" target="_TwdLsFPgEeubALGSMZ7-4Q" lineWidth="1"> | ||
452 | <styles xmi:type="notation:ArrowStyle" xmi:id="_ruhR4VPhEeubALGSMZ7-4Q"/> | ||
453 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_ruhR4lPhEeubALGSMZ7-4Q"/> | ||
454 | <element xsi:nil="true"/> | ||
455 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ruhR41PhEeubALGSMZ7-4Q" points="[-2, -1, 0, 230]$[-5, -230, -3, 1]"/> | ||
456 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ruk8QFPhEeubALGSMZ7-4Q" id="(0.1380952380952381,0.009174311926605505)"/> | ||
457 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ruk8QVPhEeubALGSMZ7-4Q" id="(0.013824884792626729,0.9294117647058824)"/> | ||
458 | </edges> | ||
459 | <edges xmi:type="notation:Edge" xmi:id="_sxyFsFPhEeubALGSMZ7-4Q" type="4001" element="_sxnGkFPhEeubALGSMZ7-4Q" source="_xOORQFPgEeubALGSMZ7-4Q" target="_pFDxwFPgEeubALGSMZ7-4Q"> | ||
460 | <children xmi:type="notation:Node" xmi:id="_sxyswFPhEeubALGSMZ7-4Q" type="6001"> | ||
461 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sxyswVPhEeubALGSMZ7-4Q" x="23" y="-18"/> | ||
462 | </children> | ||
463 | <children xmi:type="notation:Node" xmi:id="_sxyswlPhEeubALGSMZ7-4Q" type="6002"> | ||
464 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sxysw1PhEeubALGSMZ7-4Q" x="40" y="-65"/> | ||
465 | </children> | ||
466 | <children xmi:type="notation:Node" xmi:id="_sxysxFPhEeubALGSMZ7-4Q" type="6003"> | ||
467 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sxysxVPhEeubALGSMZ7-4Q" x="7" y="10"/> | ||
468 | </children> | ||
469 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_sxyFsVPhEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
470 | <styles xmi:type="notation:FontStyle" xmi:id="_sxyFslPhEeubALGSMZ7-4Q" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/> | ||
471 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sxyFs1PhEeubALGSMZ7-4Q" points="[36, -12, 143, 36]$[36, -72, 143, -24]$[-107, -72, 0, -24]"/> | ||
472 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_sxzT0FPhEeubALGSMZ7-4Q" id="(0.0,0.3076923076923077)"/> | ||
473 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_sxzT0VPhEeubALGSMZ7-4Q" id="(1.0,0.5793103448275863)"/> | ||
474 | </edges> | ||
475 | <edges xmi:type="notation:Edge" xmi:id="_wBUj0FPhEeubALGSMZ7-4Q" type="4001" element="_wBI9plPhEeubALGSMZ7-4Q" source="_pFDxwFPgEeubALGSMZ7-4Q" target="_xOORQFPgEeubALGSMZ7-4Q"> | ||
476 | <children xmi:type="notation:Node" xmi:id="_wBVK4FPhEeubALGSMZ7-4Q" type="6001"> | ||
477 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wBVK4VPhEeubALGSMZ7-4Q" x="-18" y="-10"/> | ||
478 | </children> | ||
479 | <children xmi:type="notation:Node" xmi:id="_wBVK4lPhEeubALGSMZ7-4Q" type="6002"> | ||
480 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wBVK41PhEeubALGSMZ7-4Q" x="-31" y="10"/> | ||
481 | </children> | ||
482 | <children xmi:type="notation:Node" xmi:id="_wBVK5FPhEeubALGSMZ7-4Q" type="6003"> | ||
483 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wBVK5VPhEeubALGSMZ7-4Q" x="-5" y="10"/> | ||
484 | </children> | ||
485 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_wBUj0VPhEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
486 | <styles xmi:type="notation:FontStyle" xmi:id="_wBUj0lPhEeubALGSMZ7-4Q" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/> | ||
487 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_wBUj01PhEeubALGSMZ7-4Q" points="[0, 0, -203, -96]$[203, 0, 0, -96]$[203, 96, 0, 0]"/> | ||
488 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_wBVx8FPhEeubALGSMZ7-4Q" id="(1.0,0.16551724137931034)"/> | ||
489 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_wBVx8VPhEeubALGSMZ7-4Q" id="(0.8135593220338984,0.0)"/> | ||
490 | </edges> | ||
491 | <edges xmi:type="notation:Edge" xmi:id="_y3Xj4FPhEeubALGSMZ7-4Q" type="4001" element="_y3BloFPhEeubALGSMZ7-4Q" source="_6Kj6IFPgEeubALGSMZ7-4Q" target="_pFDxwFPgEeubALGSMZ7-4Q"> | ||
492 | <children xmi:type="notation:Node" xmi:id="_y3YK8FPhEeubALGSMZ7-4Q" type="6001"> | ||
493 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y3YK8VPhEeubALGSMZ7-4Q" x="1" y="46"/> | ||
494 | </children> | ||
495 | <children xmi:type="notation:Node" xmi:id="_y3YK8lPhEeubALGSMZ7-4Q" type="6002"> | ||
496 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y3YK81PhEeubALGSMZ7-4Q" x="1" y="10"/> | ||
497 | </children> | ||
498 | <children xmi:type="notation:Node" xmi:id="_y3YK9FPhEeubALGSMZ7-4Q" type="6003"> | ||
499 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_y3YK9VPhEeubALGSMZ7-4Q" x="-1" y="10"/> | ||
500 | </children> | ||
501 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_y3Xj4VPhEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
502 | <styles xmi:type="notation:FontStyle" xmi:id="_y3Xj4lPhEeubALGSMZ7-4Q" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/> | ||
503 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_y3Xj41PhEeubALGSMZ7-4Q" points="[36, 0, 11, 178]$[36, -178, 11, 0]"/> | ||
504 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_y3YyAFPhEeubALGSMZ7-4Q" id="(0.1016949152542373,0.0)"/> | ||
505 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_y3YyAVPhEeubALGSMZ7-4Q" id="(0.1724137931034483,0.593103448275862)"/> | ||
506 | </edges> | ||
507 | <edges xmi:type="notation:Connector" xmi:id="_7RYi0FPhEeubALGSMZ7-4Q" type="NoteAttachment" source="_2t_QIFPhEeubALGSMZ7-4Q" target="_y3Xj4FPhEeubALGSMZ7-4Q" lineWidth="1"> | ||
508 | <styles xmi:type="notation:ArrowStyle" xmi:id="_7RYi0VPhEeubALGSMZ7-4Q"/> | ||
509 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_7RYi0lPhEeubALGSMZ7-4Q"/> | ||
510 | <element xsi:nil="true"/> | ||
511 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7RYi01PhEeubALGSMZ7-4Q" points="[8, -14, -84, 137]$[76, -125, -16, 26]"/> | ||
512 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7Ra_EFPhEeubALGSMZ7-4Q" id="(0.9436619718309859,0.2571428571428571)"/> | ||
513 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7Ra_EVPhEeubALGSMZ7-4Q" id="(0.15254237288135594,0.41148325358851673)"/> | ||
514 | </edges> | ||
515 | <edges xmi:type="notation:Edge" xmi:id="_9bPLQFPhEeubALGSMZ7-4Q" type="4001" element="_9bC-DFPhEeubALGSMZ7-4Q" source="_OtOiYFPgEeubALGSMZ7-4Q" target="_pFDxwFPgEeubALGSMZ7-4Q"> | ||
516 | <children xmi:type="notation:Node" xmi:id="_9bPLRFPhEeubALGSMZ7-4Q" type="6001"> | ||
517 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9bPLRVPhEeubALGSMZ7-4Q" x="-17" y="-10"/> | ||
518 | </children> | ||
519 | <children xmi:type="notation:Node" xmi:id="_9bPyUFPhEeubALGSMZ7-4Q" type="6002"> | ||
520 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9bPyUVPhEeubALGSMZ7-4Q" x="-6" y="10"/> | ||
521 | </children> | ||
522 | <children xmi:type="notation:Node" xmi:id="_9bPyUlPhEeubALGSMZ7-4Q" type="6003"> | ||
523 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9bPyU1PhEeubALGSMZ7-4Q" x="5" y="46"/> | ||
524 | </children> | ||
525 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_9bPLQVPhEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
526 | <styles xmi:type="notation:FontStyle" xmi:id="_9bPLQlPhEeubALGSMZ7-4Q" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/> | ||
527 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9bPLQ1PhEeubALGSMZ7-4Q" points="[0, 0, -111, -59]$[0, 29, -111, -30]$[111, 29, 0, -30]$[111, 59, 0, 0]"/> | ||
528 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9bPyVFPhEeubALGSMZ7-4Q" id="(0.8068965517241379,1.0)"/> | ||
529 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9bPyVVPhEeubALGSMZ7-4Q" id="(0.2482758620689655,0.0)"/> | ||
530 | </edges> | ||
531 | <edges xmi:type="notation:Edge" xmi:id="_-pzQIFPhEeubALGSMZ7-4Q" type="4001" element="_-poRDFPhEeubALGSMZ7-4Q" source="_OtOiYFPgEeubALGSMZ7-4Q" target="_TwdLsFPgEeubALGSMZ7-4Q"> | ||
532 | <children xmi:type="notation:Node" xmi:id="_-pz3MFPhEeubALGSMZ7-4Q" type="6001"> | ||
533 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-pz3MVPhEeubALGSMZ7-4Q" y="-10"/> | ||
534 | </children> | ||
535 | <children xmi:type="notation:Node" xmi:id="_-pz3MlPhEeubALGSMZ7-4Q" type="6002"> | ||
536 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-pz3M1PhEeubALGSMZ7-4Q" y="10"/> | ||
537 | </children> | ||
538 | <children xmi:type="notation:Node" xmi:id="_-pz3NFPhEeubALGSMZ7-4Q" type="6003"> | ||
539 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-pz3NVPhEeubALGSMZ7-4Q" y="10"/> | ||
540 | </children> | ||
541 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_-pzQIVPhEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
542 | <styles xmi:type="notation:FontStyle" xmi:id="_-pzQIlPhEeubALGSMZ7-4Q" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/> | ||
543 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-pzQI1PhEeubALGSMZ7-4Q" points="[0, 0, 84, -59]$[0, 29, 84, -30]$[-84, 29, 0, -30]$[-84, 59, 0, 0]"/> | ||
544 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-pz3NlPhEeubALGSMZ7-4Q" id="(0.2482758620689655,1.0)"/> | ||
545 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-pz3N1PhEeubALGSMZ7-4Q" id="(0.7188940092165899,0.0)"/> | ||
546 | </edges> | ||
547 | <edges xmi:type="notation:Edge" xmi:id="__oNZIFPhEeubALGSMZ7-4Q" type="4001" element="__n_9wFPhEeubALGSMZ7-4Q" source="_TwdLsFPgEeubALGSMZ7-4Q" target="_TwdLsFPgEeubALGSMZ7-4Q"> | ||
548 | <children xmi:type="notation:Node" xmi:id="__oOAMFPhEeubALGSMZ7-4Q" type="6001"> | ||
549 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="__oOAMVPhEeubALGSMZ7-4Q" x="-19" y="14"/> | ||
550 | </children> | ||
551 | <children xmi:type="notation:Node" xmi:id="__oOAMlPhEeubALGSMZ7-4Q" type="6002"> | ||
552 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="__oOAM1PhEeubALGSMZ7-4Q" x="1"/> | ||
553 | </children> | ||
554 | <children xmi:type="notation:Node" xmi:id="__oOANFPhEeubALGSMZ7-4Q" type="6003"> | ||
555 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="__oOANVPhEeubALGSMZ7-4Q" x="2" y="7"/> | ||
556 | </children> | ||
557 | <styles xmi:type="notation:ConnectorStyle" xmi:id="__oNZIVPhEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
558 | <styles xmi:type="notation:FontStyle" xmi:id="__oNZIlPhEeubALGSMZ7-4Q" fontColor="7490599" fontName="Segoe UI" fontHeight="8"/> | ||
559 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__oNZI1PhEeubALGSMZ7-4Q" points="[-181, 1, 36, 1]$[-181, 41, 36, 41]$[-49, 41, 168, 41]$[-49, 1, 168, 1]"/> | ||
560 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__oOANlPhEeubALGSMZ7-4Q" id="(1.0,0.865979381443299)"/> | ||
561 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__oOAN1PhEeubALGSMZ7-4Q" id="(0.0,0.865979381443299)"/> | ||
562 | </edges> | ||
563 | <edges xmi:type="notation:Connector" xmi:id="_Geab8FPiEeubALGSMZ7-4Q" type="NoteAttachment" source="_DfudQFPiEeubALGSMZ7-4Q" target="__oNZIFPhEeubALGSMZ7-4Q" lineWidth="1"> | ||
564 | <styles xmi:type="notation:ArrowStyle" xmi:id="_Geab8VPiEeubALGSMZ7-4Q"/> | ||
565 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_Geab8lPiEeubALGSMZ7-4Q"/> | ||
566 | <element xsi:nil="true"/> | ||
567 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Geab81PiEeubALGSMZ7-4Q" points="[-1, -4, 18, 88]$[-9, -43, 10, 49]"/> | ||
568 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GecRIFPiEeubALGSMZ7-4Q" id="(0.9558823529411765,0.12121212121212122)"/> | ||
569 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GecRIVPiEeubALGSMZ7-4Q" id="(0.8373493975903614,0.6111111111111112)"/> | ||
570 | </edges> | ||
571 | <edges xmi:type="notation:Edge" xmi:id="_HiRssFPiEeubALGSMZ7-4Q" type="4001" element="_HiHUoFPiEeubALGSMZ7-4Q" source="_TwdLsFPgEeubALGSMZ7-4Q" target="_pFDxwFPgEeubALGSMZ7-4Q"> | ||
572 | <children xmi:type="notation:Node" xmi:id="_HiSTwFPiEeubALGSMZ7-4Q" type="6001"> | ||
573 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HiSTwVPiEeubALGSMZ7-4Q" x="-18" y="-10"/> | ||
574 | </children> | ||
575 | <children xmi:type="notation:Node" xmi:id="_HiSTwlPiEeubALGSMZ7-4Q" type="6002"> | ||
576 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HiSTw1PiEeubALGSMZ7-4Q" x="22" y="18"/> | ||
577 | </children> | ||
578 | <children xmi:type="notation:Node" xmi:id="_HiSTxFPiEeubALGSMZ7-4Q" type="6003"> | ||
579 | <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HiSTxVPiEeubALGSMZ7-4Q" x="-13" y="18"/> | ||
580 | </children> | ||
581 | <styles xmi:type="notation:ConnectorStyle" xmi:id="_HiRssVPiEeubALGSMZ7-4Q" routing="Rectilinear"/> | ||
582 | <styles xmi:type="notation:FontStyle" xmi:id="_HiRsslPiEeubALGSMZ7-4Q" fontName="Segoe UI" fontHeight="8"/> | ||
583 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_HiRss1PiEeubALGSMZ7-4Q" points="[0, 0, -179, 0]$[179, 0, 0, 0]"/> | ||
584 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HiSTxlPiEeubALGSMZ7-4Q" id="(1.0,0.24742268041237114)"/> | ||
585 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HiSTx1PiEeubALGSMZ7-4Q" id="(0.0,0.16551724137931034)"/> | ||
586 | </edges> | ||
587 | <edges xmi:type="notation:Connector" xmi:id="_I0tIcFPjEeubALGSMZ7-4Q" type="NoteAttachment" source="_EVHXsFPjEeubALGSMZ7-4Q" target="_pFDxwFPgEeubALGSMZ7-4Q" lineWidth="1"> | ||
588 | <styles xmi:type="notation:ArrowStyle" xmi:id="_I0tIcVPjEeubALGSMZ7-4Q"/> | ||
589 | <styles xmi:type="notation:LineTypeStyle" xmi:id="_I0tIclPjEeubALGSMZ7-4Q"/> | ||
590 | <element xsi:nil="true"/> | ||
591 | <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_I0tIc1PjEeubALGSMZ7-4Q" points="[4, -3, -63, 44]$[66, -47, -1, 0]"/> | ||
592 | <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_I0xZ4FPjEeubALGSMZ7-4Q" id="(0.72,0.05263157894736842)"/> | ||
593 | <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_I0xZ4VPjEeubALGSMZ7-4Q" id="(0.006896551724137931,0.9256198347107438)"/> | ||
594 | </edges> | ||
595 | </data> | ||
596 | </ownedAnnotationEntries> | ||
597 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_OtFYcFPgEeubALGSMZ7-4Q" name="SimpleScenario" tooltipText="" outgoingEdges="_9bC-DFPhEeubALGSMZ7-4Q _-poRDFPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
598 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//SimpleScenario"/> | ||
599 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//SimpleScenario"/> | ||
600 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
601 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
602 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
603 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_SBHVAVPgEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
604 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
605 | </ownedStyle> | ||
606 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
607 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_P1mfsFPgEeubALGSMZ7-4Q" name="xSize : EDouble = 0.0" tooltipText=""> | ||
608 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//SimpleScenario/xSize"/> | ||
609 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//SimpleScenario/xSize"/> | ||
610 | <ownedStyle xmi:type="diagram:BundledImage" uid="_Qk_VQVPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
611 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
612 | </ownedStyle> | ||
613 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
614 | </ownedElements> | ||
615 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_RTc9wFPgEeubALGSMZ7-4Q" name="ySize : EDouble = 0.0" tooltipText=""> | ||
616 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//SimpleScenario/ySize"/> | ||
617 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//SimpleScenario/ySize"/> | ||
618 | <ownedStyle xmi:type="diagram:BundledImage" uid="_SBH8ElPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
619 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
620 | </ownedStyle> | ||
621 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
622 | </ownedElements> | ||
623 | </ownedDiagramElements> | ||
624 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_TwYTMFPgEeubALGSMZ7-4Q" name="Lane" tooltipText="" outgoingEdges="__n_9wFPhEeubALGSMZ7-4Q _HiHUoFPiEeubALGSMZ7-4Q" incomingEdges="_-poRDFPhEeubALGSMZ7-4Q __n_9wFPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
625 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//Lane"/> | ||
626 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//Lane"/> | ||
627 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
628 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
629 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
630 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_4QL7UlPkEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
631 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
632 | </ownedStyle> | ||
633 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
634 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_UiRDIFPgEeubALGSMZ7-4Q" name="orientation : Orientation = Vertical" tooltipText=""> | ||
635 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/orientation"/> | ||
636 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/orientation"/> | ||
637 | <ownedStyle xmi:type="diagram:BundledImage" uid="_egJDslPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
638 | <labelFormat>bold</labelFormat> | ||
639 | </ownedStyle> | ||
640 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
641 | </ownedElements> | ||
642 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_lWkGwFPgEeubALGSMZ7-4Q" name="width : Size = Small" tooltipText=""> | ||
643 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/width"/> | ||
644 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/width"/> | ||
645 | <ownedStyle xmi:type="diagram:BundledImage" uid="_fnAlIlPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
646 | <labelFormat>bold</labelFormat> | ||
647 | </ownedStyle> | ||
648 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
649 | </ownedElements> | ||
650 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_m8aDMFPgEeubALGSMZ7-4Q" name="referenceCoord : EInt" tooltipText=""> | ||
651 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/referenceCoord"/> | ||
652 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/referenceCoord"/> | ||
653 | <ownedStyle xmi:type="diagram:BundledImage" uid="_3aTbMlPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
654 | <labelFormat>bold</labelFormat> | ||
655 | </ownedStyle> | ||
656 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
657 | </ownedElements> | ||
658 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_21oo4FPkEeubALGSMZ7-4Q" name="widthNum : EInt" tooltipText=""> | ||
659 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/widthNum"/> | ||
660 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Lane/widthNum"/> | ||
661 | <ownedStyle xmi:type="diagram:BundledImage" uid="_3_UMwFPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
662 | <labelFormat>bold</labelFormat> | ||
663 | </ownedStyle> | ||
664 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
665 | </ownedElements> | ||
666 | </ownedDiagramElements> | ||
667 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_V7s7QFPgEeubALGSMZ7-4Q" name="Orientation" tooltipText="" width="12" height="10"> | ||
668 | <target xmi:type="ecore:EEnum" href="simpleScenario.ecore#//Orientation"/> | ||
669 | <semanticElements xmi:type="ecore:EEnum" href="simpleScenario.ecore#//Orientation"/> | ||
670 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_V7s7QVPgEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="221,236,202"> | ||
671 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@style"/> | ||
672 | </ownedStyle> | ||
673 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']"/> | ||
674 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_W-OvQFPgEeubALGSMZ7-4Q" name="Vertical" tooltipText=""> | ||
675 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Orientation/Vertical"/> | ||
676 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Orientation/Vertical"/> | ||
677 | <ownedStyle xmi:type="diagram:BundledImage" uid="_W-PWUFPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
678 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
679 | </ownedStyle> | ||
680 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
681 | </ownedElements> | ||
682 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_XyonsFPgEeubALGSMZ7-4Q" name="Horizontal" tooltipText=""> | ||
683 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Orientation/Horizontal"/> | ||
684 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Orientation/Horizontal"/> | ||
685 | <ownedStyle xmi:type="diagram:BundledImage" uid="_XyonsVPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
686 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
687 | </ownedStyle> | ||
688 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
689 | </ownedElements> | ||
690 | </ownedDiagramElements> | ||
691 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_a4aF0FPgEeubALGSMZ7-4Q" name="Size" tooltipText="" width="12" height="10"> | ||
692 | <target xmi:type="ecore:EEnum" href="simpleScenario.ecore#//Size"/> | ||
693 | <semanticElements xmi:type="ecore:EEnum" href="simpleScenario.ecore#//Size"/> | ||
694 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
695 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
696 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
697 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_a4as4FPgEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="221,236,202"> | ||
698 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@style"/> | ||
699 | </ownedStyle> | ||
700 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']"/> | ||
701 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_b7J8QFPgEeubALGSMZ7-4Q" name="Small" tooltipText=""> | ||
702 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Size/Small"/> | ||
703 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Size/Small"/> | ||
704 | <ownedStyle xmi:type="diagram:BundledImage" uid="_b7J8QVPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
705 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
706 | </ownedStyle> | ||
707 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
708 | </ownedElements> | ||
709 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_cqYZwFPgEeubALGSMZ7-4Q" name="Medium" tooltipText=""> | ||
710 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Size/Medium"/> | ||
711 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Size/Medium"/> | ||
712 | <ownedStyle xmi:type="diagram:BundledImage" uid="_cqZA0FPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
713 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
714 | </ownedStyle> | ||
715 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
716 | </ownedElements> | ||
717 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_daSzwFPgEeubALGSMZ7-4Q" name="Large" tooltipText=""> | ||
718 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Size/Large"/> | ||
719 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//Size/Large"/> | ||
720 | <ownedStyle xmi:type="diagram:BundledImage" uid="_daSzwVPgEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
721 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
722 | </ownedStyle> | ||
723 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
724 | </ownedElements> | ||
725 | </ownedDiagramElements> | ||
726 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_pE1IQFPgEeubALGSMZ7-4Q" name="Actor" tooltipText="" outgoingEdges="_wBI9plPhEeubALGSMZ7-4Q" incomingEdges="_sxnGkFPhEeubALGSMZ7-4Q _y3BloFPhEeubALGSMZ7-4Q _9bC-DFPhEeubALGSMZ7-4Q _HiHUoFPiEeubALGSMZ7-4Q" width="12" height="10"> | ||
727 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//Actor"/> | ||
728 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//Actor"/> | ||
729 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
730 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
731 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
732 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_PZd18VPjEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
733 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
734 | </ownedStyle> | ||
735 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
736 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_OBn5QFPjEeubALGSMZ7-4Q" name="type : ActorType = Pedestrian" tooltipText=""> | ||
737 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/type"/> | ||
738 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/type"/> | ||
739 | <ownedStyle xmi:type="diagram:BundledImage" uid="_w0qj8VPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
740 | <labelFormat>bold</labelFormat> | ||
741 | </ownedStyle> | ||
742 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
743 | </ownedElements> | ||
744 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_rcWZQFPgEeubALGSMZ7-4Q" name="xPos : EDouble = 0.0" tooltipText=""> | ||
745 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/xPos"/> | ||
746 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/xPos"/> | ||
747 | <ownedStyle xmi:type="diagram:BundledImage" uid="_xu8a4VPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
748 | <labelFormat>bold</labelFormat> | ||
749 | </ownedStyle> | ||
750 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
751 | </ownedElements> | ||
752 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_tUgNsFPgEeubALGSMZ7-4Q" name="yPos : EDouble = 0.0" tooltipText=""> | ||
753 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/yPos"/> | ||
754 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/yPos"/> | ||
755 | <ownedStyle xmi:type="diagram:BundledImage" uid="_yT2ewVPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
756 | <labelFormat>bold</labelFormat> | ||
757 | </ownedStyle> | ||
758 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
759 | </ownedElements> | ||
760 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_9CuvMFPiEeubALGSMZ7-4Q" name="length : EDouble = 0.0" tooltipText=""> | ||
761 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/length"/> | ||
762 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/length"/> | ||
763 | <ownedStyle xmi:type="diagram:BundledImage" uid="__bZ2wlPiEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
764 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
765 | </ownedStyle> | ||
766 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
767 | </ownedElements> | ||
768 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_BPXHsFPjEeubALGSMZ7-4Q" name="width : EDouble = 0.0" tooltipText=""> | ||
769 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/width"/> | ||
770 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/width"/> | ||
771 | <ownedStyle xmi:type="diagram:BundledImage" uid="_CLmGc1PjEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
772 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']/@style"/> | ||
773 | </ownedStyle> | ||
774 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
775 | </ownedElements> | ||
776 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_qJVSMFPgEeubALGSMZ7-4Q" name="speed : EDouble = 0.0" tooltipText=""> | ||
777 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/speed"/> | ||
778 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//Actor/speed"/> | ||
779 | <ownedStyle xmi:type="diagram:BundledImage" uid="_zZKhBFPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
780 | <labelFormat>bold</labelFormat> | ||
781 | </ownedStyle> | ||
782 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
783 | </ownedElements> | ||
784 | </ownedDiagramElements> | ||
785 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_xN7WUFPgEeubALGSMZ7-4Q" name="Relation" tooltipText="" outgoingEdges="_sxnGkFPhEeubALGSMZ7-4Q" incomingEdges="_SJlfFlPhEeubALGSMZ7-4Q _SyG3plPhEeubALGSMZ7-4Q _wBI9plPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
786 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//Relation"/> | ||
787 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//Relation"/> | ||
788 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
789 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
790 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
791 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_5kxFcFPgEeubALGSMZ7-4Q" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
792 | <labelFormat>italic</labelFormat> | ||
793 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
794 | </ownedStyle> | ||
795 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
796 | </ownedDiagramElements> | ||
797 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_ynvB4FPgEeubALGSMZ7-4Q" name="SpatialRelation" tooltipText="" outgoingEdges="_SJlfFlPhEeubALGSMZ7-4Q" incomingEdges="_RI43FlPhEeubALGSMZ7-4Q _Rq5_BlPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
798 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//SpatialRelation"/> | ||
799 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//SpatialRelation"/> | ||
800 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
801 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
802 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
803 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_5G_kUVPgEeubALGSMZ7-4Q" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
804 | <labelFormat>italic</labelFormat> | ||
805 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
806 | </ownedStyle> | ||
807 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
808 | </ownedDiagramElements> | ||
809 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_0X27sFPgEeubALGSMZ7-4Q" name="TemporalRelation" tooltipText="" outgoingEdges="_SyG3plPhEeubALGSMZ7-4Q" incomingEdges="_QQgdkFPhEeubALGSMZ7-4Q _Qsen4FPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
810 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//TemporalRelation"/> | ||
811 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//TemporalRelation"/> | ||
812 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
813 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
814 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
815 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_4rJ85FPgEeubALGSMZ7-4Q" iconPath="/org.eclipse.emf.ecoretools.design/icons/full/obj16/EClass_abstract.gif" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="228,228,228"> | ||
816 | <labelFormat>italic</labelFormat> | ||
817 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@conditionnalStyles.1/@style"/> | ||
818 | </ownedStyle> | ||
819 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
820 | </ownedDiagramElements> | ||
821 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_6KUpkFPgEeubALGSMZ7-4Q" name="VisionBlocked" tooltipText="" outgoingEdges="_Rq5_BlPhEeubALGSMZ7-4Q _y3BloFPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
822 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//VisionBlocked"/> | ||
823 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//VisionBlocked"/> | ||
824 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
825 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
826 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
827 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_6KVQoFPgEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
828 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
829 | </ownedStyle> | ||
830 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
831 | </ownedDiagramElements> | ||
832 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_9K6swFPgEeubALGSMZ7-4Q" name="SeperationDistance" tooltipText="" outgoingEdges="_RI43FlPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
833 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//SeperationDistance"/> | ||
834 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//SeperationDistance"/> | ||
835 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
836 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
837 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
838 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="__MmQrVPgEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
839 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
840 | </ownedStyle> | ||
841 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
842 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_-gIMMFPgEeubALGSMZ7-4Q" name="distance : Size = Small" tooltipText=""> | ||
843 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//SeperationDistance/distance"/> | ||
844 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//SeperationDistance/distance"/> | ||
845 | <ownedStyle xmi:type="diagram:BundledImage" uid="_0_qkwVPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
846 | <labelFormat>bold</labelFormat> | ||
847 | </ownedStyle> | ||
848 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
849 | </ownedElements> | ||
850 | </ownedDiagramElements> | ||
851 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_BIO24FPhEeubALGSMZ7-4Q" name="CollisionExists" tooltipText="" outgoingEdges="_Qsen4FPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
852 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionExists"/> | ||
853 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionExists"/> | ||
854 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
855 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
856 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
857 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_DAcVtVPhEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
858 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
859 | </ownedStyle> | ||
860 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
861 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_CGTosFPhEeubALGSMZ7-4Q" name="collisionTime : EDouble = 0.0" tooltipText=""> | ||
862 | <target xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//CollisionExists/collisionTime"/> | ||
863 | <semanticElements xmi:type="ecore:EAttribute" href="simpleScenario.ecore#//CollisionExists/collisionTime"/> | ||
864 | <ownedStyle xmi:type="diagram:BundledImage" uid="_1jkjEVPvEeuJov5cvS3R2A" labelAlignment="LEFT" description="_egJDsFPvEeuJov5cvS3R2A"> | ||
865 | <labelFormat>bold</labelFormat> | ||
866 | </ownedStyle> | ||
867 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@subNodeMappings[name='EC%20EAttribute']"/> | ||
868 | </ownedElements> | ||
869 | </ownedDiagramElements> | ||
870 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_F-VqMFPhEeubALGSMZ7-4Q" name="CollisionDoesNotExist" tooltipText="" outgoingEdges="_QQgdkFPhEeubALGSMZ7-4Q" width="12" height="10"> | ||
871 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionDoesNotExist"/> | ||
872 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionDoesNotExist"/> | ||
873 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
874 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
875 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
876 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_F-WRQFPhEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" backgroundStyle="Liquid" foregroundColor="255,252,216"> | ||
877 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']/@style"/> | ||
878 | </ownedStyle> | ||
879 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EClass']"/> | ||
880 | </ownedDiagramElements> | ||
881 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_QQgdkFPhEeubALGSMZ7-4Q" sourceNode="_F-VqMFPhEeubALGSMZ7-4Q" targetNode="_0X27sFPgEeubALGSMZ7-4Q"> | ||
882 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionDoesNotExist"/> | ||
883 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionDoesNotExist"/> | ||
884 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_QQhEoFPhEeubALGSMZ7-4Q" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
885 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
886 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_QQhEoVPhEeubALGSMZ7-4Q" showIcon="false"> | ||
887 | <labelFormat>italic</labelFormat> | ||
888 | </beginLabelStyle> | ||
889 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_QQhEolPhEeubALGSMZ7-4Q" showIcon="false"/> | ||
890 | </ownedStyle> | ||
891 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
892 | </ownedDiagramElements> | ||
893 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Qsen4FPhEeubALGSMZ7-4Q" sourceNode="_BIO24FPhEeubALGSMZ7-4Q" targetNode="_0X27sFPgEeubALGSMZ7-4Q"> | ||
894 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionExists"/> | ||
895 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//CollisionExists"/> | ||
896 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Qsen4VPhEeubALGSMZ7-4Q" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
897 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
898 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_Qsen4lPhEeubALGSMZ7-4Q" showIcon="false"> | ||
899 | <labelFormat>italic</labelFormat> | ||
900 | </beginLabelStyle> | ||
901 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Qsen41PhEeubALGSMZ7-4Q" showIcon="false"/> | ||
902 | </ownedStyle> | ||
903 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
904 | </ownedDiagramElements> | ||
905 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_RI43FlPhEeubALGSMZ7-4Q" sourceNode="_9K6swFPgEeubALGSMZ7-4Q" targetNode="_ynvB4FPgEeubALGSMZ7-4Q"> | ||
906 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//SeperationDistance"/> | ||
907 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//SeperationDistance"/> | ||
908 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_RI43F1PhEeubALGSMZ7-4Q" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
909 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
910 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_RI43GFPhEeubALGSMZ7-4Q" showIcon="false"> | ||
911 | <labelFormat>italic</labelFormat> | ||
912 | </beginLabelStyle> | ||
913 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_RI43GVPhEeubALGSMZ7-4Q" showIcon="false"/> | ||
914 | </ownedStyle> | ||
915 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
916 | </ownedDiagramElements> | ||
917 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_Rq5_BlPhEeubALGSMZ7-4Q" sourceNode="_6KUpkFPgEeubALGSMZ7-4Q" targetNode="_ynvB4FPgEeubALGSMZ7-4Q"> | ||
918 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//VisionBlocked"/> | ||
919 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//VisionBlocked"/> | ||
920 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_Rq5_B1PhEeubALGSMZ7-4Q" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
921 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
922 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_Rq5_CFPhEeubALGSMZ7-4Q" showIcon="false"> | ||
923 | <labelFormat>italic</labelFormat> | ||
924 | </beginLabelStyle> | ||
925 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_Rq5_CVPhEeubALGSMZ7-4Q" showIcon="false"/> | ||
926 | </ownedStyle> | ||
927 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
928 | </ownedDiagramElements> | ||
929 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_SJlfFlPhEeubALGSMZ7-4Q" sourceNode="_ynvB4FPgEeubALGSMZ7-4Q" targetNode="_xN7WUFPgEeubALGSMZ7-4Q"> | ||
930 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//SpatialRelation"/> | ||
931 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//SpatialRelation"/> | ||
932 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_SJlfF1PhEeubALGSMZ7-4Q" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
933 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
934 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_SJlfGFPhEeubALGSMZ7-4Q" showIcon="false"> | ||
935 | <labelFormat>italic</labelFormat> | ||
936 | </beginLabelStyle> | ||
937 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_SJlfGVPhEeubALGSMZ7-4Q" showIcon="false"/> | ||
938 | </ownedStyle> | ||
939 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
940 | </ownedDiagramElements> | ||
941 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_SyG3plPhEeubALGSMZ7-4Q" sourceNode="_0X27sFPgEeubALGSMZ7-4Q" targetNode="_xN7WUFPgEeubALGSMZ7-4Q"> | ||
942 | <target xmi:type="ecore:EClass" href="simpleScenario.ecore#//TemporalRelation"/> | ||
943 | <semanticElements xmi:type="ecore:EClass" href="simpleScenario.ecore#//TemporalRelation"/> | ||
944 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_SyHesFPhEeubALGSMZ7-4Q" targetArrow="InputClosedArrow" routingStyle="tree"> | ||
945 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']/@style"/> | ||
946 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_SyHesVPhEeubALGSMZ7-4Q" showIcon="false"> | ||
947 | <labelFormat>italic</labelFormat> | ||
948 | </beginLabelStyle> | ||
949 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_SyHeslPhEeubALGSMZ7-4Q" showIcon="false"/> | ||
950 | </ownedStyle> | ||
951 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC%20ESupertypes']"/> | ||
952 | </ownedDiagramElements> | ||
953 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_sxnGkFPhEeubALGSMZ7-4Q" name="[1..1] target" sourceNode="_xN7WUFPgEeubALGSMZ7-4Q" targetNode="_pE1IQFPgEeubALGSMZ7-4Q"> | ||
954 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//Relation/target"/> | ||
955 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//Relation/target"/> | ||
956 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_uRTXs1PhEeubALGSMZ7-4Q" description="_uRTXsFPhEeubALGSMZ7-4Q" routingStyle="manhattan" strokeColor="0,0,0"> | ||
957 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_uRTXtVPhEeubALGSMZ7-4Q" showIcon="false"> | ||
958 | <labelFormat>bold</labelFormat> | ||
959 | </centerLabelStyle> | ||
960 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_uRTXtFPhEeubALGSMZ7-4Q" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
961 | </ownedStyle> | ||
962 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
963 | </ownedDiagramElements> | ||
964 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_wBI9plPhEeubALGSMZ7-4Q" name="[0..*] relations" sourceNode="_pE1IQFPgEeubALGSMZ7-4Q" targetNode="_xN7WUFPgEeubALGSMZ7-4Q"> | ||
965 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//Actor/relations"/> | ||
966 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//Actor/relations"/> | ||
967 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_8aff81PhEeubALGSMZ7-4Q" description="_8aff8FPhEeubALGSMZ7-4Q" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
968 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_8aff9VPhEeubALGSMZ7-4Q" showIcon="false"/> | ||
969 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_8aff9FPhEeubALGSMZ7-4Q" labelSize="6" showIcon="false" labelColor="39,76,114"/> | ||
970 | </ownedStyle> | ||
971 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
972 | </ownedDiagramElements> | ||
973 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_y3BloFPhEeubALGSMZ7-4Q" name="[0..1] blockedBy" sourceNode="_6KUpkFPgEeubALGSMZ7-4Q" targetNode="_pE1IQFPgEeubALGSMZ7-4Q"> | ||
974 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//VisionBlocked/blockedBy"/> | ||
975 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//VisionBlocked/blockedBy"/> | ||
976 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_y3CMsFPhEeubALGSMZ7-4Q" routingStyle="manhattan" strokeColor="0,0,0"> | ||
977 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']/@style"/> | ||
978 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_y3CMslPhEeubALGSMZ7-4Q" showIcon="false"> | ||
979 | <customFeatures>labelSize</customFeatures> | ||
980 | </centerLabelStyle> | ||
981 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_y3CMsVPhEeubALGSMZ7-4Q" showIcon="false" labelColor="39,76,114"> | ||
982 | <customFeatures>labelSize</customFeatures> | ||
983 | </endLabelStyle> | ||
984 | </ownedStyle> | ||
985 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
986 | </ownedDiagramElements> | ||
987 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_9bC-DFPhEeubALGSMZ7-4Q" name="[0..*] actors" sourceNode="_OtFYcFPgEeubALGSMZ7-4Q" targetNode="_pE1IQFPgEeubALGSMZ7-4Q"> | ||
988 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//SimpleScenario/actors"/> | ||
989 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//SimpleScenario/actors"/> | ||
990 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_9bDlEFPhEeubALGSMZ7-4Q" description="_8aff8FPhEeubALGSMZ7-4Q" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
991 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_9bDlElPhEeubALGSMZ7-4Q" showIcon="false"> | ||
992 | <customFeatures>labelSize</customFeatures> | ||
993 | </centerLabelStyle> | ||
994 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_9bDlEVPhEeubALGSMZ7-4Q" showIcon="false" labelColor="39,76,114"> | ||
995 | <customFeatures>labelSize</customFeatures> | ||
996 | </endLabelStyle> | ||
997 | </ownedStyle> | ||
998 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
999 | </ownedDiagramElements> | ||
1000 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_-poRDFPhEeubALGSMZ7-4Q" name="[0..*] lanes" sourceNode="_OtFYcFPgEeubALGSMZ7-4Q" targetNode="_TwYTMFPgEeubALGSMZ7-4Q"> | ||
1001 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//SimpleScenario/lanes"/> | ||
1002 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//SimpleScenario/lanes"/> | ||
1003 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_-po4EFPhEeubALGSMZ7-4Q" description="_8aff8FPhEeubALGSMZ7-4Q" sourceArrow="FillDiamond" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1004 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="_-po4ElPhEeubALGSMZ7-4Q" showIcon="false"> | ||
1005 | <customFeatures>labelSize</customFeatures> | ||
1006 | </centerLabelStyle> | ||
1007 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_-po4EVPhEeubALGSMZ7-4Q" showIcon="false" labelColor="39,76,114"> | ||
1008 | <customFeatures>labelSize</customFeatures> | ||
1009 | </endLabelStyle> | ||
1010 | </ownedStyle> | ||
1011 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
1012 | </ownedDiagramElements> | ||
1013 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="__n_9wFPhEeubALGSMZ7-4Q" name="[0..2] adjacent" sourceNode="_TwYTMFPgEeubALGSMZ7-4Q" targetNode="_TwYTMFPgEeubALGSMZ7-4Q"> | ||
1014 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//Lane/adjacent"/> | ||
1015 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//Lane/adjacent"/> | ||
1016 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="__n_9wVPhEeubALGSMZ7-4Q" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1017 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']/@style"/> | ||
1018 | <centerLabelStyle xmi:type="diagram:CenterLabelStyle" uid="__n_9w1PhEeubALGSMZ7-4Q" showIcon="false"> | ||
1019 | <customFeatures>labelSize</customFeatures> | ||
1020 | </centerLabelStyle> | ||
1021 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="__n_9wlPhEeubALGSMZ7-4Q" showIcon="false" labelColor="39,76,114"> | ||
1022 | <customFeatures>labelSize</customFeatures> | ||
1023 | </endLabelStyle> | ||
1024 | </ownedStyle> | ||
1025 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='EC_EReference']"/> | ||
1026 | </ownedDiagramElements> | ||
1027 | <ownedDiagramElements xmi:type="diagram:DEdge" uid="_HiHUoFPiEeubALGSMZ7-4Q" sourceNode="_TwYTMFPgEeubALGSMZ7-4Q" targetNode="_pE1IQFPgEeubALGSMZ7-4Q" beginLabel="[1..1] placedOn" endLabel="[0..*] actors"> | ||
1028 | <target xmi:type="ecore:EReference" href="simpleScenario.ecore#//Lane/actors"/> | ||
1029 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//Lane/actors"/> | ||
1030 | <semanticElements xmi:type="ecore:EReference" href="simpleScenario.ecore#//Actor/placedOn"/> | ||
1031 | <ownedStyle xmi:type="diagram:EdgeStyle" uid="_HiHUoVPiEeubALGSMZ7-4Q" sourceArrow="InputArrow" routingStyle="manhattan" strokeColor="0,0,0"> | ||
1032 | <description xmi:type="style:EdgeStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']/@style"/> | ||
1033 | <beginLabelStyle xmi:type="diagram:BeginLabelStyle" uid="_HiHUolPiEeubALGSMZ7-4Q" showIcon="false"/> | ||
1034 | <endLabelStyle xmi:type="diagram:EndLabelStyle" uid="_HiHUo1PiEeubALGSMZ7-4Q" showIcon="false"/> | ||
1035 | </ownedStyle> | ||
1036 | <actualMapping xmi:type="description_1:EdgeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@edgeMappings[name='Bi-directional%20EC_EReference%20']"/> | ||
1037 | </ownedDiagramElements> | ||
1038 | <ownedDiagramElements xmi:type="diagram:DNodeList" uid="_0R0TMFPiEeubALGSMZ7-4Q" name="ActorType" tooltipText="" width="12" height="10"> | ||
1039 | <target xmi:type="ecore:EEnum" href="simpleScenario.ecore#//ActorType"/> | ||
1040 | <semanticElements xmi:type="ecore:EEnum" href="simpleScenario.ecore#//ActorType"/> | ||
1041 | <arrangeConstraints>KEEP_LOCATION</arrangeConstraints> | ||
1042 | <arrangeConstraints>KEEP_SIZE</arrangeConstraints> | ||
1043 | <arrangeConstraints>KEEP_RATIO</arrangeConstraints> | ||
1044 | <ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_0R0TMVPiEeubALGSMZ7-4Q" borderSize="1" borderSizeComputationExpression="1" borderColor="125,125,125" backgroundStyle="Liquid" foregroundColor="221,236,202"> | ||
1045 | <description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@style"/> | ||
1046 | </ownedStyle> | ||
1047 | <actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']"/> | ||
1048 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_1V8psFPiEeubALGSMZ7-4Q" name="Pedestrian" tooltipText=""> | ||
1049 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//ActorType/Pedestrian"/> | ||
1050 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//ActorType/Pedestrian"/> | ||
1051 | <ownedStyle xmi:type="diagram:BundledImage" uid="_1V930FPiEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
1052 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
1053 | </ownedStyle> | ||
1054 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
1055 | </ownedElements> | ||
1056 | <ownedElements xmi:type="diagram:DNodeListElement" uid="_2w0FMFPiEeubALGSMZ7-4Q" name="Vehicle" tooltipText=""> | ||
1057 | <target xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//ActorType/Vehicle"/> | ||
1058 | <semanticElements xmi:type="ecore:EEnumLiteral" href="simpleScenario.ecore#//ActorType/Vehicle"/> | ||
1059 | <ownedStyle xmi:type="diagram:BundledImage" uid="_2w0FMVPiEeubALGSMZ7-4Q" labelAlignment="LEFT"> | ||
1060 | <description xmi:type="style:BundledImageDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']/@style"/> | ||
1061 | </ownedStyle> | ||
1062 | <actualMapping xmi:type="description_1:NodeMapping" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer/@containerMappings[name='EC%20EEnum']/@subNodeMappings[name='EC%20EEnumLiteral']"/> | ||
1063 | </ownedElements> | ||
1064 | </ownedDiagramElements> | ||
1065 | <description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']"/> | ||
1066 | <filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_X5GI8FPIEeuRNIB-ivzkoA"/> | ||
1067 | <activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@defaultLayer"/> | ||
1068 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Package']"/> | ||
1069 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Design']/@ownedRepresentations[name='Entities']/@additionalLayers[name='Validation']"/> | ||
1070 | <activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.eclipse.emf.ecoretools.design/description/ecore.odesign#//@ownedViewpoints[name='Archetype']/@ownedRepresentationExtensions[name='Entities%20With%20Archetypes']/@layers[name='Archetypes']"/> | ||
1071 | <target xmi:type="ecore:EPackage" href="simpleScenario.ecore#/"/> | ||
1072 | </diagram:DSemanticDiagram> | ||
1073 | </xmi:XMI> | ||
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> | ||
diff --git a/Domains/traffic.scenarios.simplified/model/simpleScenario.genmodel b/Domains/traffic.scenarios.simplified/model/simpleScenario.genmodel new file mode 100644 index 00000000..cdff27fe --- /dev/null +++ b/Domains/traffic.scenarios.simplified/model/simpleScenario.genmodel | |||
@@ -0,0 +1,62 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" | ||
3 | xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/simpleScenario/ecore-gen" modelPluginID="simpleScenario" | ||
4 | modelName="SimpleScenario" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" | ||
5 | importerID="org.eclipse.emf.importer.ecore" complianceLevel="8.0" copyrightFields="false" | ||
6 | operationReflection="true" importOrganizing="true"> | ||
7 | <foreignModel>simpleScenario.ecore</foreignModel> | ||
8 | <genPackages prefix="SimpleScenario" disposableProviderFactory="true" ecorePackage="simpleScenario.ecore#/"> | ||
9 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="simpleScenario.ecore#//Orientation"> | ||
10 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//Orientation/Vertical"/> | ||
11 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//Orientation/Horizontal"/> | ||
12 | </genEnums> | ||
13 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="simpleScenario.ecore#//Size"> | ||
14 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//Size/Small"/> | ||
15 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//Size/Medium"/> | ||
16 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//Size/Large"/> | ||
17 | </genEnums> | ||
18 | <genEnums typeSafeEnumCompatible="false" ecoreEnum="simpleScenario.ecore#//ActorType"> | ||
19 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//ActorType/Pedestrian"/> | ||
20 | <genEnumLiterals ecoreEnumLiteral="simpleScenario.ecore#//ActorType/Vehicle"/> | ||
21 | </genEnums> | ||
22 | <genClasses ecoreClass="simpleScenario.ecore#//SimpleScenario"> | ||
23 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//SimpleScenario/xSize"/> | ||
24 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//SimpleScenario/ySize"/> | ||
25 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//SimpleScenario/actors"/> | ||
26 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//SimpleScenario/lanes"/> | ||
27 | </genClasses> | ||
28 | <genClasses ecoreClass="simpleScenario.ecore#//Lane"> | ||
29 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Lane/orientation"/> | ||
30 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Lane/width"/> | ||
31 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Lane/referenceCoord"/> | ||
32 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//Lane/adjacent"/> | ||
33 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//Lane/actors"/> | ||
34 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Lane/widthNum"/> | ||
35 | </genClasses> | ||
36 | <genClasses ecoreClass="simpleScenario.ecore#//Actor"> | ||
37 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Actor/type"/> | ||
38 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Actor/xPos"/> | ||
39 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Actor/yPos"/> | ||
40 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Actor/length"/> | ||
41 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Actor/width"/> | ||
42 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//Actor/speed"/> | ||
43 | <genFeatures children="true" createChild="true" propertySortChoices="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//Actor/relations"/> | ||
44 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//Actor/placedOn"/> | ||
45 | </genClasses> | ||
46 | <genClasses ecoreClass="simpleScenario.ecore#//Relation"> | ||
47 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//Relation/target"/> | ||
48 | </genClasses> | ||
49 | <genClasses ecoreClass="simpleScenario.ecore#//SpatialRelation"/> | ||
50 | <genClasses ecoreClass="simpleScenario.ecore#//TemporalRelation"/> | ||
51 | <genClasses ecoreClass="simpleScenario.ecore#//VisionBlocked"> | ||
52 | <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference simpleScenario.ecore#//VisionBlocked/blockedBy"/> | ||
53 | </genClasses> | ||
54 | <genClasses ecoreClass="simpleScenario.ecore#//SeperationDistance"> | ||
55 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//SeperationDistance/distance"/> | ||
56 | </genClasses> | ||
57 | <genClasses ecoreClass="simpleScenario.ecore#//CollisionExists"> | ||
58 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute simpleScenario.ecore#//CollisionExists/collisionTime"/> | ||
59 | </genClasses> | ||
60 | <genClasses ecoreClass="simpleScenario.ecore#//CollisionDoesNotExist"/> | ||
61 | </genPackages> | ||
62 | </genmodel:GenModel> | ||
diff --git a/Domains/traffic.scenarios.simplified/plugin.properties b/Domains/traffic.scenarios.simplified/plugin.properties new file mode 100644 index 00000000..08367736 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/plugin.properties | |||
@@ -0,0 +1,4 @@ | |||
1 | # | ||
2 | |||
3 | pluginName = Simplified | ||
4 | providerName = www.example.org | ||
diff --git a/Domains/traffic.scenarios.simplified/plugin.xml b/Domains/traffic.scenarios.simplified/plugin.xml new file mode 100644 index 00000000..bf0ea47c --- /dev/null +++ b/Domains/traffic.scenarios.simplified/plugin.xml | |||
@@ -0,0 +1,10 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?><?eclipse version="3.0"?><!-- | ||
2 | --><plugin> | ||
3 | <extension point="org.eclipse.emf.ecore.generated_package"> | ||
4 | <!-- @generated simpleScenario --> | ||
5 | <package | ||
6 | uri="http://www.example.com/simpleScenario" | ||
7 | class="simpleScenario.SimpleScenarioPackage" | ||
8 | genModel="model/simpleScenario.genmodel"/> | ||
9 | </extension> | ||
10 | </plugin> | ||
diff --git a/Domains/traffic.scenarios.simplified/queries/simpleScenarioQueries.vql b/Domains/traffic.scenarios.simplified/queries/simpleScenarioQueries.vql new file mode 100644 index 00000000..a59715c7 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/queries/simpleScenarioQueries.vql | |||
@@ -0,0 +1,78 @@ | |||
1 | package queries | ||
2 | |||
3 | import "http://www.example.com/simpleScenario" | ||
4 | |||
5 | |||
6 | //lanes and lane+widths are in simpleScenarioBoundingBox | ||
7 | |||
8 | // actor coords within simpleScenarioBoundingBox | ||
9 | |||
10 | //@Constraint(severity = "error", key = {a}, message = "this defines the placedOn relation for vertical lanes") | ||
11 | //pattern actorOnVerticalLane(a : Actor) { | ||
12 | // Actor.placedOn(a, l); | ||
13 | // Lane.orientation(l, Orientation::Vertical); | ||
14 | // Actor.xPos(a, x); | ||
15 | // Lane.referenceCoord(l, r); | ||
16 | // check(x <= r); | ||
17 | //} or { | ||
18 | // Actor.placedOn(a, l); | ||
19 | // Lane.orientation(l, Orientation::Vertical); | ||
20 | // Actor.xPos(a, x); | ||
21 | // Lane.referenceCoord(l, r); | ||
22 | // Lane.widthNum(l, w); | ||
23 | // check(x >= (r + w)); | ||
24 | //} | ||
25 | // | ||
26 | //@Constraint(severity = "error", key = {a}, message = "this defines the placedOn relation for horizontal lanes") | ||
27 | //pattern actorOnHorizontalLane(a : Actor) { | ||
28 | // Actor.placedOn(a, l); | ||
29 | // Lane.orientation(l, Orientation::Horizontal); | ||
30 | // Actor.yPos(a, y); | ||
31 | // Lane.referenceCoord(l, r); | ||
32 | // check(y <= r); | ||
33 | //} or { | ||
34 | // Actor.placedOn(a, l); | ||
35 | // Lane.orientation(l, Orientation::Horizontal); | ||
36 | // Actor.yPos(a, y); | ||
37 | // Lane.referenceCoord(l, r); | ||
38 | // Lane.widthNum(l, w); | ||
39 | // check(y >= (r + w)); | ||
40 | //} | ||
41 | |||
42 | @Constraint(severity = "error", key = {a}, message = "this defines the placedOn relation") | ||
43 | pattern actorOnLane(a : Actor) { | ||
44 | find actorOnVerticalLane(a); | ||
45 | // neg find actorOnHorizontalLane(a); | ||
46 | } | ||
47 | |||
48 | private pattern actorOnVerticalLane(a : Actor) { | ||
49 | Actor.placedOn(a, l); | ||
50 | Lane.orientation(l, Orientation::Vertical); | ||
51 | Actor.xPos(a, x); | ||
52 | Lane.referenceCoord(l, r); | ||
53 | Lane.widthNum(l, w); | ||
54 | check(x >= r); | ||
55 | check(x <= (r + w)); | ||
56 | } | ||
57 | |||
58 | @Constraint(severity = "error", key = {l}, message = "this defines the placedOn relation") | ||
59 | pattern widthSpec(l : Lane) { | ||
60 | Lane.widthNum(l, w); | ||
61 | check(w != 5); | ||
62 | } | ||
63 | |||
64 | @Constraint(severity = "error", key = {l}, message = "this defines the placedOn relation") | ||
65 | pattern refSpec(l : Lane) { | ||
66 | Lane.referenceCoord(l, w); | ||
67 | check(w != 2); | ||
68 | } | ||
69 | |||
70 | private pattern actorOnHorizontalLane(a : Actor) { | ||
71 | Actor.placedOn(a, l); | ||
72 | Lane.orientation(l, Orientation::Vertical); | ||
73 | Actor.yPos(a, y); | ||
74 | Lane.referenceCoord(l, r); | ||
75 | Lane.widthNum(l, w); | ||
76 | check(y >= r); | ||
77 | check(y <= (r + w)); | ||
78 | } \ No newline at end of file | ||
diff --git a/Domains/traffic.scenarios.simplified/src/simpleScenario/run/simpleScenarioMain.java b/Domains/traffic.scenarios.simplified/src/simpleScenario/run/simpleScenarioMain.java new file mode 100644 index 00000000..63e31e64 --- /dev/null +++ b/Domains/traffic.scenarios.simplified/src/simpleScenario/run/simpleScenarioMain.java | |||
@@ -0,0 +1,16 @@ | |||
1 | package simpleScenario.run; | ||
2 | |||
3 | import hu.bme.mit.inf.dslreasoner.application.execution.StandaloneScriptExecutor; | ||
4 | |||
5 | public class simpleScenarioMain { | ||
6 | private simpleScenarioMain() { | ||
7 | throw new IllegalStateException("This is a static utility class and should not be instantiated directly."); | ||
8 | } | ||
9 | |||
10 | public static void main(String[] args) { | ||
11 | String errorMessages = StandaloneScriptExecutor.executeScript("inputs/simpleScenarioGen.vsconfig"); | ||
12 | if(errorMessages!=null) { | ||
13 | System.out.println(errorMessages); | ||
14 | } | ||
15 | } | ||
16 | } | ||