Class TimeHeadwayCondition

Applied Stereotypes:
XSDcomplexType

Condition based on the headway time between a triggering entity/entities and a reference entity. The logical operator used for comparison is defined by the rule attribute.

Used in:
EntityCondition
Properties
Name Type Cardinality AppliedStereotypes Description
entityRef Entity 1..1 XSDattribute nameRef Reference entity to which the time headway is computed.
value double 1..1 XSDattribute The time headway value. Unit: s; Range: [0..inf[.
freespace boolean 1..1 XSDattribute True: time headway is measured using the distance between closest bounding box points. False: reference point distance is used.
alongRoute boolean 1..1 XSDattribute True: routing is taken into account, e.g. turns will increase distance. False: straight line distance is used.
rule Rule 1..1 XSDattribute The operator (less, greater, equal).

Migration Information from XSD 0.9.1
Derived From:
OSCCondition.ByEntity.EntityCondition.TimeHeadway
Property Name XSD Type XSD 0.9.1 Name Migration
entityRef Attribute entity
value Attribute value
freespace Attribute freespace
alongRoute Attribute alongRoute
rule Attribute rule

XSD 1.0 Representation


<xsd:complexType name="TimeHeadwayCondition">
<xsd:attribute name="entityRef" type="String" use="required"/>
<xsd:attribute name="value" type="Double" use="required"/>
<xsd:attribute name="freespace" type="Boolean" use="required"/>
<xsd:attribute name="alongRoute" type="Boolean" use="required"/>
<xsd:attribute name="rule" type="Rule" use="required"/>
</xsd:complexType>

To XSD To XSLT To XSD Tree