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

From RoboWiki
(Difference between revisions)
Jump to: navigation, search
 
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 |

Personal tools