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

Documentation

If this is used then employees with this contract will only be assigned shifts if they are needed. The constraint can be given a weight which is a penalty incurred for each such employee that is assigned at least one shift. Other constraints regarding the number and sequences of assignments (such as Workload, Patterns,...) can be ignored for optional employees that are not used at all. The constraint can be used to leave certain employees unscheduled if possible (for example, temporary or external employees). This constraint is ignored for VariableEmployees (set the cost of their employment via the employee definition).

Properties
This component is not nillable.

Model
<UsageOptional
  countPreAssignments = xs:boolean : true
  weight = nonNegativeDouble>

</UsageOptional>


Attribute Summary
 xs:booleancountPreAssignments
          If true, then also fixed assignments are counted to determine whether an employee is used. 
 nonNegativeDoubleweight
          The penalty incurred by each optional employee that is assigned at least one shift.  

Attribute Detail

countPreAssignments

If true, then also fixed assignments are counted to determine whether an employee is used. This can be set to false to model e.g. assignments of previous scheduling periods with PreAssignments.

Type:
xs:boolean
Default:
true
Use:
optional
Form:
unqualified

weight

The penalty incurred by each optional employee that is assigned at least one shift.

Type:
nonNegativeDouble
Use:
optional
Form:
unqualified

Source
<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>


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