Click or drag to resize

Solution Class

A solution.
Inheritance Hierarchy
SystemObject
  SRS.ScheduleSolver.CoreSolution

Namespace:  SRS.ScheduleSolver.Core
Assembly:  ScheduleSolver (in ScheduleSolver.dll) Version: 2.5.0+32c9446bcdf252a58ba748c312939f5bd2f367a8
Syntax
public class Solution

The Solution type exposes the following members.

Properties
  NameDescription
Public propertyPenalty
The total penalty due to all soft constraint violations in this solution.
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 methodGetEmployees
Returns the IDs of all the employees in the problem.
Public methodGetGeneralViolations
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSolutionMetrics
Returns metrics and feasibility summary for this solution.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViolationsForEmployee
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.
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.)
Public methodToXml
Gets the solution in an XML format.
Top
See Also

www.staffrostersolutions.com | support