计算机科学 > 数据结构与算法
[提交于 2026年3月13日]
标题:Dynamic direct (ranked) access of MSO query evaluation over SLP-compressed strings
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要: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.
提交历史
来自:Martín Muñoz[v1] 2026年3月13日 星期五 15:07:21 UTC