Computing Consecutively Maximal Periodic Patterns Over APT Compressed Data

Avivit Levy, Dana Shapira

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The Arithmetic Progressions Tree (APT) is a data structure storing an encoding of a monotonic sequence $\mathcal{L}$ in $[1..n]$. While previous work on $\mathsf{APT}$ focused on its theoretical and experimental compression guarantees, recently, it was shown that searches of sub-sequences, runs and periodic patterns over the $\mathsf{APT}$ compressed data can be applied. This paper extends the set of supported operations and focuses on the computation of consecutively maximal periodic patterns directly over the APT. In particular, given the $\mathsf{APT}$ compressed representation of $\mathcal{L}$, we show how: (1)One can find if a consecutive periodic pattern with difference $d_{P}$ is represented by an $\mathsf{APT}$ node in time $O(\log n)$ and if positive, report its occurrences in $\mathcal{L}$ in time proportional to the output size multiplied by $\log d_{P}$ and the size of the $\mathsf{APT}$ compressed representation of $\mathcal{L}$, while assuring that every reported consecutive occurrence is consecutively maximal. (2)Given a query periodic pattern difference, $d_{P}$, we can give a one-sided $O(\log d_{P})$ -additive approximation for the length of the consecutively maximal periodic pattern with difference $d_{P}$ that occurs in $\mathcal{L}$ in time $O(\log n)$. (3)We give a one-sided $O(\log n)$ -additive approximation for the maximum length of a consecutively maximal periodic pattern that occurs in $\mathcal{L}$ in time $O(\sqrt{n}\log n)$.

Original languageEnglish
Title of host publicationProceedings - DCC 2025
Subtitle of host publication2025 Data Compression Conference
EditorsAli Bilgin, James E. Fowler, Joan Serra-Sagrista, Yan Ye, James A. Storer
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages203-212
Number of pages10
ISBN (Electronic)9798331534714
DOIs
StatePublished - 2025
Event2025 Data Compression Conference, DCC 2025 - Snowbird, United States
Duration: 18 Mar 202521 Mar 2025

Publication series

NameData Compression Conference Proceedings
ISSN (Print)1068-0314

Conference

Conference2025 Data Compression Conference, DCC 2025
Country/TerritoryUnited States
CitySnowbird
Period18/03/2521/03/25

Keywords

  • arithmetic progression
  • compact data structure
  • monotonic sequences
  • periodic pattern

Fingerprint

Dive into the research topics of 'Computing Consecutively Maximal Periodic Patterns Over APT Compressed Data'. Together they form a unique fingerprint.

Cite this