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

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

计算机科学 > 计算与语言

arXiv:2110.00776 (cs)
[提交于 2021年10月5日]

标题:Minimizing LR(1) State Machines is NP-Hard

作者:Wuu Yang
查看论文《Minimizing LR(1) State Machines is NP-Hard》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:LR(1) parsing was a focus of extensive research in the past 50 years. Though most fundamental mysteries have been resolved, a few remain hidden in the dark corners. The one we bumped into is the minimization of the LR(1) state machines, which we prove is NP-hard. It is the node-coloring problem that is reduced to the minimization puzzle. The reduction makes use of two technique: indirect reduction and incremental construction. Indirect reduction means the graph to be colored is not reduced to an LR(1) state machine directly. Instead, it is reduced to a context-free grammar from which an LR(1) state machine is derived. Furthermore, by considering the nodes in the graph to be colored one at a time, the context-free grammar is incrementally extended from a template context-free grammar that is for a two-node graph. The extension is done by adding new grammar symbols and rules. A minimized LR(1) machine can be used to recover a minimum coloring of the original graph.
评论: 15 pages, 4 appendices, 14 figures. A preliminary version of this paper appeared in Proc. 14th International Conf. Autonomic and Autonomous Systems (ICAS 2018) May 20-24, 2018, Nice, France
主题: 计算与语言 (cs.CL); 计算复杂性 (cs.CC); 形式语言与自动机理论 (cs.FL); 程序设计语言 (cs.PL)
引用方式: arXiv:2110.00776 [cs.CL]
  (或者 arXiv:2110.00776v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2110.00776

提交历史

来自:Wuu Yang
[v1] 2021年10月5日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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