The normalized substring complexity $δ$ of a string is defined as $\max_k \{c[k]/k\}$, where $c[k]$ is the number of \textit{distinct} substrings of length $k$. This simply defined measure has recently attracted attention due to its established relationship to popular string compression algorithms. We consider the problem of computing $δ$ online, when the string is provided from a stream. We present two algorithms solving the problem: one working in $O(\log n)$ amortized time per character, and the other in $O(\log^3 n)$ worst-case time per character. To our knowledge, this is the first polylog-time online solution to this problem.


翻译:字符串的归一化子串复杂度 $δ$ 定义为 $\max_k \{c[k]/k\}$,其中 $c[k]$ 是长度为 $k$ 的\textit{互异}子串的数量。这一简洁定义的方法因其与主流字符串压缩算法之间已确立的关系,近来受到关注。我们研究了在字符串以流形式提供时在线计算 $δ$ 的问题。我们提出了两种解决该问题的算法:一种算法在每个字符上的均摊时间为 $O(\log n)$,另一种算法在每个字符上的最坏情况时间为 $O(\log^3 n)$。据我们所知,这是该问题的首个多对数时间在线解决方案。

0
下载
关闭预览

相关内容

【2023新书】算法与设计复杂度,196页pdf
专知会员服务
77+阅读 · 2023年3月31日
专知会员服务
37+阅读 · 2021年9月12日
【2022新书】深度学习归一化技术,117页pdf
专知
29+阅读 · 2022年11月25日
【AAAI2021】对比聚类,Contrastive Clustering
专知
26+阅读 · 2021年1月30日
今日头条广告算法面经!
算法与数据结构
25+阅读 · 2019年5月29日
使用 Canal 实现数据异构
性能与架构
20+阅读 · 2019年3月4日
详解GAN的谱归一化(Spectral Normalization)
PaperWeekly
11+阅读 · 2019年2月13日
超全总结:神经网络加速之量化模型 | 附带代码
线性回归:简单线性回归详解
专知
12+阅读 · 2018年3月10日
各种相似性度量及Python实现
机器学习算法与Python学习
11+阅读 · 2017年7月6日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 1月23日
VIP会员
相关VIP内容
相关资讯
【2022新书】深度学习归一化技术,117页pdf
专知
29+阅读 · 2022年11月25日
【AAAI2021】对比聚类,Contrastive Clustering
专知
26+阅读 · 2021年1月30日
今日头条广告算法面经!
算法与数据结构
25+阅读 · 2019年5月29日
使用 Canal 实现数据异构
性能与架构
20+阅读 · 2019年3月4日
详解GAN的谱归一化(Spectral Normalization)
PaperWeekly
11+阅读 · 2019年2月13日
超全总结:神经网络加速之量化模型 | 附带代码
线性回归:简单线性回归详解
专知
12+阅读 · 2018年3月10日
各种相似性度量及Python实现
机器学习算法与Python学习
11+阅读 · 2017年7月6日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员