http://dbai.tuwien.ac.at/proj/arte/GES
element Contract

Documentation

A single contract containing restrictions valid for all employees working under this contract.

Properties
This component is not nillable.

Model
<Contract
  extends = ID
  ID = ID>
(Label?, AllowWorkSwitchesPerShift?, WorkSwitchLimitPerShift, PatternConstraints, Conditionals?, ProvidedSkills, ValidShiftTypes?, FairnessConstraints, UsageOptional, (MinRestTime | MinWeekRestTime | Workload? | ShiftStartTimes | ShiftEndTimes | ShiftLengths | TaskLengths)* )
</Contract>


Nested Element Summary
xs:booleanAllowWorkSwitchesPerShift
          If false, then the employee will only be assigned one task type or one skill assignment during a shift (apart from breaks); This means that they will not switch between different task types or skills within a single shift; Default: true  
 Conditionals
          This constraint can be used to model IF-THEN conditions, with variables derived from working patterns (similar to the constraints in Patterns) and working time (as for the Workload constraints)  
 FairnessConstraints
          These constraints can be used to ensure fairness between all employees that are working under this contract. 
xs:stringLabel
          A label for this contract which is used when displaying solutions.  
WeightedTimeSpanMinRestTime
          The minimum amount of rest time (non-work time) required between shifts.  
WeightedTimeSpanMinWeekRestTime
          The extended minimum amount of rest time (non-work time) required between shifts once a week.  
 PatternConstraints
          This is a general and flexible constraint which can model a wide variety of requirements on the employee's schedule.  
 ProvidedSkills
          Lists the available skills of an employee working under this contract.  
 ShiftEndTimes
          This constraint is used to specify earliest (minimum) and latest (maximum) shift end times for employees working under this contract, optionally restricted to certain shift types or days.  
 ShiftLengths
          This constraint is used to specify minimum and maximum shift lengths for employees working under this contract, optionally restricted to certain shift types or days.  
 ShiftStartTimes
          This constraint is used to specify earliest (minimum) and latest (maximum) shift start times for employees working under this contract, optionally restricted to certain shift types or days.  
 TaskLengths
          Minimum and maximum amount of time the employee can work consecutively on the same type of task, optionally restricted to certain task types or days.  
 UsageOptional
          If this is used then employees with this contract will only be assigned shifts if they are needed. 
IDValidShiftTypes
          Lists the shift type or shift group that can be assigned to employees working under this contract, if this element is empty or undefined, shifts of any type can be assigned to an employee working under the contract.  
WorkloadTypeWorkload
          Minimum and maximum total working time between any two dates in the planning period.  
 WorkSwitchLimitPerShift
          Minimum and maximum number of task switches or skill assignments per shift. 

Attribute Summary
 IDextends
          All constraints from the references contract also apply to this contract.  
 IDID
          A unique ID for this contract.  

Attribute Detail

extends

All constraints from the references contract also apply to this contract.

Type:
ID
Use:
optional
Form:
unqualified

ID

A unique ID for this contract.

Type:
ID
Use:
required
Form:
unqualified

Source
<xs:element name="Contract">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="Label" type="xs:string">
</xs:element>
<xs:element minOccurs="0" name="AllowWorkSwitchesPerShift" type="xs:boolean">
</xs:element>
<xs:element minOccurs="0" name="WorkSwitchLimitPerShift">
<xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedInteger"/>
<xs:element name="Max" type="WeightedInteger"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="PatternConstraints">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="CountConstraint" type="SequenceCount">
</xs:element>
<xs:element name="SequenceConstraint" type="SequenceCount">
</xs:element>
<xs:element name="WeekendCount" type="WeekendSequenceCount">
</xs:element>
<xs:element name="WeekendSequence" type="WeekendSequenceCount">
</xs:element>
<xs:element name="ForbiddenSequence" type="ForbiddenSequence">
</xs:element>
<xs:element name="IdenticalSequence" type="IdenticalSequence">
</xs:element>
<xs:element name="MatchConstraint" type="Match">
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" ref="Conditionals">
</xs:element>
<xs:element minOccurs="0" name="ProvidedSkills">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Skill" type="ID">
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="ValidShiftTypes" type="ID">
</xs:element>
<xs:element minOccurs="0" name="FairnessConstraints">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="LargestWorkloadGap" type="WeightedTimeSpan">
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="UsageOptional">
<xs:complexType>
<xs:attribute name="weight" type="nonNegativeDouble" use="optional">
</xs:attribute>
<xs:attribute default="true" name="countPreAssignments" type="xs:boolean" use="optional">
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="MinRestTime" type="WeightedTimeSpan">
</xs:element>
<xs:element name="MinWeekRestTime" type="WeightedTimeSpan">
</xs:element>
<xs:element minOccurs="0" name="Workload" type="WorkloadType">
</xs:element>
<xs:element minOccurs="0" name="ShiftStartTimes">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ShiftTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimePoint">
</xs:element>
<xs:element name="Max" type="WeightedTimePoint">
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="ShiftEndTimes">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ShiftTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimePoint">
</xs:element>
<xs:element name="Max" type="WeightedTimePoint">
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="ShiftLengths">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ShiftTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimeSpan">
</xs:element>
<xs:element name="Max" type="WeightedTimeSpan">
</xs:element>
</xs:choice>
<xs:element minOccurs="0" name="Unit" type="WorkUnit">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="TaskLengths">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="TaskTypes" type="ID">
</xs:element>
<xs:group minOccurs="0" ref="DayOptions"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="Min" type="WeightedTimeSpan">
</xs:element>
<xs:element name="Max" type="WeightedTimeSpan">
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="ID" type="ID" use="required">
</xs:attribute>
<xs:attribute name="extends" type="ID" use="optional">
</xs:attribute>
</xs:complexType>
</xs:element>


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