The Tree companion object provides methods for building trees.
Tree
Randomly generate a tree.
the depth of the tree
the maximum number of children allowed (2 => binary tree)
the minimum number of children allowed (0 => binary tree)
the random number stream
Create a tree from an inverted tree, i.e., a predecessor/parent list.
the estimated average depth of the tree
the node labels
the name of tree
the predecessor/parent vector
treeTest3 for an example.
treeTest3