← 研踪 PaperTrailarXiv:2412.00222 · v2
Exact Distances for Parameterized String Matching with Mismatches
首次提交 2024-11-30 03:31
版本更新 2026-11-12 07:06
雷达观测 2026-11-13 14:16
摘要
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 are given and the goal is to find all positions in text for which pattern parameterized matches with -length substrings of with at most mismatches. The number of mismatches is the Hamming distance under the best bijection, which we call the parameterized distance. Our main result is an algorithm that computes the parameterized distance at every position of the text, and hence solves this problem for every at once. Its running time is , where , , and are the numbers of parameterized and static characters, and is the time to compute one maximum weight matching in a bipartite graph with vertices. With the algorithm of Gabow and Tarjan, . Since this bound does not depend on , our algorithm improves the algorithm by Hazay, Lewenstein and Sokol for .
作者备注:14 pages, 3 figures
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v2 · 2026-11-12 07:06 · 最新观测版本
Exact Distances for Parameterized String Matching with Mismatches
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 are given and the goal is to find all positions in text for which pattern parameterized matches with -length substrings of with at most mismatches. The number of mismatches is the Hamming distance under the best bijection, which we call the parameterized distance. Our main result is an algorithm that computes the parameterized distance at every position of the text, and hence solves this problem for every at once. Its running time is , where , , and are the numbers of parameterized and static characters, and is the time to compute one maximum weight matching in a bipartite graph with vertices. With the algorithm of Gabow and Tarjan, . Since this bound does not depend on , our algorithm improves the algorithm by Hazay, Lewenstein and Sokol for .
查看此版本解读 →查看此版本原文 ↗