Class EntityCondition

Applied Stereotypes:
union, XSDcomplexType

Defines a specific condition on an entity.

Used in:
ByEntityCondition
Properties
Name Type Cardinality AppliedStereotypes Description
endOfRoadCondition EndOfRoadCondition 0..1 xor Condition checking for how long the reference entity has reached the end of the road.
collisionCondition CollisionCondition 0..1 xor Condition checking whether the reference entity was involved in a collision.
offroadCondition OffroadCondition 0..1 xor Condition checking for how long the reference entity has left the road.
timeHeadwayCondition TimeHeadwayCondition 0..1 xor Condition checking the time headway between two entities.
timeToCollisionCondition TimeToCollisionCondition 0..1 xor Condition checking the time to collision between two entities.
accelerationCondition AccelerationCondition 0..1 xor Condition checking the current acceleration of an entity.
standStillCondition StandStillCondition 0..1 xor Condition checking for how long the reference entity has not moved.
speedCondition SpeedCondition 0..1 xor Condition checking the current speed of the referenced entities.
relativeSpeedCondition RelativeSpeedCondition 0..1 xor Condition checking the relative speed between two entity.
traveledDistanceCondition TraveledDistanceCondition 0..1 xor Condition checking the total traveled distance of the reference entity since the start of the scenario.
reachPositionCondition ReachPositionCondition 0..1 xor Condition checking whether the reference entity has reached a given position within a given uncertainty.
distanceCondition DistanceCondition 0..1 xor Condition checking the distance between two entities or an entity and a position.
relativeDistanceCondition RelativeDistanceCondition 0..1 xor Condition checking the relative distance between two entities.

Migration Information from XSD 0.9.1
Derived From:
OSCCondition.ByEntity.EntityCondition
Property Name XSD Type XSD 0.9.1 Name Migration
endOfRoadCondition Element EndOfRoad Renamed
collisionCondition Element Collision Renamed
offroadCondition Element Offroad Renamed
timeHeadwayCondition Element TimeHeadway Renamed
timeToCollisionCondition Element TimeToCollision Renamed
accelerationCondition Element Acceleration Renamed
standStillCondition Element StandStill Renamed
speedCondition Element Speed Renamed
relativeSpeedCondition Element RelativeSpeed Renamed
traveledDistanceCondition Element TraveledDistance Renamed
reachPositionCondition Element ReachPosition Renamed
distanceCondition Element Distance Renamed
relativeDistanceCondition Element RelativeDistance Renamed

XSD 1.0 Representation


<xsd:complexType name="EntityCondition">
<xsd:choice>
<xsd:element name="EndOfRoadCondition" type="EndOfRoadCondition"/>
<xsd:element name="CollisionCondition" type="CollisionCondition"/>
<xsd:element name="OffroadCondition" type="OffroadCondition"/>
<xsd:element name="TimeHeadwayCondition" type="TimeHeadwayCondition"/>
<xsd:element name="TimeToCollisionCondition" type="TimeToCollisionCondition"/>
<xsd:element name="AccelerationCondition" type="AccelerationCondition"/>
<xsd:element name="StandStillCondition" type="StandStillCondition"/>
<xsd:element name="SpeedCondition" type="SpeedCondition"/>
<xsd:element name="RelativeSpeedCondition" type="RelativeSpeedCondition"/>
<xsd:element name="TraveledDistanceCondition" type="TraveledDistanceCondition"/>
<xsd:element name="ReachPositionCondition" type="ReachPositionCondition"/>
<xsd:element name="DistanceCondition" type="DistanceCondition"/>
<xsd:element name="RelativeDistanceCondition" type="RelativeDistanceCondition"/>
</xsd:choice>
</xsd:complexType>

To XSD To XSLT To XSD Tree