arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.06707cs.DMcs.DS
收藏

无环格雷码枚举与布加勒斯特塔

Loopless Gray Code Enumeration and the Tower of Bucharest

Felix Herter, Günter Rote

摘要:

我们给出了新的算法生成所有的n元组的字母表的m个字母,改变只有一个字母的时间(格雷码)。这些算法的基础上的连接与变化的塔的河内游戏。我们的算法是无环的,在这个意义上,下一个变化可以在一个恒定的步骤数确定,它们可以在硬件中实现。我们还给出了另一个家庭的无环算法,这是基于提前工作的想法,并保存在缓冲区中的工作。

英文摘要:

We give new algorithms for generating all n-tuples over an alphabet of m letters, changing only one letter at a time (Gray codes). These algorithms are based on the connection with variations of the Towers of Hanoi game. Our algorithms are loopless, in the sense that the next change can be determined in a constant number of steps, and they can be implemented in hardware. We also give another family of loopless algorithms that is based on the idea of working ahead and saving the work in a buffer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑