General Violation Class
A violation of a constraint other than the constraints which
apply to employees' individual schedules.
For example a violation of a task assignment.
Definition
Namespace: SRS.ScheduleSolver.Core
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public class GeneralViolationVB
Public Class GeneralViolationC++
public ref class GeneralViolationF#
type GeneralViolation = class end- Inheritance
- Object GeneralViolation
Properties
| ConstraintID |
The constraint Name.
|
| ConstraintName | The constraint Name. |
| Days | The days(s) linked to this constraint (if applicable). |
| Employees | The employee(s) linked to this constraint (if applicable). |
| EndTime | An end time for the constraint if available. |
| 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. |
| MinMax | Min or Max. |
| Penalty | The penalty due to this violation. |
| Skill | The skill related to this constraint if available. |
| SolutionValue | The actual value that has been assigned in the solution. |
| StartTime | A start time for the constraint if available. |
| 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 if available (e.g. linear or quadratic). |
Methods
| Equals | (Inherited from Object) |
| Finalize | (Inherited from Object) |
| GetHashCode | (Inherited from Object) |
| GetType | (Inherited from Object) |
| MemberwiseClone | (Inherited from Object) |
| ToString | (Inherited from Object) |