Click or drag to resize

ScheduleViolation Properties

The ScheduleViolation type exposes the following members.

Properties
  NameDescription
Public propertyFirstDay
The day this violation occurs on. If the violation ranges over multiple days (e.g. workload constraints) then this is the first day in the range.
Public propertyID
The ID of the constraint if it is set in the XML.
Public propertyLabel
A label for the constraint if provided in the problem XML.
Public propertyLastDay
The day this violation occurs on. If the violation ranges over multiple days (e.g. workload constraints) then this is the last day in the range.
Public propertyMinMax
Min or Max.
Public propertyPenalty
The penalty due to this violation.
Public propertySolutionValue
The actual value that has been assigned in the solution.
Public propertyTargetUnit
A unit description for the TargetValue (if available). For example if it is a constraint on the amount of time a person can be assigned to a particular task then this field contains the task ID.
Public propertyTargetValue
The minimum or maximum value that ideally should be assigned in the solution.
Public propertyWeight
The weight for the constraint.
Public propertyWeightFunction
The weight function for this constraint e.g. linear or quadratic.
Top
See Also

www.staffrostersolutions.com | support