Adaptive computation of the swap-insert correction distance
Author
dc.contributor.author
Barbay, Jeremy
Author
dc.contributor.author
Perez-Lantero, Pablo
Admission date
dc.date.accessioned
2019-05-31T15:21:16Z
Available date
dc.date.available
2019-05-31T15:21:16Z
Publication date
dc.date.issued
2018
Cita de ítem
dc.identifier.citation
ACM Transactions on Algorithms, Volumen 14, Issue 4, 2018
Identifier
dc.identifier.issn
15496333
Identifier
dc.identifier.issn
15496325
Identifier
dc.identifier.other
10.1145/3232057
Identifier
dc.identifier.uri
https://repositorio.uchile.cl/handle/2250/169555
Abstract
dc.description.abstract
The Swap-Insert Correction distance from a string S of length n to another string L of length m≥n on the alphabet [1.δ] is the minimum number of insertions, and swaps of pairs of adjacent symbols, converting S into L. Contrarily to other correction distances, computing it is NP-Hard in the size δ of the alphabet. We describe an algorithm computing this distance in time within O(δ2nmtδ.1), where for each [1.δ] there are occurrences of in S,mϵoccurrences of ¿ in L, and where "t = max [1.δ] min is a new parameter of the analysis, measuring one aspect of the difficulty of the instance. The difficulty "t is bounded by above by various terms, such as the length n of the shortest string S, and by the maximum number of occurrences of a single character in S (max[1.δ]). This result illustrates how, in many cases, the correction distance between two strings can be easier to compute than in the worst case scenario.