TY - GEN
T1 - Computing Consecutively Maximal Periodic Patterns Over APT Compressed Data
AU - Levy, Avivit
AU - Shapira, Dana
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025
Y1 - 2025
N2 - 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)$.
AB - 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)$.
KW - arithmetic progression
KW - compact data structure
KW - monotonic sequences
KW - periodic pattern
UR - http://www.scopus.com/inward/record.url?scp=105006825553&partnerID=8YFLogxK
U2 - 10.1109/DCC62719.2025.00028
DO - 10.1109/DCC62719.2025.00028
M3 - ???researchoutput.researchoutputtypes.contributiontobookanthology.conference???
AN - SCOPUS:105006825553
T3 - Data Compression Conference Proceedings
SP - 203
EP - 212
BT - Proceedings - DCC 2025
A2 - Bilgin, Ali
A2 - Fowler, James E.
A2 - Serra-Sagrista, Joan
A2 - Ye, Yan
A2 - Storer, James A.
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 2025 Data Compression Conference, DCC 2025
Y2 - 18 March 2025 through 21 March 2025
ER -