Construct · 1 fields · 2 citations

Hamming distance: a standalone construct

One name. One construct. A landmark on the map.

● anchor · a standalone construct Nearest construct by meaningcompressioncompare the meanings
How to read this

Every construct on the map is compared with every other by the meaning of its definitions, and the closest one is surfaced here. The nearest construct to Hamming distance is compression.

Hold this as a prompt, not a verdict. Two constructs sitting close in meaning is a reason to read them side by side and decide for yourself whether they are one idea under two names. It is not proof that they are. Compare the meanings in the Collider.

Hammingdistance1 CONSTRUCTHamming distanceHAMMING · CODE DISTANCE

A single standalone construct; nearby constructs are located against it in the Collider. Tap a field for its definition, unit, and measures.

Coding theory

The count of positions at which two equal-length strings differ

Richard W. Hamming introduced the idea in his 1950 paper Error detecting and error correcting codes (Bell System Technical Journal), where he measured how far apart two code words of the same length are by counting the positions in which their symbols disagree; that count is now called the Hamming distance. For two equal-length strings it is simply the number of coordinates at which they differ, so the binary words 1011 and 1001 lie at a Hamming distance of one because they differ in a single position. MacWilliams and Sloane's 1977 treatise The theory of error-correcting codes set out its role as the central metric of coding theory: a code whose words are all separated by a minimum Hamming distance of d can detect up to d minus one errors and correct up to the integer part of (d minus one) divided by two, because a corrupted word stays closest to the one that was actually sent. The quantity satisfies the formal axioms of a mathematical distance, being never negative, zero only for identical strings, symmetric, and obedient to the triangle inequality, which is what makes it a landmark measure wherever the task is to quantify difference between strings of equal length, from coding theory and cryptography to sequence comparison in bioinformatics.[1][2]

Unit
A count of positions, ranging from 0 to the shared length of the two strings
Recovery means
Not applicable
Measured by
Computed by aligning two equal-length sequences and counting the coordinates at which their symbols disagree

Next

Run it through the Collider, or take the citations with you.

See how Hamming distance sits against neighbouring constructs in the Collider, or export every reference on this page in one click.

Open in ColliderExport BibTeXReport this entry

Nearby constructs

code3 fields · 6 citationsjingle · one word, three constructserror4 fields · 8 citationsjingle · one word, four constructsmetric4 fields · 4 citationsjingle · one word, four constructs

References

  1. Hamming, R. W. (1950). Error detecting and error correcting codes. The Bell System Technical Journal, 29(2), 147–160. https://doi.org/10.1002/j.1538-7305.1950.tb00463.x
  2. MacWilliams, F. J., & Sloane, N. J. A. (1977). The theory of error-correcting codes. North-Holland.

Cited on this page?

Confirm your construct, or correct us.

If your work is cited behind one of these entries, you know better than we do whether we captured the meaning right. Confirm it, suggest an edit, or dispute it, and your name goes on the entry as an author who has checked it, linked to your ORCID.

Claim your construct