<?xml version="1.0" encoding="UTF-8"?>

<record version="7" id="1263">
 <title>Hamming distance</title>
 <name>HammingDistance</name>
 <created>2002-01-04 20:58:08</created>
 <modified>2007-07-05 11:29:37</modified>
 <type>Definition</type>
 <creator id="13753" name="Mathprof"/>
 <author id="2760" name="yark"/>
 <author id="2" name="akrowne"/>
 <classification>
	<category scheme="msc" code="05C12"/>
	<category scheme="msc" code="94C99"/>
 </classification>
 <related>
	<object name="Metric"/>
	<object name="HammingMetric"/>
 </related>
 <preamble></preamble>
 <content>\PMlinkescapeword{information}
\PMlinkescapeword{length}
\PMlinkescapeword{simple}

\section{Hamming Distance}

In comparing two bit patterns, the \emph{Hamming distance} is the count of bits different in the two patterns. More generally, if two ordered lists of items are compared, the Hamming distance is the number of items that do not identically agree. This distance is applicable to encoded information, and is a particularly simple metric of comparison, often more useful than the city-block distance or Euclidean distance. 

The Hamming distance is a true metric, as it induces a metric space on the set of ordered lists of some fixed length.

\begin{thebibliography}{3}

\bibitem{DAB} The Data Analysis Briefbook, \PMlinkexternal{http://rkb.home.cern.ch/rkb/titleA.html}{http://rkb.home.cern.ch/rkb/titleA.html}

\end{thebibliography}</content>
</record>
