In metric geometry, the Karlsruhe metric is a measure of distance that assumes travel is only possible along rays through the origin and circular arcs centered at the origin.
The name alludes to the layout of the city of Karlsruhe, which has radial streets and circular avenues around a central point.
This metric is also called Moscow metric.
[1][2] In this metric, there are two types of shortest paths.
One possibility, when the two points are on nearby rays, combines a circular arc through the nearer to the origin of the two points and a segment of a ray through the farther of the two points.
Alternatively, for points on rays that are nearly opposite, it is shorter to follow one ray all the way to the origin and then follow the other ray back out.
Therefore, the Karlsruhe distance between two points
is the minimum of the two lengths that would be obtained for these two types of path.
That is, it equals
min (
) ⋅ δ (
0 ≤ δ (
{\displaystyle d_{k}(p_{1},p_{2})={\begin{cases}\min(r_{1},r_{2})\cdot \delta (p_{1},p_{2})+|r_{1}-r_{2}|,&{\text{if }}0\leq \delta (p_{1},p_{2})\leq 2\\r_{1}+r_{2},&{\text{otherwise}}\end{cases}}}
φ
are the polar coordinates of
δ (
) = min (
, 2 π −
is the angular distance between the two points.
This metric geometry-related article is a stub.
You can help Wikipedia by expanding it.