Title
k-difference matching in amortized linear time for all the words in a text
Abstract
Given a text x of length n, we study the problem of solving the k-difference problem for all the words, either with fixed or variable length, taken from the text itself. The result finds its application in pattern discovery in biosequences where over- or under-represented words are extracted from the input sequences. The proposed algorithm runs in amortized linear time per word. This improves the complexity obtained by applying well-known algorithms to each of the O(n) fixed length words or O(n2) variable length words in x by factor of k, klogk, or mlogm, depending on the chosen algorithm. The space required is O(n) if we just count the occurrences, or O(n2) if we also store the positions. This second scenario can be used as the basis for other applications, such as searching gapped factors with mismatches or approximate pattern matching extended to any word.
Year
DOI
Venue
2009
10.1016/j.tcs.2008.12.018
Theoretical Computer Science
Keywords
Field
DocType
String-matching problem,Words with mismatches
Discrete mathematics,Combinatorics,Time complexity,Mathematics
Journal
Volume
Issue
ISSN
410
8
0304-3975
Citations 
PageRank 
References 
5
0.48
7
Authors
1
Name
Order
Citations
PageRank
Cinzia Pizzi113915.73