hrvatski jezikClear Cookie - decide language by browser settings

A Fast Algorithm for the Largest Area First Parsing of Real Strings

Katanić, Ivan; Ristov, Strahil; Rosenzweig, Martin (2020) A Fast Algorithm for the Largest Area First Parsing of Real Strings. IEEE access, 8 . pp. 141990-142002. ISSN 2169-3536

PDF - Published Version - article
Available under License Creative Commons Attribution.

Download (6MB) | Preview


The largest area first parsing of a string often leads to the best results in grammar compression for a variety of input data. However, the fastest existing algorithm has Θ(N2logN) time complexity, which makes it impractical for real-life applications. We present a new largest area first parsing method that has O(N3) complexity in the improbable worst case but works in the quasilinear time for most practical purposes. This result is based on the fact that in the real data, the sum of all depths of an LCP-interval tree, over all of the positions in a suffix array of an input string, is only larger than the size of the input by a small factor α . We present the analysis of the algorithm in terms of α , and the experimental results confirm that our method is practical even for genome sized inputs. We provide the C ++ 11 code for the implementation of our method. Additionally, we show that by a combination of the previous and new algorithms, the worst-case complexity of the largest area first parsing is improved by a factor of N−−√3 .

Item Type: Article
Uncontrolled Keywords: greedy grammar compression ; largest area first parsing ; dynamic text indexing ; enhanced suffix array
Subjects: TECHNICAL SCIENCES > Computing
Divisions: Division of Electronics
Project titleProject leaderProject codeProject type
Napredne metode i tehnologije u znanosti o podatcima i kooperativnim sustavimaUNSPECIFIEDUNSPECIFIEDEK
Napredni deterministički i hibridni algoritmi na nizovima, sljedovima i stablima s primjenama u tehničkim znanostima i znanostima o životuRistov, StrahilIP-2018-01-7317HRZZ
Depositing User: Strahil Ristov
Date Deposited: 25 Nov 2021 09:10
DOI: 10.1109/access.2020.3013676

Actions (login required)

View Item View Item


Downloads per month over past year

Increase Font
Decrease Font
Dyslexic Font