arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1506.04486cs.DS
收藏

Error Tree: A Tree Structure for Hamming & Edit Distances & Wildcards Matching

Anas Al-Okaily

英文摘要:

Error Tree is a novel tree structure that is mainly oriented to solve the approximate pattern matching problems, Hamming and edit distances, as well as the wildcards matching problem. The input is a text of length $n$ over a fixed alphabet of length $Σ$, a pattern of length $m$, and $k$. The output is to find all positions that have $\leq$ $k$ Hamming distance, edit distance, or wildcards matching with $P$. The algorithm proposes for Hamming distance and wildcards matching a tree structure that needs $O(n\frac{log_Σ^{k}n}{k!})$ words and takes $O(\frac {m^k}{k!} + occ$)($O(m + \frac {log_Σ^kn}{k!} + occ$) in the average case) of query time for any online/offline pattern, where $occ$ is the number of outputs. As well, a tree structure of $O(2^{k}n\frac{log_Σ^{k}n}{k!})$ words and $O(\frac {m^k}{k!} + 3^{k}occ$)($O(m + \frac {log_Σ^kn}{k!} + 3^{k}occ$) in the average case) query time for edit distance for any online/offline pattern.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑