跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:2002.08004 (cs)
[提交于 2020年2月19日 (v1),最后修订于 2020年4月13日 (此版本, v2)]

标题:Fast and linear-time string matching algorithms based on the distances of $q$-gram occurrences

作者:Satoshi Kobayashi, Diptarama Hendrian, Ryo Yoshinaka, Ayumi Shinohara
查看论文《Fast and linear-time string matching algorithms based on the distances of $q$-gram occurrences》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Given a text $T$ of length $n$ and a pattern $P$ of length $m$, the string matching problem is a task to find all occurrences of $P$ in $T$. In this study, we propose an algorithm that solves this problem in $O((n + m)q)$ time considering the distance between two adjacent occurrences of the same $q$-gram contained in $P$. We also propose a theoretical improvement of it which runs in $O(n + m)$ time, though it is not necessarily faster in practice. We compare the execution times of our and existing algorithms on various kinds of real and artificial datasets such as an English text, a genome sequence and a Fibonacci string. The experimental results show that our algorithm is as fast as the state-of-the-art algorithms in many cases, particularly when a pattern frequently appears in a text.
评论: 14 pages, accepted to SEA 2020
主题: 数据结构与算法 (cs.DS)
引用方式: arXiv:2002.08004 [cs.DS]
  (或者 arXiv:2002.08004v2 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.08004

提交历史

来自:Diptarama Hendrian
[v1] 2020年2月19日 星期三 04:58:41 UTC
[v2] 2020年4月13日 星期一 00:44:56 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-04
切换浏览方式为:
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站