arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.02526cs.DS
收藏

前缀排序确定有限自动机(DFAs):一种递归算法

Prefix Sorting DFAs: a Recursive Algorithm

Nicola Cotumaccio

AI总结:

本文受Farach后缀树构建算法启发,提出一种$O(n^2)$时间复杂度的递归算法,改进了DFA后缀数组的构建时间界,并深化了对图的字典序与组合结构的理解,助力图后缀树构建这一长期开放问题的研究。

摘要:

在过去三十年中,研究者已提出大量构建字符串后缀数组的算法。2021年,后缀数组的概念从字符串扩展到了DFA(确定有限自动机),且研究表明该数据结构可在$O(m^2 + n^{5/2})$时间内构建完成,其中$n$为状态数,$m$为边数[SODA 2021]。近期,又有研究提出了运行时间为$O(mn)$和$O(n^2\text{log}n)$的算法[CPM 2023]。\n 本文受Farach构建后缀树的算法[FOCS 1997]启发,提出了一种时间复杂度为$O(n^2)$的递归算法,改进了此前的时间复杂度界。为此,本文深入剖析了图丰富的字典序与组合结构,为解决构建图后缀树这一长期悬而未决的开放问题的研究进程提供了助力。

英文摘要:

In the past thirty years, numerous algorithms for building the suffix array of a string have been proposed. In 2021, the notion of suffix array was extended from strings to DFAs, and it was shown that the resulting data structure can be built in $ O(m^2 + n^{5/2}) $ time, where $ n $ is the number of states and $ m $ is the number of edges [SODA 2021]. Recently, algorithms running in $ O(mn) $ and $ O(n^2\log n) $ time have been described [CPM 2023]. In this paper, we improve the previous bounds by proposing an $ O(n^2) $ recursive algorithm inspired by Farach's algorithm for building a suffix tree [FOCS 1997]. To this end, we provide insight into the rich lexicographic and combinatorial structure of a graph, so contributing to the fascinating journey which might lead to solve the long-standing open problem of building the suffix tree of a graph.

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

↑