Lee distance

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

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 {0, 1, …, q − 1} of size q ≥ 2. It is a metric, defined as

\sum_{i=1}^n \min(|x_i-y_i|,q-|x_i-y_i|).[1]

Considering the alphabet as the additive group Zq, the Lee distance between two letters is the length of shortest path in the Cayley graph (which is circular since the group is cyclic) between them.[2]

If q = 2 or q = 3 the Lee distance coincides with the Hamming distance.

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

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 C. Y. 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.[3] 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.[4]

Also, there exists a Gray isometry (bijection preserving weight) between \mathbb{Z}_4 with the Lee weight and \mathbb{Z}_2^2 with the Hamming weight.[4]

References

  1. 1.0 1.1 Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. 4.0 4.1 Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.
  • Lua error in package.lua at line 80: module 'strict' not found.