Enumeration Members

Enumeration Members

Chebyshev: 2

The greater of the distances from points A and B on each axis.

This distance formula covers a square pattern on a grid.

Euclidean: 1

The measure of a straight line between points A and B.

This distance formula covers a circular pattern on a grid.

Manhattan: 0

The number of adjacent grid cell movements needed to get from A to B.

This distance formula covers a diamond pattern on a grid.

Generated using TypeDoc