This function enumerates all possible binary trees with a distinguished root and n-1 unlabeled leaves. Each tree is an object of class LeafTree. For the purposes of representation, the root is named $0$ and the unlabeled leaves are named $1,\ldots,n-1$. In other words each class of unlabeled rooted tree is represented once by a particular labeling of that tree.
|
The object rootedBinaryTrees is a method function.