Lee distance

Uses your system voice; voice and rate in settings.

Q6515692Snapshot

≈ 4 min read

Names in other languages

  • Italianodistanza di Lee
  • EnglishLee distance
  • NederlandsLee-afstand
  • УкраїнськаВідстань Лі
  • Bahasa Indonesiajarak Lee
  • 日本語リー距離
  • 中文李距离

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In coding theory, the Lee distance is a distance between two strings x_1 x_2 \dots x_n and y_1 y_2 \dots y_n of equal length n over the q-ary alphabet of size . It is a metric defined as \sum_{i=1}^n \min(|x_i - y_i|,\, q - |x_i - y_i|). If or the Lee distance coincides with the Hamming distance, because both distances are 0 for two single equal symbols and 1 for two single non-equal symbols. For this is not the case anymore; the Lee distance between single letters can become bigger than 1.

However, there exists a Gray isometry (weight-preserving bijection) between \mathbb{Z}_4 with the Lee weight and \mathbb{Z}_2^2 with the Hamming weight. Considering the alphabet as the additive group Z q , the Lee distance between two single letters x and y is the length of shortest path in the Cayley graph (which is circular since the group is cyclic) between them. More generally, the Lee distance between two strings of length is the length of the shortest path between them in the Cayley graph of \mathbf{Z}_q^n .

This can also be thought of as the quotient metric resulting from reducing with the Manhattan distance modulo the lattice . The analogous quotient metric on a quotient of modulo an arbitrary lattice is known as a or Mannheim distance. The metric space induced by the Lee distance is a discrete analog of the elliptic space.

In coding theory, the Lee distance is a distance between two strings x_1 x_2 \dots x_n and y_1 y_2 \dots y_n of equal length n over the q-ary alphabet of size . It is a metric defined as \sum_{i=1}^n \min(|x_i - y_i|,\, q - |x_i - y_i|). If or the Lee distance coincides with the Hamming distance, because both distances are 0 for two single equal symbols and 1 for two single non-equal symbols. For this is not the case anymore; the Lee distance between single letters can become bigger than 1.

However, there exists a Gray isometry (weight-preserving bijection) between \mathbb{Z}_4 with the Lee weight and \mathbb{Z}_2^2 with the Hamming weight. Considering the alphabet as the additive group Z q , the Lee distance between two single letters x and y is the length of shortest path in the Cayley graph (which is circular since the group is cyclic) between them. More generally, the Lee distance between two strings of length is the length of the shortest path between them in the Cayley graph of \mathbf{Z}_q^n .

This can also be thought of as the quotient metric resulting from reducing with the Manhattan distance modulo the lattice . The analogous quotient metric on a quotient of modulo an arbitrary lattice is known as a or Mannheim distance. The metric space induced by the Lee distance is a discrete analog of the elliptic space.

Example

If , then the Lee distance between 3140 and 2543 is .

History and application

The Lee distance is named after William Chi Yuan Lee ( ). It is applied for phase modulation while the Hamming distance is used in case of orthogonal modulation. The Berlekamp code is an example of code in the Lee metric. Other significant examples are the Preparata code and Kerdock code; these codes are non-linear when considered over a field, but are linear over a ring.

References

Text derived from https://en.wikipedia.org/w/index.php?oldid=1219297334 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot lee-distance-737991-fc4d65b085253afc · hash fc4d65b085253afc8334f56362014c65fe154f3e8a6f901165fa10573e909541 · captured 1713298336.0 · version history

Cite this page as: encyclopegia.org, “Lee distance”, snapshot lee-distance-737991-fc4d65b085253afc. https://encyclopegia.org/a/lee-distance

Sources cited in this revision

5 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.