Documentation for XMCDA-2.0.0

Complex Type: categoriesComparisons

[Table of contents]

Super-types: None
Sub-types: None
Name categoriesComparisons
Used by (from the same schema document) Element XMCDA
Abstract no
Documentation Generic type for valued binary relations on categories.
XML Instance Representation
<...
id=" xs:string [0..1]"
name=" xs:string [0..1]"
mcdaConcept=" xs:string [0..1]">
<description> xmcda:description </description> [0..1]
<valuation> xmcda:scale </valuation> [0..1]
<comparisonType> xs:string </comparisonType> [0..1]

'We suggest to use the following strings: preference, indifference, incomparability, outranking, geq (greater than or equal), leq (less than or equal), eq (equal), neq (not equal), gtr (greater), less (less), or any personnalised strings determining the type of relation.'

<pairs> [1]

'A set of pairs.'


<description> xmcda:description </description> [0..1]
<pair> [0..*]
<description> xmcda:description </description> [0..1]
<initial> xmcda:categoryReference </initial> [1]
<terminal> xmcda:categoryReference </terminal> [1]
Start Choice [0..*]
<value> xmcda:value </value> [1]
<values> xmcda:values </values> [1]
End Choice
</pair>
</pairs>
</...>
Diagram
h229206647 h-1080547323 h229206647 h229206647 h629816872 h629816872 h-1077825492 h947148231 h-1891427716
Schema Component Representation
<xs:complexType name="categoriesComparisons">
<xs:sequence>
<xs:element name="description" type=" xmcda:description " minOccurs="0"/>
<xs:element name="valuation" type=" xmcda:scale " minOccurs="0"/>
<xs:element name="comparisonType" type=" xs:string " minOccurs="0"/>
<xs:element name="pairs">
<xs:complexType>
<xs:sequence>
<xs:element name="description" type=" xmcda:description " minOccurs="0"/>
<xs:element name="pair" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="description" type=" xmcda:description " minOccurs="0"/>
<xs:element name="initial" type=" xmcda:categoryReference "/>
<xs:element name="terminal" type=" xmcda:categoryReference "/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="value" type=" xmcda:value "/>
<xs:element name="values" type=" xmcda:values "/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref=" xmcda:defaultAttributes "/>
</xs:complexType>