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

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

计算机科学 > 形式语言与自动机理论

arXiv:1211.0303 (cs)
[提交于 2012年11月5日]

标题:Non-redundant random generation algorithms for weighted context-free languages

作者:Andy Lorenz, Yann Ponty
查看论文《Non-redundant random generation algorithms for weighted context-free languages》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We address the non-redundant random generation of $k$ words of length $n$ in a context-free language. Additionally, we want to avoid a predefined set of words. We study a rejection-based approach, whose worst-case time complexity is shown to grow exponentially with $k$ for some specifications and in the limit case of a coupon collector. We propose two algorithms respectively based on the recursive method and on an unranking approach. We show how careful implementations of these algorithms allow for a non-redundant generation of $k$ words of length $n$ in $\mathcal{O}(k\cdot n\cdot \log{n})$ arithmetic operations, after a precomputation of $\Theta(n)$ numbers. The overall complexity is therefore dominated by the generation of $k$ words, and the non-redundancy comes at a negligible cost.
评论: arXiv admin note: text overlap with arXiv:1012.4560
主题: 形式语言与自动机理论 (cs.FL); 离散数学 (cs.DM); 数据结构与算法 (cs.DS)
引用方式: arXiv:1211.0303 [cs.FL]
  (或者 arXiv:1211.0303v1 [cs.FL] 对于此版本)
  https://doi.org/10.48550/arXiv.1211.0303

提交历史

来自:Yann Ponty
[v1] 2012年11月5日 星期一 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.FL
< 上一篇   |   下一篇 >
最新 | 近期 | 2012-11
切换浏览方式为:
cs
cs.DM
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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