Manhattan_distance Manhattan_distance

Manhattan distance - Definition and Overview

Taxicab geometry, considered by Hermann Minkowski in the 19th century, is a form of geometry in which the usual metric of Euclidean geometry is replaced by a new metric in which the distance between two points is the sum of the (absolute) differences of their coordinates. More formally, we can define the Manhattan distance, also known as the L1-distance, as the distance between two points measured along axes at right angles. In a plane, the Manhattan distance between the point P1 with coordinates (x1, y1) and the point P2 at (x2, y2) is

<math> |x_1 - x_2| + |y_1 - y_2|. <math>

Manhattan distance is also known as city block distance. It is so named because it is the distance a car would drive in a city laid out in square blocks, like Manhattan (discounting the facts that in Manhattan there are one-way and oblique streets and that real streets only exist at the edges of blocks - there is no 3.14th Avenue). Any route from a corner to another one that is 3 blocks East and 6 blocks North, will cover at least 9 blocks.

Example Usage of Manhattan

JamesHartline: Exposing The Ecumenical Jihad -- I would never, ever sign the Manhattan Declaration. http://bit.ly/8Co3Cf
newsinators: Thousands lined the streets of Manhattan Thursday for the 83rd annual Macy's Thanksgiving Day Parade. http://bit.ly/65Ctes #tcot
figureskater930: Hair's finally straightened now off to bed. Going to Manhattan with Jen tonight and then Foxwoods trip tomorrow!! Margarita nights!
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.