Error Tree: A Tree Structure for Hamming & Edit Distances & Wildcards Matching
arXiv:1506.04486 · doi:10.1089/cmb.2015.0132
Abstract
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 over a fixed alphabet of length , a pattern of length , and . The output is to find all positions that have Hamming distance, edit distance, or wildcards matching with . The algorithm proposes for Hamming distance and wildcards matching a tree structure that needs words and takes )() in the average case) of query time for any online/offline pattern, where is the number of outputs. As well, a tree structure of words and )() in the average case) query time for edit distance for any online/offline pattern.