PhylogeneticTrees
The rooted binary trees on labeled leaves with unlabeled internal nodes, as a lazy indexed family.
PhylogeneticTrees(n)every rooted binary tree with leaves labeled and unlabeled internal nodes.Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer<0..>) -> indexed_collection<phylogenetic_tree> | combinatorics | always |
Details
- A lazy indexed collection; the count is — has elements. See Factorial2.
- Built by successive insertion: start from the cherry , then for attach leaf at one of places — above the current root, or subdividing one of the tree's edges.
- Each element is the digit sequence with recording that insertion choice at each step; unranks it as a mixed-radix number in those insertion-step radices.
Enumeration
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 2 |
|---|
See also: Factorial2, Count, At