Sliding suffix trees simplified

07/04/2023
by   Laurentius Leonard, et al.
0

Sliding suffix trees (Fiala Greene, 1989) for an input text T over an alphabet of size σ and a sliding window W of T can be maintained in O(|T| logσ) time and O(|W|) space. The two previous approaches that achieve this can be categorized into the credit-based approach of Fiala and Greene (1989) and Larsson (1996, 1999), or the batch-based approach proposed by Senft (2005). Brodnik and Jekovec (2018) showed that the sliding suffix tree can be supplemented with leaf pointers in order to find all occurrences of an online query pattern in the current window, and that leaf pointers can be maintained by credit-based arguments as well. The main difficulty in the credit-based approach is in the maintenance of index-pairs that represent each edge. In this paper, we show that valid edge index-pairs can be derived in constant time from leaf pointers, thus reducing the maintenance of edge index-pairs to the maintenance of leaf pointers. We further propose a new simple method which maintains leaf pointers without using credit-based arguments. Our algorithm and proof of correctness are much simpler compared to the credit-based approach, whose analyses were initially flawed (Senft 2005).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/03/2020

Computing Palindromic Trees for a Sliding Window and Its Applications

The palindromic tree (a.k.a. eertree) for a string S of length n is a tr...
research
01/23/2023

Sliding Window String Indexing in Streams

Given a string S over an alphabet Σ, the 'string indexing problem' is to...
research
12/01/2018

VATE: a trade-off between memory and preserving time for high accuracy cardinalities estimation under sliding time window

Host cardinality is one of the important attributes in the field of netw...
research
04/18/2018

On Abelian Longest Common Factor with and without RLE

We consider the Abelian longest common factor problem in two scenarios: ...
research
02/21/2018

Randomized sliding window algorithms for regular languages

A sliding window algorithm receives a stream of symbols and has to outpu...
research
10/16/2018

hα: The Scientist as Chimpanzee or Bonobohα: The Scientist as Chimpanzee or Bonobo

In a recent paper, Hirsch (2018) proposes to attribute the credit for a ...
research
03/18/2010

Sliding window approach based Text Binarisation from Complex Textual images

Text binarisation process classifies individual pixels as text or backgr...

Please sign up or login with your details

Forgot password? Click here to reset