Difference between revisions of "Thread:Talk:DrussGT/Understanding DrussGT/Reason behind using Manhattan distance/reply (7)"

From Robowiki
Jump to navigation Jump to 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 18: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 |