Click or drag to resize

ProblemSetTravelTimes Method

Sets the TravelTime matrix.

Namespace:  VRSolver
Assembly:  VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntax
public void SetTravelTimes(
	TravelTime[,,] matrix
)

Parameters

matrix
Type: VRSolverTravelTime
The times and distances are represented in a 3D array. The first dimension is the TimeMatrixIndex used when adding a resource to the problem. The second and third dimensions are location indexes. For example, the TravelTime for a resource traveling between location X and Y should be stored at matrix[resource.TimeMatrixIndex, locX.index, locY.index]
Exceptions
ExceptionCondition
ArgumentNullExceptionMatrix is null.
See Also

www.routingautomation.com | support