Taxicab2
Taxicab2 refers to the two-dimensional form of the Taxicab metric, commonly known as the Manhattan distance. It measures the distance between two points p = (x1, y1) and q = (x2, y2) in the plane as D2(p, q) = |x1 − x2| + |y1 − y2|. This metric embodies axis-aligned movement, in contrast to the straight-line distance of Euclidean geometry.
As a metric on the plane, Taxicab2 satisfies non-negativity, identity of indiscernibles, symmetry, and the triangle
Taxicab2 is a special case of the L1 norm and generalizes to higher dimensions by summing absolute
Applications of Taxicab2 include robotics and autonomous navigation on grid maps, pathfinding in video games, image
See also: Manhattan distance, taxicab geometry, L1 norm, distance metrics.