Added to Favorites

Related Searches

Nearby Words

In mathematics and computer science, in the field of coding theory, the Hamming bound is a limit on the parameters of an arbitrary block code: it is also known as the sphere-packing bound or the volume bound from an interpretation in terms of packing balls in the Hamming metric into the space of all possible words. It gives an important limitation on the efficiency with which any error correcting code can utilize the space in which its code words are embedded. A code which attains the Hamming bound is said to be a perfect code.
## Background on error correcting codes

## Statement of the Bound

Let $A\_q(n,d)$ denote the maximum possible size of a $q$-ary block code $C$ of length $n$ and minimum Hamming distance $d$ (a $q$-ary block code of length $n$ is a subset of the strings of $mathcal\{A\}\_q^ntext\{,\}$ where the alphabet set $mathcal\{A\}\_q$ has $q$ elements).## Proof

By definition of $d$, if at most $t=leftlfloorfrac\{d-1\}\{2\}rightrfloor$ errors are made during transmission of a codeword then minimum distance decoding will decode it correctly (ie it decodes the received codeword as the codeword that was sent). Thus the code is said to be capable of correcting $t$ errors.## Perfect Codes

Codes that attain the Hamming bound are called perfect codes. Examples include binary repetition codes of odd length, codes that have only one codeword, and codes that use the whole of $(F\_\{q\})^\{n\}$. These are often called trivial perfect codes.## See also

## Notes

## References

## External links

An original message and an encoded version are both composed in an alphabet of q letters. Each code word contains n letters. The original message (of length m) is shorter than n letters. The message is converted into an n-letter code word by an encoding algorithm, transmitted over a noisy channel, and finally decoded by the receiver. The decoding process interprets a garbled code word as the valid code word "nearest" the n-letter received string.

Mathematically, there are exactly q^{m} possible messages of length m, and each such message can be regarded as a vector of length m. The encoding scheme converts an m-dimensional vector into an n-dimensional vector. Exactly q^{m} valid code words are possible, but any one of q^{n} garbled code words can be received, because the noisy channel might distort one or more of the n letters while the code word is being transmitted.

Then:

- $$

where

- $t=leftlfloorfrac\{d-1\}\{2\}rightrfloor.$

For a given codeword $c\; in\; C$, consider the ball of radius $t$ around $c$. Each such ball is non-intersecting by the $t$-error correcting property, and each ball contains

- $$

codewords since we may allow (or choose) up to $t$ of the $n$ components of a codeword to deviate (from the value of the corresponding component of the ball's centre) to one of $(q-1)$ possible other values (recall: the code is q-ary: it takes values in $mathcal\{A\}\_q^n$).

Let $M$ be the total number of codewords in $C$. Taking the union of the balls over all codewords we observe that the resulting set of codewords is contained in $mathcal\{A\}\_q^n$. Then since each ball is non-intersecting we may sum the number of elements in each to deduce:

- $$

Whence:

- $$

In 1973 it was proved that any non-trivial perfect code over a prime-power alphabet has the parameters of a Hamming code or a Golay code.

A perfect code may be interpreted as one in which the balls of Hamming radius t centred on codewords exactly fill out the space. A quasi-pefect code is one in which the balls of Hamming radius t centred on codewords are disjoint and the balls of radius t+1 cover the space, possibly with some overlaps.

- Raymond Hill (1988).
*A First Course In Coding Theory*. Oxford University Press. - F.J. MacWilliams; N.J.A. Sloane
*The Theory of Error-Correcting Codes*. North-Holland. - Vera Pless (1982).
*Introduction to the Theory of Error-Correcting Codes*. John Wiley & Sons. - J.H. van Lint
*Introduction to Coding Theory*. 2nd ed, Springer-Verlag. - J.H. van Lint (1975). "A survey of perfect codes".
*Rocky Mountain Math. J.*5 199-224.

Wikipedia, the free encyclopedia © 2001-2006 Wikipedia contributors (Disclaimer)

This article is licensed under the GNU Free Documentation License.

Last updated on Wednesday October 01, 2008 at 10:23:06 PDT (GMT -0700)

View this article at Wikipedia.org - Edit this article at Wikipedia.org - Donate to the Wikimedia Foundation

This article is licensed under the GNU Free Documentation License.

Last updated on Wednesday October 01, 2008 at 10:23:06 PDT (GMT -0700)

View this article at Wikipedia.org - Edit this article at Wikipedia.org - Donate to the Wikimedia Foundation

Copyright © 2014 Dictionary.com, LLC. All rights reserved.