Class TrafficDefinition

Applied Stereotypes:
XSDcomplexType

Definition of macroscopic traffic based on vehicle and controller definitions.

Used in:
TrafficSinkAction , TrafficSourceAction , TrafficSwarmAction
Properties
  Name Type Cardinality AppliedStereotypes Description
  name string 1..1 XSDattribute Name of the traffic definition.
  controllerDistribution ControllerDistribution 1..1 XSDelement Distribution of controllers within this traffic.
  vehicleCategoryDistribution VehicleCategoryDistribution 1..1 XSDelement Distribution of vehicle categories within the traffic.
  vehicleRoleDistribution VehicleRoleDistribution 0..1 XSDelement Distribution of vehicle roles within the traffic.
XSD 1.4 Representation


<xsd:complexType name="TrafficDefinition">
<xsd:all>
<xsd:element name="VehicleCategoryDistribution" type="VehicleCategoryDistribution"/>
<xsd:element name="VehicleRoleDistribution" type="VehicleRoleDistribution" minOccurs="0"/>
<xsd:element name="ControllerDistribution" type="ControllerDistribution"/>
</xsd:all>
<xsd:attribute name="name" type="String" use="required"/>
</xsd:complexType>

Change log from version 1.3
  • Property 'controllerDistribution'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'vehicleCategoryDistribution'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
  • Property 'vehicleRoleDistribution'. Stereotype <<XSDelement>>. Tagged value 'position' removed.
Stereotype Details Information
  • Class
    • XSDcomplexType [modelGroup: "all"; mixed: "false"]
  • Property name
    • XSDattribute
  • Property controllerDistribution
    • XSDelement
  • Property vehicleCategoryDistribution
    • XSDelement
  • Property vehicleRoleDistribution
    • XSDelement

To XSD