In this paper we propose a variant of the induced suffix sorting algorithm by Nong (TOIS, 2013) that computes simultaneously the Lyndon array and the suffix array of a text in $O(n)$ time using $\sigma + O(1)$ words of working space, where $n$ is the length of the text and $\sigma$ is the alphabet size. Our result improves the previous best space requirement for linear time computation of the Lyndon array. In fact, all the known linear algorithms for Lyndon array computation use suffix sorting as a preprocessing step and use $O(n)$ words of working space in addition to the Lyndon array and suffix array. Experimental results with real and synthetic datasets show that our algorithm is not only space-efficient but also fast in practice.


翻译:在本文中,我们提出了一个由Nong引导的后缀排序算法(TOIS,2013年)的变体,该算法同时计算林登阵列和以美元(n)计时文本的后缀阵列,使用工作空间的$(n) $(gma + O(1)) 单词计算,其中美元为文字长度,美元(sigma美元)为字母大小。我们的结果改进了先前对林登阵列线性时间计算的最佳空间要求。事实上,所有已知的林登阵列计算线性算法都使用前处理步骤的后缀排序,除了林登阵列和后缀阵列外,还使用美元(n) 工作空间的后缀字。真实和合成数据集的实验结果显示,我们的算法不仅具有空间效率,而且在实践中也非常快速。

0
下载
关闭预览

相关内容

Keras François Chollet 《Deep Learning with Python 》, 386页pdf
专知会员服务
164+阅读 · 2019年10月12日
开源书:PyTorch深度学习起步
专知会员服务
51+阅读 · 2019年10月11日
【新书】Python编程基础,669页pdf
专知会员服务
197+阅读 · 2019年10月10日
机器学习入门的经验与建议
专知会员服务
94+阅读 · 2019年10月10日
已删除
AI掘金志
7+阅读 · 2019年7月8日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
【 关关的刷题日记47】Leetcode 38. Count and Say
【LeetCode 136】 关关的刷题日记32 Single Number
【LeetCode 500】关关的刷题日记27 Keyboard Row
专知
3+阅读 · 2017年11月5日
Arxiv
7+阅读 · 2019年5月31日
Arxiv
3+阅读 · 2018年3月28日
Arxiv
3+阅读 · 2018年3月14日
Arxiv
3+阅读 · 2018年2月24日
Arxiv
29+阅读 · 2017年12月6日
VIP会员
最新内容
2025年大语言模型进展报告
专知会员服务
8+阅读 · 4月25日
多智能体协作机制
专知会员服务
8+阅读 · 4月25日
非对称优势:美海军开发低成本反无人机技术
专知会员服务
9+阅读 · 4月25日
《美战争部小企业创新研究(SBIR)计划》
专知会员服务
8+阅读 · 4月25日
《军事模拟:将军事条令与目标融入AI智能体》
专知会员服务
12+阅读 · 4月25日
【NTU博士论文】3D人体动作生成
专知会员服务
9+阅读 · 4月24日
以色列军事技术对美国军力发展的持续性赋能
专知会员服务
9+阅读 · 4月24日
《深度强化学习在兵棋推演中的应用》40页报告
专知会员服务
16+阅读 · 4月24日
《多域作战面临复杂现实》
专知会员服务
13+阅读 · 4月24日
《印度的多域作战:条令与能力发展》报告
专知会员服务
6+阅读 · 4月24日
相关资讯
已删除
AI掘金志
7+阅读 · 2019年7月8日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
【 关关的刷题日记47】Leetcode 38. Count and Say
【LeetCode 136】 关关的刷题日记32 Single Number
【LeetCode 500】关关的刷题日记27 Keyboard Row
专知
3+阅读 · 2017年11月5日
相关论文
Arxiv
7+阅读 · 2019年5月31日
Arxiv
3+阅读 · 2018年3月28日
Arxiv
3+阅读 · 2018年3月14日
Arxiv
3+阅读 · 2018年2月24日
Arxiv
29+阅读 · 2017年12月6日
Top
微信扫码咨询专知VIP会员