computeTourLength: Helper for tour length computation.

Description Usage Arguments Value See Also

View source: R/computeTourLength.R

Description

Helper for tour length computation.

Usage

1
computeTourLength(ind, instance, vehicle = 1L)

Arguments

ind

[VRPIndividual]
Instance of type VRPIndividual.

instance

[Network
Netgen network with slots “coords” and “dmat”, i.e., coordinates and distance matrix with start and end depot!

vehicle

[integer(1)]
ID of vehicle.

Value

[numeric(1)]

See Also

fitness.fun


jakobbossek/dynvrp documentation built on Jan. 19, 2020, 9:53 p.m.