# Thread:Talk:DrussGT/Understanding DrussGT/Reason behind using Manhattan distance/reply (7)

From RoboWiki

(Difference between revisions)

m (Reply to Reason behind using Manhattan distance) |
m |
||

Line 3: | Line 3: | ||

Euclidean distance = sqrt( (x+1)^2 ) | Euclidean distance = sqrt( (x+1)^2 ) | ||

− | Manhattan distance = x+1 | + | Manhattan distance = | x+1 | |

## Latest revision as of 17:11, 28 August 2018

Shouldn´t you be adding that +1 to the x value before squaring?

Euclidean distance = sqrt( (x+1)^2 )

Manhattan distance = | x+1 |