finding euclidean distance,better code?
Robert Bossy
Robert.Bossy at jouy.inra.fr
Fri Mar 28 11:59:59 EDT 2008
Gabriel Genellina wrote:
> That's what I said in another paragraph. "sum of coordinates" is using a
> different distance definition; it's the way you measure distance in a city
> with square blocks. I don't know if the distance itself has a name, but
I think it is called Manhattan distance in reference of the walking
distance from one point to another in this city.
RB
More information about the Python-list
mailing list