
The Hamming distance of a string \(x\) to a language \(L\) is the minimum Hamming distance of \(x\) to any string in \(L\). The paper presents a number of results on the complexity of computing the Hamming distance. Namely, there exist a language in AC\(^0\) such that both Hamming distance and edit distance to this language are hard to approximate. Also for every \(t \in N\) there is a language in AC\(^0\) for which computing the Hamming distance is W\([t]\)-hard, and there is a language in P for which the same problem is WP-hard. Then approximation-ratio preserving reductions from the problem of computing the Hamming distance to the problem of computing the edit distance and vice versa are given to show that these problems are in some sense equivalent. Finally, HamP -- the class of languages to which the Hamming distance can be efficiently computed -- is introduced and some of its properties are studied. However, its characterization in terms of automata or formal languages remains an open problem and some evidence is given that such characterization might be difficult.
EWI-21266, Computational Complexity, inapproximability, computational complexity, Edit distance, IR-79423, Formal languages and automata, edit distance, Theoretical Computer Science, Computational complexity, Parameterized complexity, Hamming distance, Computational difficulty of problems (lower bounds, completeness, difficulty of approximation, etc.), parametrized complexity, Inapproximability, Computer Science(all)
EWI-21266, Computational Complexity, inapproximability, computational complexity, Edit distance, IR-79423, Formal languages and automata, edit distance, Theoretical Computer Science, Computational complexity, Parameterized complexity, Hamming distance, Computational difficulty of problems (lower bounds, completeness, difficulty of approximation, etc.), parametrized complexity, Inapproximability, Computer Science(all)
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 8 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 10% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
