Adaptive Computation of the Swap-Insert Correction Distance

Author:

Barbay Jérémy1,Pérez-Lantero Pablo2

Affiliation:

1. Departamento de Ciencias de la Computación, Universidad de Chile, Santiago, Chile

2. Departamento de Matemática y Ciencia de la Computación, Universidad de Santiago, Santiago, Chile

Abstract

The Swap-Insert Correction distance from a string S of length n to another string L of length mn 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 O2 nmg σ−1 ), where for each α ∈ [1‥σ] there are n α occurrences of α in S , m α occurrences of α in L , and where g = max α∈[1‥σ] min{ n α , m αn α } is a new parameter of the analysis, measuring one aspect of the difficulty of the instance. The difficulty g 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‥σ] n α ). This result illustrates how, in many cases, the correction distance between two strings can be easier to compute than in the worst case scenario.

Funder

CONICYT FONDECYT/Regular

Publisher

Association for Computing Machinery (ACM)

Subject

Mathematics (miscellaneous)

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Modern Aspects of Complexity Within Formal Languages;Language and Automata Theory and Applications;2019

2. Adaptive Computation of the Swap-Insert Correction Distance;ACM Transactions on Algorithms;2018-10-13

3. Indexed Dynamic Programming to Boost Edit Distance and LCSS Computation;String Processing and Information Retrieval;2018

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3