arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.12696cs.DS
收藏

动态字符串的最长公共扩展并行常数时间算法

Longest Common Extension of a Dynamic String in Parallel Constant Time

TU Dortmund University(多特蒙德工业大学)

Daniel Albert

AI总结:

本文提出一种动态并行常数时间算法,通过维护同步集层次结构,实现字符串的最长公共扩展查询,支持字符插入和删除操作,并应用于Dyck语言和平方检测。

摘要:

一个最长公共扩展(LCE)查询在一个字符串上计算两个给定位置的最长公共后缀或前缀的长度。一个动态LCE算法维护一个数据结构,允许在可变字符串上进行高效的LCE查询。本文提出一种动态并行常数时间算法,可以在具有$\mathcal{O}(n^ε)$工作量的常见CRCW PRAM上维护LCE查询,对于任何$ε>0$。该算法维护一个同步集层次结构,用于回答子串相等性查询,进而用于回答LCE查询。为了实现常数运行时间,该算法允许其信息最多$\log n \log^* n$次更新变得过时。它通过结合略微过时的信息和最近的更改列表来回答查询。该动态LCE算法的两个应用是:首先,一个动态并行常数时间算法可以以$\mathcal{O}(n^ε)$的工作量维护Dyck语言$D_k$的成员资格,对于任何$ε>0$。其次,一个动态并行常数时间算法可以以$\mathcal{O}(n^ε)$的工作量维护平方。

英文摘要:

A longest common extension (LCE) query on a string computes the length of the longest common suffix or prefix at two given positions. A dynamic LCE algorithm maintains a data structure that allows efficient LCE queries on a string that can change via character insertions and deletions. A dynamic parallel constant-time algorithm is presented that can maintain LCE queries on a common CRCW PRAM with $\mathcal{O}(n^ε)$ work, for any $ε> 0$. The algorithm maintains a string synchronizing sets hierarchy, which it uses to answer substring equality queries, which it in turn uses to answer LCE queries. To achieve constant runtime, the algorithm allows parts of its information to become outdated by up to $\log n \log^* n$ updates. It answers queries by combining this slightly outdated information with a list of the recent changes. Two applications of this dynamic LCE algorithm are shown. Firstly, a dynamic parallel constant-time algorithm can maintain membership in a Dyck language $D_k, k > 0$ with $\mathcal{O}(n^ε)$ work for any $ε> 0$. Secondly, a dynamic parallel constant-time algorithm can maintain squares with $\mathcal{O}(n^ε)$ work for any $ε> 0$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑