English

Text Searching Allowing for Non-Overlapping Adjacent Unbalanced Translocations

Data Structures and Algorithms 2021-01-05 v1 Logic in Computer Science

Abstract

In this paper we investigate the \emph{approximate string matching problem} when the allowed edit operations are \emph{non-overlapping unbalanced translocations of adjacent factors}. Such kind of edit operations take place when two adjacent sub-strings of the text swap, resulting in a modified string. The two involved substrings are allowed to be of different lengths. Such large-scale modifications on strings have various applications. They are among the most frequent chromosomal alterations, accounted for 30\% of all losses of heterozygosity, a major genetic event causing inactivation of cancer suppressor genes. In addition, among other applications, they are frequent modifications accounted in musical or in natural language information retrieval. However, despite of their central role in so many fields of text processing, little attention has been devoted to the problem of matching strings allowing for this kind of edit operation. In this paper we present three algorithms for solving the problem, all of them with a \bigO(nm3)\bigO(nm^3) worst-case and a \bigO(m2)\bigO(m^2)-space complexity, where mm and nn are the length of the pattern and of the text, respectively. % In particular, our first algorithm is based on the dynamic-programming approach. Our second solution improves the previous one by making use of the Directed Acyclic Word Graph of the pattern. Finally our third algorithm is based on an alignment procedure. We also show that under the assumptions of equiprobability and independence of characters, our second algorithm has a \bigO(nlogσ2m)\bigO(n\log^2_{\sigma} m) average time complexity, for an alphabet of size σ4\sigma \geq 4.

Keywords

Cite

@article{arxiv.2101.00718,
  title  = {Text Searching Allowing for Non-Overlapping Adjacent Unbalanced Translocations},
  author = {Domenico Cantone and Simone Faro and Arianna Pavone},
  journal= {arXiv preprint arXiv:2101.00718},
  year   = {2021}
}

Comments

arXiv admin note: substantial text overlap with arXiv:1812.00421

R2 v1 2026-06-23T21:43:52.123Z