정의: 두 점 사이의 직선 거리(Shortest Straight Line)를 측정한다. 피타고라스의 거리 공식을 사용해서 피타고라스 거리 라고도 불린다.(원점에서 각 벡터의 거리로 정의)
By making use of the Pythagorean formula for distance, Euclidean space (or even any inner product space) would become a metric space. ... Due to the fact that it is possible for you to find the Euclidean distance by making use of the coordinate points and the Pythagoras theorem, it is also sometimes referred to as the Pythagorean distance.
Rectilinear Distance, 1-norm (Manhattan Distance)
정의: 두 점 사이를 직선 경로(x축, y축 방향으로 이동)로 이동한 거리를 측정한다. "맨해튼 거리(Manhattan Distance)"라고도 한다.
⚠️맨해튼 거리(Manhattan Distance) 라고 불리는 이유...? 뉴욕의 맨해튼 지구의 도시 구조에서 유래 됐다고 한다. 이유: 맨해튼은 grid 형태의 도로망으로 이루어진 도시여서 자동차나 보행자는 도로를 따라 직선으로만 이동할 수 있길 때문에, 두 지점 사이를 대각선으로 이동하는 것이 불가능 하다. 따라서 한 지점에서 다른 지점으로 이동할 때는 수평거리와 수직거리를 각각 합산한 거리가 실제 이동 거리와 같다.
댓글