We consider a sliding windowW over a stream of characters from some alphabet of constant size. We want to look up a pattern in the current sliding window content and obtain all positions of the matches. We present an indexed version of the sliding window, based on a suffix tree. The data structure of size Θ(|W|) has optimal time queries Θ(m + occ) and amortized constant time updates, where m is the length of the query string and occ is its number of occurrences.
CITATION STYLE
Brodnik, A., & Jekovec, M. (2018). Sliding suffix tree. Algorithms, 11(8). https://doi.org/10.3390/a11080118
Mendeley helps you to discover research relevant for your work.