Dynamic direct (ranked) access of MSO query evaluation over SLP-compressed strings

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autor principal: Muñoz, Martín
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917338865991680
author Muñoz, Martín
author_facet Muñoz, Martín
contents We present an algorithm that, given an index $t$, produces the $t$-th (lexicographically ordered) answer of an MSO query over a string. The algorithm requires linear-time preprocessing, and builds a data structure that answers each of these calls in logarithmic time. We then show how to extend this algorithm for a string that is compressed by a straight-line program (SLP), also with linear-time preprocessing in the (compressed encoding of the) string, and maintaining direct access in logtime of the original string. Lastly, we extend the algorithm by allowing complex edits on the SLP after the direct-access data structure has been processsed, which are translated into the data structure in logtime. We do this by adapting a document editing framework introduced by Schmid and Schweikardt (PODS 2022). This work improves on a recent result of dynamic direct access of MSO queries over strings (Bourhis et. al., ICDT 2025) by a log-factor on the access procedure, and by extending the results to SLPs.
format Preprint
id arxiv_https___arxiv_org_abs_2603_13058
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Dynamic direct (ranked) access of MSO query evaluation over SLP-compressed strings
Muñoz, Martín
Data Structures and Algorithms
Databases
Formal Languages and Automata Theory
Logic in Computer Science
We present an algorithm that, given an index $t$, produces the $t$-th (lexicographically ordered) answer of an MSO query over a string. The algorithm requires linear-time preprocessing, and builds a data structure that answers each of these calls in logarithmic time. We then show how to extend this algorithm for a string that is compressed by a straight-line program (SLP), also with linear-time preprocessing in the (compressed encoding of the) string, and maintaining direct access in logtime of the original string. Lastly, we extend the algorithm by allowing complex edits on the SLP after the direct-access data structure has been processsed, which are translated into the data structure in logtime. We do this by adapting a document editing framework introduced by Schmid and Schweikardt (PODS 2022). This work improves on a recent result of dynamic direct access of MSO queries over strings (Bourhis et. al., ICDT 2025) by a log-factor on the access procedure, and by extending the results to SLPs.
title Dynamic direct (ranked) access of MSO query evaluation over SLP-compressed strings
topic Data Structures and Algorithms
Databases
Formal Languages and Automata Theory
Logic in Computer Science
url https://arxiv.org/abs/2603.13058