http://dbai.tuwien.ac.at/proj/arte/GES
complexType WeightedIntSkill

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{http://dbai.tuwien.ac.at/proj/arte/GES}WeightedInteger (restriction)
|
+--{http://dbai.tuwien.ac.at/proj/arte/GES}WeightedIntSkill (extension)

Documentation

An integer value with an optional weight for a violation (either exceeding or not reaching the given value, depending on the element where this type is used). If a function is given that is not "Constant", the weight is multiplied by the degree of violation (squared in case of a quadratic function). Elements using this type should define how the degree is calculated. If no weight is given, this is a hard constraint. Additionally, a skill ID can be given to restrict the scope of the constraint.

Properties
This component is not nillable.

Model
<...
  function = xs:string
  skill = ID
  weight = nonNegativeDouble>
nonNegativeInteger
</...>


Attribute Summary
 xs:stringfunction
          Can have the value "Linear", "Quadratic", or "Constant" (all case-insensitive). 
 IDskill
          
 nonNegativeDoubleweight
          A value to represent the constraint's priority.  

Attribute Detail

function

Can have the value "Linear", "Quadratic", or "Constant" (all case-insensitive). The default value is "Linear" if the attribute is not used.

Type:
based on
with :
Use:
optional
Form:
unqualified

skill

Type:
ID
Use:
optional
Form:
unqualified

weight

A value to represent the constraint's priority.

Type:
nonNegativeDouble
Use:
optional
Form:
unqualified

Source
<xs:complexType name="WeightedIntSkill">
<xs:complexContent>
<xs:extension base="WeightedInteger">
<xs:attribute name="skill" type="ID" use="optional">
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.