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

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

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

arXiv:2109.05290 (cs)
[提交于 2021年9月11日]

标题:The Labeled Direct Product Optimally Solves String Problems on Graphs

作者:Nicola Rizzo, Alexandru I. Tomescu, Alberto Policriti
查看论文《The Labeled Direct Product Optimally Solves String Problems on Graphs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Suffix trees are an important data structure at the core of optimal solutions to many fundamental string problems, such as exact pattern matching, longest common substring, matching statistics, and longest repeated substring. Recent lines of research focused on extending some of these problems to vertex-labeled graphs, although using ad-hoc approaches which in some cases do not generalize to all input graphs. In the absence of a ubiquitous tool like the suffix tree for labeled graphs, we introduce the labeled direct product of two graphs as a general tool for obtaining optimal algorithms: we obtain conceptually simpler algorithms for the quadratic problems of string matching (SMLG) and longest common substring (LCSP) in labeled graphs. Our algorithms are also more efficient, since they run in time linear in the size of the labeled product graph, which may be smaller than quadratic for some inputs, and their run-time is predictable, because the size of the labeled direct product graph can be precomputed efficiently. We also solve LCSP on graphs containing cycles, which was left as an open problem by Shimohira et al. in 2011. To show the power of the labeled product graph, we also apply it to solve the matching statistics (MSP) and the longest repeated string (LRSP) problems in labeled graphs. Moreover, we show that our (worst-case quadratic) algorithms are also optimal, conditioned on the Orthogonal Vectors Hypothesis. Finally, we complete the complexity picture around LRSP by studying it on undirected graphs.
评论: 19 pages, 8 figures
主题: 数据结构与算法 (cs.DS); 计算复杂性 (cs.CC)
引用方式: arXiv:2109.05290 [cs.DS]
  (或者 arXiv:2109.05290v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.2109.05290
期刊参考: Algorithmica (2022) 1-26
相关 DOI: https://doi.org/10.1007/s00453-022-00989-x

提交历史

来自:Nicola Rizzo
[v1] 2021年9月11日 星期六 14:28:26 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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