Module tspf::metric[][src]

Traits

MetricPoint

Functions

att

Calculates the distance between two points for dataset from AT&T Bell laboratory, published by Padberg and Rinaldi in 1987.

euc_2d

Calculates the 2D-Euclidean distance between two points.

euc_3d

Calculates the 3D-Euclidean distance between two points.

geo

Calculates the geographical between two points.

man_2d

Calculates the 2D-Manhattan distance between two points.

man_3d

Calculates the 3D-Manhattan distance between two points.

max_2d

Calculates the 2D maximum distance between two points.

max_3d

Calculates the 3D maximum distance between two points.

xray1

Calculates the distance between two points for crystallography problems (version 1).

xray2

Calculates the distance between two points for crystallography problems (version 2).