RouteMetrics Class

Metrics and detailed information for a route generated by the solver.

Definition

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

Constructors

RouteMetrics Initialises a new instance of the RouteMetrics class.

Properties

DistanceCost The total distance cost.
DrivingTimeTotal Total driving time.
IdleTimeTotal The total idle time (waiting for job windows to open when a resource arrives before a job window opens).
JobsCount The number of Jobs assigned in this route (*not JobParts*).
JobTimeTotal The sum of the JobTime for all the Jobs in this route.
JobWeightTotal The total weight for all the Jobs in this route.
LateTimeCost The total late time cost. This is the total late time in minutes multiplied by the TotalLatenessWeight.
LateTimeTotal The total late time (when the resource arrives after a soft window closes).
MaxJobTimeCost The total cost for the maximum total Job time soft constraint (MaxJobTimeSoftConstraint). This is the difference between the total Job time and the maximum Job time in minutes, multiplied by the MaxJobTimeSoftConstraintWeight.
MaxWorkTimeCost The total cost for the maximum working time soft constraint (MaxWorkTimeSoftConstraint). This is the difference between the total work time and the maximum work time in minutes, multiplied by the MaxWorkTimeSoftConstraintWeight.
MinJobTimeCost The total cost for the minimum total Job time soft constraint (MinJobTimeSoftConstraint). This is the difference between the total Job time and the minimum Job time in minutes, multiplied by the MinJobTimeSoftConstraintWeight.
MinWorkTimeCost The total cost for the minimum working time soft constraint (MinWorkTimeSoftConstraint). This is the difference between the total work time and the minimum work time in minutes, multiplied by the MinWorkTimeSoftConstraintWeight.
TotalDistance The total distance.
Violations The violations of any constraints in the route.
WaitingTimeTotal The total idle time (waiting for job windows to open when a resource arrives before a job window opens). This is obsolete - use IdleTimeTotal instead.
Obsolete
WorkTimeTotal Total duty time.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also