Class Phase
- Applied Stereotypes:
-
XSDcomplexType
Phase of a TrafficSignalController. A TrafficSignalController has sequential semantic phases, forming the signal cycle. Each semantic phase can have multiple TrafficSignalStates or one TrafficSignalGroupState (mutually exclusive). When TrafficSignalStates are used to model the observable states of a traffic signal individually, exactly one TrafficSignalState has to be defined for every traffic signal controlled by this TrafficSignalController. The semantic phase information like go, attention, stop, etc. is set in Phase attribute semantics and the observable state like the visual information "off;off;on" in trafficSignalStates or trafficSignalGroupState.
- Used in:
-
TrafficSignalController ,
TrafficSignalControllerAction ,
TrafficSignalControllerCondition
|
Properties
|
| |
Name |
Type |
Cardinality |
AppliedStereotypes |
Description |
| |
duration |
double |
1..1 |
XSDattribute
|
Duration of the phase. Unit: [s]. Range: [0..inf[. |
| |
name |
string |
1..1 |
XSDattribute
|
Name of the phase used for referencing in TrafficSignalControllerCondition or TrafficSignalControllerAction. Must be unique among the phases of the same TrafficSignalController. |
| |
semantics |
TrafficSignalSemantics |
0..1 |
XSDattribute
|
Semantic information about the phase ('go', 'stop', 'attention_stop', ...). |
| |
trafficSignalStates |
TrafficSignalState |
0..* |
XSDunwrapped,
XSDelement
|
Each phase can have multiple TrafficSignalStates to provide the observable state for all traffic signals individually that are controlled by the controller. One for each TrafficSignal. E.g. name="go" (trafficSignal1:"off;off;on", trafficSignal2:"off;off;on"). |
| |
trafficSignalGroupState |
TrafficSignalGroupState |
0..1 |
XSDelement
|
Each phase can have one TrafficSignalGroupState to provide the observable state for all traffic signals that are controlled by the controller if they share the same state. E.g. name="go" ("off;off;on"). |
|
|
XSD 1.4 Representation
|
<xsd:complexType name="Phase">
<xsd:sequence>
<xsd:element name="TrafficSignalState" type="TrafficSignalState" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="TrafficSignalGroupState" type="TrafficSignalGroupState" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="duration" type="Double" use="required"/>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="semantics" type="TrafficSignalSemantics"/>
</xsd:complexType>
|
|
|
Change log from version 1.3
|
-
Annotation changed
-
- New Value
- Phase of a TrafficSignalController. A TrafficSignalController has sequential semantic phases, forming the signal cycle. Each semantic phase can have multiple TrafficSignalStates or one TrafficSignalGroupState (mutually exclusive). When TrafficSignalStates are used to model the observable states of a traffic signal individually, exactly one TrafficSignalState has to be defined for every traffic signal controlled by this TrafficSignalController. The semantic phase information like go, attention, stop, etc. is set in Phase attribute semantics and the observable state like the visual information "off;off;on" in trafficSignalStates or trafficSignalGroupState.
- From 1.3.0
- Phase of a TrafficSignalController. A TrafficSignalController has sequential phases. Each phase can have multiple TrafficSignalStates or one TrafficSignalGroupState (mutually exclusive). When TrafficSignalStates are used to model the states of a traffic signal individually, exactly one TrafficSignalState has to be defined for every traffic signal controlled by this TrafficSignalController.
The semantic information like go, attention, stop, etc. is set in Phase attribute name and the state like the visual information "off;off;on" in trafficSignalStates or trafficSignalGroupState.
- Property 'semantics' created.
-
Property 'name'. Annotation changed.
-
- New Value
- Name of the phase used for referencing in TrafficSignalControllerCondition or TrafficSignalControllerAction. Must be unique among the phases of the same TrafficSignalController.
- From 1.3.0
- Semantic information about the phase. Typical values are: off, stop, attention, stop_attention, go, go_exclusive
- Property 'trafficSignalStates'. Stereotype <<XSDunwrapped>>. Tagged value 'xsdElementName' removed.
- Property 'trafficSignalStates'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
|
|
Stereotype Details Information
|
-
Class
- XSDcomplexType [modelGroup: "sequence"; mixed: "false"]
-
Property duration
-
Property name
-
Property semantics
-
Property trafficSignalStates
-
Property trafficSignalGroupState
|
To XSD