ultrametrik
Ultrametric is a mathematical concept originating from the field of functional analysis and metric spaces, characterized by a specific type of distance function known as an ultrametric. Unlike traditional metrics, which satisfy the triangle inequality (where the distance between two points is always less than or equal to the sum of their distances via a third point), ultrametrics impose a stricter condition called the ultrametric inequality. In an ultrametric space, the distance *d*(x, y) between any two points *x* and *y* satisfies *d*(x, y) ≤ max(*d*(x, z), *d*(z, y)*) for any third point *z*. This implies that triangles in ultrametric spaces are either equilateral or degenerate, meaning all sides are equal or at least one side has zero length.
Ultrametrics were first introduced by French mathematician Paul Erdős and Hungarian mathematician László Lovász in the
In theoretical computer science, ultrametrics are applied in algorithms for approximate nearest neighbor search and in
The properties of ultrametric spaces make them distinct from Euclidean spaces, offering unique advantages in modeling