Click or drag to resize

OtherViolation Class

A violation of a constraint other than the constraints which apply to employees' individual schedules. For example a violation of a cover constraint.
Inheritance Hierarchy
SystemObject
  SRS.ShiftSolver.CoreOtherViolation

Namespace:  SRS.ShiftSolver.Core
Assembly:  ShiftSolver (in ShiftSolver.dll) Version: 2.2.0.0
Syntax
public class OtherViolation

The OtherViolation type exposes the following members.

Properties
  NameDescription
Public propertyConstraintID Obsolete.
The constraint Name.
Public propertyConstraintName
The constraint Name.
Public propertyEndTime
An end time for the constraint if available.
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 propertyMinMax
Min or Max.
Public propertyPenalty
The penalty due to this violation.
Public propertySkill
The skill related to this constraint if available.
Public propertySolutionValue
The actual value that has been assigned in the solution.
Public propertyStartTime
A start time for the constraint if available.
Public propertyTargetValue
The minimum or maximum value that ideally should be assigned in the solution.
Public propertyTask
The task related to this constraint if available.
Public propertyWeight
The weight for the constraint.
Public propertyWeightFunction
The weight function for this constraint e.g. linear or quadratic.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

www.staffrostersolutions.com | support