Documentation for XMCDA-2.0.0

Complex Type: alternativesLinearConstraints

[Table of contents]

Super-types: None
Sub-types: None
Name alternativesLinearConstraints
Used by (from the same schema document) Element XMCDA
Abstract no
Documentation Represents a set of linear constraints on the alternatives.
XML Instance Representation
<...
id=" xs:string [0..1]"
name=" xs:string [0..1]"
mcdaConcept=" xs:string [0..1]">
<constraint> [0..*]
<constraintNumber> xs:int </constraintNumber> [0..1]
<element> [1..*]
Start Choice [0..1]
<alternativeID> xs:string </alternativeID> [1]
<alternativesSetID> xs:string </alternativesSetID> [1]
<alternativesSet> xmcda:alternativesSet </alternativesSet> [1]
End Choice
<coefficient> xmcda:numericValue </coefficient> [1]
</element>
<rhs> xmcda:numericValue </rhs> [1]
<operator> xs:string (value comes from list: {'geq'|'eq'|'leq'}) </operator> [0..1]
</constraint>
<operator> xs:string (value comes from list: {'geq'|'eq'|'leq'}) </operator> [0..1]
</...>
Diagram
h736838935 h-1716105399 h-1716105399 h-1891427716
Schema Component Representation
<xs:complexType name="alternativesLinearConstraints">
<xs:sequence>
<xs:element name="constraint" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="constraintNumber" type=" xs:int " minOccurs="0"/>
<xs:element name="element" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="alternativeID" type=" xs:string "/>
<xs:element name="alternativesSetID" type=" xs:string "/>
<xs:element name="alternativesSet" type=" xmcda:alternativesSet "/>
</xs:choice>
<xs:element name="coefficient" type=" xmcda:numericValue "/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="rhs" type=" xmcda:numericValue "/>
<xs:element name="operator" minOccurs="0">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="geq"/>
<xs:enumeration value="eq"/>
<xs:enumeration value="leq"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="operator" minOccurs="0">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="geq"/>
<xs:enumeration value="eq"/>
<xs:enumeration value="leq"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref=" xmcda:defaultAttributes "/>
</xs:complexType>