Hammingdistans
Hammingdistans, or Hamming distance, is a measure of difference between two strings of equal length over a finite alphabet. It is defined as the number of positions at which the corresponding symbols are different. For example, the distance between 1011101 and 1001001 is 2, since they differ in positions 3 and 5.
Mathematically, for two strings x and y in Sigma^n, the Hamming distance d_H(x,y) equals the cardinality of
Properties: It is a metric on the set of length-n strings: non-negative, equals zero only when x
Applications: In coding theory, Hamming distance is central to error detection and correction. Hamming codes are
Limitations and generalizations: The distance is defined only for strings of the same length; comparing strings
Historia: The concept is named after Richard Hamming, who introduced it in his work on error detection