Solution Methods |
The Solution type exposes the following members.
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.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOtherViolations |
Returns the violations for constraints which are not specific to
individual employees. For example, cover constraint violations.
| |
GetTotalCoverRequiredTime |
Returns the total minimum/maximum time for the Cover
constraints with the specified ID.
| |
GetTotalCoverViolationTime |
Returns the total amount of time assigned above the maximum
or below the minimum Cover constraints with the specified ID.
| |
GetTotalScheduledWorkTime |
Returns the total amount of time scheduled to all
employees. If a break has a 'WorkLength' different to
the actual physical length of the break then the break's
'WorkLength' is used rather than the actual physical length.
For example, if a break has a WorkLength of zero then that
time will not be included.
| |
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.
|