SIAM Journal on Computing · 1982 · 12 citations · 9 references
ComputingComputer ScienceMathematicsAlgorithmsCombinatoricsComputational GeometryRanking ProblemsSorting AlgorithmsKeysPartial OrderingRanking AlgorithmsTree AlgorithmsTree Ranking
In this paper we consider the generating, ranking, and unranking of 2-3 trees with n keys. We propose a linear ordering among these trees. The problem of ranking is to determine the rank of a given tree in this ordering, while unranking means constructing the tree of a given rank. The main result is that ranking and unranking can be done in $O(n)$ time after a preprocessing step that takes $O(n^2 )$ time and space.
9
Lexicographic generation of ordered trees
Shmuel Zaks · Theoretical Computer Science · 1980 · 155 citations
Generating Binary Trees Lexicographically
Frank Ruskey, T. C. Hu · SIAM Journal on Computing · 1977 · 137 citations
Applied Combinatorial Mathematics
E. N. Gilbert · Technometrics · 1965 · 135 citations
Constant Time Generation of Rooted Trees
Terry Beyer, Sandra M. Hedetniemi · SIAM Journal on Computing · 1980 · 109 citations