一种改进的准格雷码生成方法
Improved Methods For Generating Quasi-Gray Codes
摘要:
考虑一个长度为d的位串序列,使得每个字符串与下一个字符串的位数不同。我们称这个序列为准格雷码。我们研究的问题,有效地生成这样的代码,通过考虑在每个生成步骤中读取和写入的位数,同时生成整个代码读取的位的平均数,以及在代码中生成的字符串的数量。我们的研究结果给出了这些约束之间的权衡,并提出了算法,平均比以前的结果做更少的工作,并增加了生成的位串的数量。
英文摘要:
Consider a sequence of bit strings of length d, such that each string differs from the next in a constant number of bits. We call this sequence a quasi-Gray code. We examine the problem of efficiently generating such codes, by considering the number of bits read and written at each generating step, the average number of bits read while generating the entire code, and the number of strings generated in the code. Our results give a trade-off between these constraints, and present algorithms that do less work on average than previous results, and that increase the number of bit strings generated.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。