给定度序列的排序树和非排序树
Ranking and unranking trees with given degree sequences
摘要:
在本文中,我们提供的算法,排名,取消排名,并随机产生一定程度的限制类的凯莱树。具体来说,我们考虑类的树,有一个给定的度序列或给定的度的multiset。如果树的基本集合有n个顶点,那么在每种情况下涉及的最大秩都是n阶的!所以只需要O(nlog(n))位就可以写出秩。我们的排名和unranking算法,这些度限制类的效率可以预期,因为我们表明,他们需要O(n^2log(n))位操作,如果底层树有n个顶点。
英文摘要:
In this paper, we provide algorithms to rank, unrank, and randomly generate certain degree-restricted classes of Cayley trees. Specifically, we consider classes of trees that have a given degree sequence or a given multiset of degrees. If the underlying set of trees have n vertices, then the largest ranks involved in each case are of order n! so that it takes O(nlog(n)) bits just to write down the ranks. Our ranking and unranking algorithms for these degree-restricted classes are as efficient as can be expected since we show that they require O(n^2log(n)) bit operations if the underlying trees have n vertices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。