arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1009.2060math.CO
收藏

给定叶子数或给定叶子集合的排序树和非排序树

Ranking and unranking trees with a given number or a given set of leaves

Jeffrey B. Remmel, S. Gill Williamson

摘要:

在本文中,我们提供的算法,排名和取消排名的某些程度限制类的凯莱树(生成树的n-顶点完全图)。具体来说,我们考虑一类树,有一个给定的一组叶子或一个固定数量的k叶。对于固定的k,具有n个顶点和k个叶子的凯莱树的数量大致增长为n!并且因此秩具有O(nlog_2(n))比特。我们的排名和unranking算法最多需要O(n^2)的数字比较小于或等于n加上O(n)的乘法,除法,加法,减法和比较的长度为O(nlog(n))。

英文摘要:

In this paper, we provide algorithms to rank and unrank certain degree-restricted classes of Cayley trees (spanning trees of the n-vertex complete graph). Specifically, we consider classes of trees that have a given set of leaves or a fixed number k of leaves. For fixed k, the number of Cayley trees with n vertices and k leaves grows roughly as n! and hence the ranks have O(nlog_2(n)) bits. Our ranking and unranking algorithms require at most O(n^2) comparisons of numbers less than or equal to n plus O(n) operations of multiplication, division, addition, substraction and comparision on numbers of length O(nlog(n)).

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

↑