Algorithms for Parameterized String Matching with Mismatches
Abstract
Two strings are considered to have parameterized matching when there exists a bijection of the parameterized alphabet onto itself such that it transforms one string to another. Parameterized matching has application in software duplication detection, image processing, and computational biology. We consider the problem for which a pattern , a text and a mismatch tolerance limit is given and the goal is to find all positions in text , for which pattern , parameterized matches with length substrings of with at most mismatches. Our main result is an algorithm for this problem with time complexity, where and which is improving for the algorithm by Hazay, Lewenstein and Sokol. We also present a hashing based probabilistic algorithm for this problem when with time complexity, which we believe is algorithmically beautiful.
Cite
@article{arxiv.2412.00222,
title = {Algorithms for Parameterized String Matching with Mismatches},
author = {Apurba Saha and Iftekhar Hakim Kaowsar and Mahdi Hasnat Siyam and M. Sohel Rahman},
journal= {arXiv preprint arXiv:2412.00222},
year = {2024}
}
Comments
17 pages, 2 figures