首页> 外文会议>International Conference on Future Computer and Communication >Algorithms for Generating Binary Reflected Gray Code Sequence: Time Efficient Approaches
【24h】

Algorithms for Generating Binary Reflected Gray Code Sequence: Time Efficient Approaches

机译:生成二进制反射灰码序列的算法:时间有效的方法

获取原文

摘要

In this paper, we propose two algorithms for generating a complete n-bit binary reflected gray code sequence. The first one is called Backtracking. It generates a complete n-bit binary reflected gray code sequence by generating only a sub-tree instead of the complete tree. In this approach, both the sequence and its reflection for n-bit is generated by concatenating a ldquo0rdquo and a ldquo1rdquo to the most significant bit position of the n-1 bit result generated at each leaf node of the sub-tree. The second one is called MOptimal. It is the modification of a space and time optimal approach [8] by considering the minimization of the total number of outer and inner loop execution for this purpose. In this method, both a sequence and its reflection for n-bit is also generated during each inner loop execution instead of generating only one sequence by adding ldquo0rdquo and ldquo2n-1rdquo to the previous n-1 bit sequence. Finally, we evaluate the performance of the proposed and existing algorithms by measuring the execution time with respect to number of bits and compare the results with each other. Simulation results demonstrate that Backtracking takes small execution time up to 10 bits with maximum improvement of 17.02%. The evaluation also demonstrates that MOptimal also takes small execution time for more than 15 bits showing an improvement of 2.10% for 23 bits.
机译:在本文中,我们提出了两种用于生成完整的n位二进制反射灰码序列的算法。第一个被称为回溯。它通过仅生成一个子树而不是完整的树来生成完整的n位二进制反映的灰色代码序列。在这种方法中,通过将LDQUO0RDQUO和LDQUO1RDQU连接到子树的每个叶节点在每个叶节点处产生的N-1比特结果的最高有效位位置来生成序列及其对N比特的反射。第二个被称为moptimal。通过考虑为此目的的最小化和内循环执行的最小化,它是空间和时间最佳方法[8]的修改。在该方法中,在每个内循环执行期间也产生序列及其对n位的反射,而不是通过将Ldquo0rdquo和Ldquo2n-1rdquo添加到先前的n-1比特序列来生成一个序列。最后,我们通过测量相对于位数的执行时间来评估所提出的和现有算法的性能,并将结果彼此进行比较。仿真结果表明,回溯需要小的执行时间,高达10位,最大限度地提高为17.02%。评价还表明,MOPTIMAL也需要超过15位的小执行时间,显示23位的提高2.10%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号