JobPart Class

A Job is made up of an array of JobParts which must be completed by a single Resource in the order they are listed in the array.

Definition

Namespace: VRSolver
Assembly: VRSolver (in VRSolver.dll) Version: 1.15.0+d867f7e856f281547f683ef6449a86e433a2356d
C#
public class JobPart
Inheritance
Object    JobPart

Constructors

JobPartInitializes a new instance of the JobPart class

Properties

ExternalID An ID to be used when visualising the solution or exporting it to a report. If this property is not used then ID is used instead.
HasNoLocation Indicates whether the JobPart has a location or not. For example JobParts that are BreakWindow have no location and also JobParts with AfterEndNoLocation.
ID An ID for the JobPart.
JobTime The time required to complete the JobPart.
Label A label attached to the JobPart for analysis and when viewing solutions.
LoadChange The amount that a Resource's accumulated load changes when this JobPart is completed.
Loc The location.
Position Indicates which position the JobPart should be scheduled in the route and whether it has a location or not. The default value is BetweenStartAndEnd.
SoftWindowClose If the soft window is used and the JobPart starts after this time then the objective function value is increased i.e. a penalty is added to the solution value.
SoftWindowIsUsed Indicates whether the soft window is used or not.
Type Indicates if the JobPart is a non-standard JobPart such as a break which must be scheduled within a time window. The default value is None.
WindowClose The JobPart cannot be started after this time (hard constraint).
WindowOpen The JobPart cannot be started before this time (hard constraint).

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Returns a description of this JobPart.
(Overrides ObjectToString)

See Also