Solution Class

A solution.

Definition

Namespace: SRS.ScheduleSolver.Core
Assembly: ScheduleSolver (in ScheduleSolver.dll) Version: 2.6.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public class Solution
Inheritance
Object    Solution

Properties

Penalty The total penalty due to all soft constraint violations in this solution.

Methods

Equals
(Inherited from Object)
Finalize
(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
(Inherited from Object)
GetSolutionMetrics Returns metrics and feasibility summary for this solution.
GetType
(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
(Inherited from Object)
ToString
(Inherited from Object)
ToXml Gets the solution in an XML format.

See Also