paper

Algorithms for Parameterized String Matching with Mismatches

arXiv:2412.00222

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.

17 pages, 2 figures

Algorithms for Parameterized String Matching with Mismatches · wovepaper