Misplaced Pages

Lee distance

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

In coding theory, the Lee distance is a distance between two strings x 1 x 2 x n {\displaystyle x_{1}x_{2}\dots x_{n}} and y 1 y 2 y n {\displaystyle y_{1}y_{2}\dots y_{n}} of equal length n over the q-ary alphabet {0, 1, …, q − 1} of size q ≥ 2. It is a metric defined as i = 1 n min ( | x i y i | , q | x i y i | ) . {\displaystyle \sum _{i=1}^{n}\min(|x_{i}-y_{i}|,\,q-|x_{i}-y_{i}|).} If q = 2 or q = 3 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 q > 3 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 Z 4 {\displaystyle \mathbb {Z} _{4}} with the Lee weight and Z 2 2 {\displaystyle \mathbb {Z} _{2}^{2}} with the Hamming weight.

Considering the alphabet as the additive group Zq, the Lee distance between two single letters x {\displaystyle x} and y {\displaystyle 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 n is the length of the shortest path between them in the Cayley graph of Z q n {\displaystyle \mathbf {Z} _{q}^{n}} . This can also be thought of as the quotient metric resulting from reducing Z with the Manhattan distance modulo the lattice qZ. The analogous quotient metric on a quotient of Z modulo an arbitrary lattice is known as a Mannheim metric or Mannheim distance.

The metric space induced by the Lee distance is a discrete analog of the elliptic space.

Example

If q = 6, then the Lee distance between 3140 and 2543 is 1 + 2 + 0 + 3 = 6.

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

  1. ^ Deza, Elena; Deza, Michel (2014), Dictionary of Distances (3rd ed.), Elsevier, p. 52, ISBN 9783662443422
  2. ^ Greferath, Marcus (2009). "An Introduction to Ring-Linear Coding Theory". In Sala, Massimiliano; Mora, Teo; Perret, Ludovic; Sakata, Shojiro; Traverso, Carlo (eds.). Gröbner Bases, Coding, and Cryptography. Springer Science & Business Media. p. 220. ISBN 978-3-540-93806-4.
  3. Blahut, Richard E. (2008). Algebraic Codes on Lines, Planes, and Curves: An Engineering Approach. Cambridge University Press. p. 108. ISBN 978-1-139-46946-3.
  4. Huber, Klaus (January 1994) . "Codes over Gaussian Integers". IEEE Transactions on Information Theory. 40 (1): 207–216. doi:10.1109/18.272484. eISSN 1557-9654. ISSN 0018-9448. S2CID 195866926. IEEE Log ID 9215213. Archived (PDF) from the original on 2020-12-17. Retrieved 2020-12-17. (1+10 pages) (NB. This work was partially presented at CDS-92 Conference, Kaliningrad, Russia, on 1992-09-07 and at the IEEE Symposium on Information Theory, San Antonio, TX, USA.)
  5. Strang, Thomas; Dammann, Armin; Röckl, Matthias; Plass, Simon (October 2009). Using Gray codes as Location Identifiers (PDF). 6. GI/ITG KuVS Fachgespräch Ortsbezogene Anwendungen und Dienste (in English and German). Oberpfaffenhofen, Germany: Institute of Communications and Navigation, German Aerospace Center (DLR). CiteSeerX 10.1.1.398.9164. Archived (PDF) from the original on 2015-05-01. Retrieved 2020-12-16. (5/8 pages)
  6. Roth, Ron (2006). Introduction to Coding Theory. Cambridge University Press. p. 314. ISBN 978-0-521-84504-5.
Strings
String metric
String-searching algorithm
Multiple string searching
Regular expression
Sequence alignment
Data structure
Other
Categories: