arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.01129cs.DM
收藏

有序树的Gray码

A Gray Code of Ordered Trees

Shin-ichi Nakano

摘要:

一组组合对象的组合格雷码是该组中所有组合对象的序列,使得每个对象通过改变一小部分而从前一个对象导出。在本文中,我们设计了一个格雷码的有序树与n个顶点,使每个有序树是来自前一个有序树,通过删除一个叶子,然后附加一个叶子在其他地方。因此,更改只是删除并添加一个叶,这是最小的。

英文摘要:

A combinatorial Gray code for a set of combinatorial objects is a sequence of all combinatorial objects in the set so that each object is derived from the preceding object by changing a small part. In this paper we design a Gray code for ordered trees with n vertices such that each ordered tree is derived from the preceding ordered tree by removing a leaf then appending a leaf elsewhere. Thus the change is just remove-and-append a leaf, which is the minimum.

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

↑