Mathematics – Combinatorics
Scientific paper
2010-09-10
Mathematics
Combinatorics
Scientific paper
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)).
Remmel Jeffrey B.
Williamson Gill S.
No associations
LandOfFree
Ranking and unranking trees with a given number or a given set of leaves does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Ranking and unranking trees with a given number or a given set of leaves, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Ranking and unranking trees with a given number or a given set of leaves will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-672744