Algorithms for Computing Abelian Periods of Words

Abstract

Constantinescu and Ilie (Bulletin EATCS 89, 167--170, 2006) introduced the notion of an Abelian period of a word. A word of length n over an alphabet of size σ can have (n2) distinct Abelian periods. The Brute-Force algorithm computes all the Abelian periods of a word in time O(n2 × σ) using O(n × σ) space. We present an off-line algorithm based on a function having the same worst-case theoretical complexity as the Brute-Force one, but outperforming it in practice. We then present on-line algorithms that also enable to compute all the Abelian periods of all the prefixes of w.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…