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.

生成讲解博客的中文版本

生成AI智能校验的中文版本