String Matching with Inversions and Translocations in Linear Average Time (Most of the Time)
Abstract
We present an efficient algorithm for finding all approximate occurrences of a given pattern of length in a text of length allowing for translocations of equal length adjacent factors and inversions of factors. The algorithm is based on an efficient filtering method and has an -time complexity in the worst case and -space complexity, where and are respectively the maximum length of the factors involved in any translocation and inversion. Moreover we show that under the assumptions of equiprobability and independence of characters our algorithm has a average time complexity, whenever , where and is the dimension of the alphabet. Experiments show that the new proposed algorithm achieves very good results in practical cases.
Keywords
Cite
@article{arxiv.1012.0280,
title = {String Matching with Inversions and Translocations in Linear Average Time (Most of the Time)},
author = {Szymon Grabowski and Simone Faro and Emanuele Giaquinta},
journal= {arXiv preprint arXiv:1012.0280},
year = {2013}
}
Comments
9 pages. A slightly shorter version of this manuscript was submitted to Information Processing Letters