A Black Box for Online Approximate Pattern Matching

CPM '08 Proceedings of the 19th annual symposium on Combinatorial Pattern Matching(2008)

引用 19|浏览21
暂无评分
摘要
We present a deterministic black box solution for online approximate matching. Given a pattern of length m and a streaming text of length n that arrives one character at a time, the task is to report the distance between the pattern and a sliding window of the text as soon as the new character arrives. Our solution requires \(O(\Sigma_{j=1}^{\log_2{m}} T(n,2^{j-1})/n)\) time for each input character, where T(n,m) is the total running time of the best offline algorithm. The types of approximation that are supported include exact matching with wildcards, matching under the Hamming norm, approximating the Hamming norm, k-mismatch and numerical measures such as the L 2 and L 1 norms. For these examples, the resulting online algorithms take O(log2 m), \(O(\sqrt{m\log{m}})\), O(log2 m/ε 2), \(O(\sqrt{k \log k} \log{m})\), O(log2 m) and \(O(\sqrt{m\log{m}})\) time per character respectively. The space overhead is O(m) which we show is optimal.
更多
查看译文
关键词
Fast Fourier Transform,Online Algorithm,String Match,Input Character,Approximate Match
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要