Solution Class |
Namespace: SRS.ScheduleSolver.Core
The Solution type exposes the following members.
Name | Description | |
---|---|---|
![]() | Penalty |
The total penalty due to all soft constraint violations in this solution.
|
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.) |
![]() | GetEmployees |
Returns the IDs of all the employees in the problem.
|
![]() | GetGeneralViolations |
Returns the violations for constraints which are not specific to
individual employees or may be linked to more than one employee.
For example, task assignment violations and expressions.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetSolutionMetrics |
Returns metrics and feasibility summary for this solution.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetViolationsForEmployee |
Returns the constraint violations related to an individual employee's
schedule. These are the constraints in their contract and
day and shift on/off requests.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ToXml |
Gets the solution in an XML format.
|