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

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

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

arXiv:1908.05930 (cs)
[提交于 2019年8月16日]

标题:Efficient Online String Matching Based on Characters Distance Text Sampling

作者:Simone Faro, Arianna Pavone, Francesco Pio Marino
查看论文《Efficient Online String Matching Based on Characters Distance Text Sampling》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Searching for all occurrences of a pattern in a text is a fundamental problem in computer science with applications in many other fields, like natural language processing, information retrieval and computational biology. Sampled string matching is an efficient approach recently introduced in order to overcome the prohibitive space requirements of an index construction, on the one hand, and drastically reduce searching time for the online solutions, on the other hand. In this paper we present a new algorithm for the sampled string matching problem, based on a characters distance sampling approach. The main idea is to sample the distances between consecutive occurrences of a given pivot character and then to search online the sampled data for any occurrence of the sampled pattern, before verifying the original text. From a theoretical point of view we prove that, under suitable conditions, our solution can achieve both linear worst-case time complexity and optimal average-time complexity. From a practical point of view it turns out that our solution shows a sub-linear behaviour in practice and speeds up online searching by a factor of up to 9, using limited additional space whose amount goes from 11% to 2.8% of the text size, with a gain up to 50% if compared with previous solutions.
主题: 数据结构与算法 (cs.DS)
引用方式: arXiv:1908.05930 [cs.DS]
  (或者 arXiv:1908.05930v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.1908.05930

提交历史

来自:Simone Faro
[v1] 2019年8月16日 星期五 11:11:06 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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