Class RelativeSpeedCondition

Applied Stereotypes:
XSDcomplexType

The current relative speed of a triggering entity/entities to a reference entity is compared to a given value. The logical operator used for the evaluation is defined by the rule attribute. If direction is used, only the projection to that direction is used in the comparison, with the triggering entity/entities as the reference.

Used in:
EntityCondition
Properties
  Name Type Cardinality AppliedStereotypes Description
  direction DirectionalDimension 0..1 XSDattribute Direction of the speed (if not given, the total speed is considered).
  entityRef Entity 1..1 nameRef, XSDattribute Reference entity.
  rule Rule 1..1 XSDattribute The operator (less, greater, equal).
  value double 1..1 XSDattribute Relative speed value. Unit: [m/s]. Range: ]-inf..inf[. Relative speed is defined as speed_rel = speed(triggering entity) - speed(reference entity)
XSD 1.3 Representation


<xsd:complexType name="RelativeSpeedCondition">
<xsd:attribute name="entityRef" type="String" use="required"/>
<xsd:attribute name="rule" type="Rule" use="required"/>
<xsd:attribute name="value" type="Double" use="required"/>
<xsd:attribute name="direction" type="DirectionalDimension"/>
</xsd:complexType>

Change log from version 1.2
  • Property 'value'. Annotation changed.
    • New Value
      Relative speed value. Unit: [m/s]. Range: ]-inf..inf[. Relative speed is defined as speed_rel = speed(triggering entity) - speed(reference entity)
      From 1.2.0
      Relative speed value. Unit: [m/s].
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
  • Property direction
    • XSDattribute
  • Property entityRef
    • nameRef [xsdType: "string"]
    • XSDattribute
  • Property rule
    • XSDattribute
  • Property value
    • XSDattribute

To XSD