DistMat: Coomputes distance matrix

Description Usage Arguments Examples

Description

Coomputes distance matrix

Usage

1
DistMat(locations, method = "euclidean")

Arguments

locations

– [ID, X, Y] Node id and X, Y co-ordinates/ Long, Lat

method

– Metric to calculate distnace between nodes. Feasible methods for X-Y co-ordinates c("euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski"); Feasible methods for Long-Lat c(distCosine, distHaversine). Default: "euclidean". Note: Please make sure that, method should be a character only for X-Y co-ordinates not for Long-Lat

Examples

1
2

kavetinaveen/HeuristicsVRP documentation built on May 20, 2019, 7:53 a.m.