首页> 外文期刊>Theoretical computer science >A new dichotomic algorithm for the uniform random generation of words in regular languages
【24h】

A new dichotomic algorithm for the uniform random generation of words in regular languages

机译:规则语言中单词均匀随机生成的新二分算法

获取原文
获取原文并翻译 | 示例
           

摘要

We present a new algorithm for generating uniformly at random words of any regular language L. When using floating point arithmetics, its bit-complexity is O(q lg~2 n) in space and O(qn lg~2 n) in time, where n stands for the length of the word, and q stands for the number of states of a finite deterministic automaton of L. We implemented the algorithm and compared its behavior to the state-of-the-art algorithms, on a set of large automata from the VLTS benchmark suite. Both theoretical and experimental results show that our algorithm offers an excellent compromise in terms of space and time requirements, compared to the known best alternatives. In particular, it is the only method that can generate long paths in large automata.
机译:我们提出了一种新算法,可在任意规则语言L的随机词上均匀生成。使用浮点算法时,其位复杂度在空间上为O(q lg〜2 n),在时间上为O(qn lg〜2 n),其中n代表单词的长度,q代表L的确定性自动机的状态数。我们在一组较大的集合上实现了该算法,并将其行为与最新算法进行了比较VLTS基准套件中的自动机。理论和实验结果均表明,与已知的最佳替代方案相比,我们的算法在空间和时间要求方面提供了出色的折衷方案。特别是,它是唯一可以在大型自动机中生成长路径的方法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号