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

语法压缩文本的高效Lyndon分解

Efficient Lyndon factorization of grammar compressed text

Tomohiro I, Yuto Nakashima, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda

摘要:

我们提出了一个算法计算的Lyndon分解的字符串,给出了语法压缩形式,即,一个直线程序(SLP)。该算法在$O(n^4 + mn^3h)$时间和$O(n^2)$空间中运行,其中$m$是林登因子分解的大小,$n$是SLP的大小,并且$h$是SLP的导出树的高度。由于解压缩的字符串的长度可以是指数级的,$n, m$和$h$,我们的结果是第一个多项式时间的解决方案时,字符串是SLP。

英文摘要:

We present an algorithm for computing the Lyndon factorization of a string that is given in grammar compressed form, namely, a Straight Line Program (SLP). The algorithm runs in $O(n^4 + mn^3h)$ time and $O(n^2)$ space, where $m$ is the size of the Lyndon factorization, $n$ is the size of the SLP, and $h$ is the height of the derivation tree of the SLP. Since the length of the decompressed string can be exponentially large w.r.t. $n, m$ and $h$, our result is the first polynomial time solution when the string is given as SLP.

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

↑