首页> 外文会议>International conference on computational science and its applications;ICCSA 2010 >Efficient Generation of Gray Codes for Reflectable Languages
【24h】

Efficient Generation of Gray Codes for Reflectable Languages

机译:有效生成可反射语言的格雷码

获取原文

摘要

Y. Li and J. Sawada classified a type of language called a reflectable language [Inform. Process. Lett. 109 (2009) 296-300], and gave a generic recursive algorithm GrayCode to list all strings of length n for any reflectable language in Gray code order. GrayCode runs in O(n) worst-case time per string for any application. Based on Williamson's algorithm for k-ary strings, a generic non-recursive algorithm GenericNext is proposed in this paper to list all strings of length for any reflectable language in Gray code order, but the worst-case time is 0(1) per string for all the applications mentioned in Y. Li and J. Sawada's paper.
机译:Y. Li和J. Sawada对一种语言进行了分类,称为可反射语言[Inform。过程。来吧109(2009)296-300],并给出了通用递归算法GrayCode,以格雷码顺序列出任何可反射语言的长度为n的所有字符串。对于任何应用程序,GrayCode在每个字符串的最坏情况下的运行时间为O(n)。基于威廉姆森的k进制字符串算法,本文提出了一种通用的非递归算法GenericNext,以格雷码顺序列出任何可反射语言的所有长度的字符串,但最坏情况的时间是每个字符串0(1)适用于Y. Li和J. Sawada论文中提到的所有应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号