Skip to content
naulon
Not checkedNot checked for notices yet.

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

Ivan Katanic, Strahil Ristov, Martin Rosenzweig

IEEE Access · 2020

doi:10.1109/access.2020.3013676 (opens in a new tab)

We email you when a new notice or a question about this paper appears.

Abstract

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 &#x0398;(N<sup>2</sup> log N) time complexity, which makes it impractical for real-life applications. We present a new largest area first parsing method that has O(N<sup>3</sup>) 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 &#x03B1;. We present the analysis of the algorithm in terms of &#x03B1;, 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 <sup>3</sup>&#x221A;N.

Abstract licence: CC BY-NC-ND

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.