Fast Computation of Abelian Runs
Gabriele Fici, Tomasz Kociumaka, Thierry Lecroq, Arnaud Lefebvre,, Elise Prieur-Gaston

TL;DR
This paper introduces efficient online algorithms for identifying all abelian runs in a word, significantly improving computational speed over previous methods, with applications in string analysis and pattern detection.
Contribution
It presents the first linear-time online algorithm for finding abelian runs with a given Parikh vector in a word, and also offers faster algorithms for specific period norms and an offline randomized approach.
Findings
Linear-time online algorithm for abelian runs with a given Parikh vector
Faster algorithms for abelian runs with fixed period norms
Quadratic-time offline randomized and deterministic algorithms
Abstract
Given a word and a Parikh vector , an abelian run of period in is a maximal occurrence of a substring of having abelian period . Our main result is an online algorithm that, given a word of length over an alphabet of cardinality and a Parikh vector , returns all the abelian runs of period in in time and space , where is the norm of , i.e., the sum of its components. We also present an online algorithm that computes all the abelian runs with periods of norm in in time , for any given norm . Finally, we give an -time offline randomized algorithm for computing all the abelian runs of . Its deterministic counterpart runs in time.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
