ScheduleViolation Class |
Namespace: SRS.ScheduleSolver.Core
The ScheduleViolation type exposes the following members.
Name | Description | |
---|---|---|
![]() | Days |
The day or days that this violation occurs on.
|
![]() | FirstDay |
The day this violation occurs on. If the violation occurs over multiple days
(e.g. workload constraints) then this is the first day in the range.
|
![]() | ID |
The ID of the constraint if it is set in the XML.
|
![]() | Label |
A label for the constraint if provided in the problem XML.
|
![]() | LastDay |
The day this violation occurs on. If the violation occurs over multiple days
(e.g. workload constraints) then this is the last day in the range.
|
![]() | MinMax |
Min or Max.
|
![]() | Penalty |
The penalty due to this violation.
|
![]() | SolutionValue |
The actual value that has been assigned in the solution.
|
![]() | TargetUnit |
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.
|
![]() | TargetValue |
The minimum or maximum value that ideally should be assigned in the solution.
|
![]() | Weight |
The weight for the constraint.
|
![]() | WeightFunction |
The weight function for this constraint e.g. linear or quadratic.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |