leafColorings(T,M)
leafColorings(n,M)
This function outputs a list of all consistent colorings of the leaves of tree T. That is all sequences $(g_1,\ldots,g_n)$ such that $g_1+\cdots +g_n = 0$ where each $g_i$ is an element of the group associated to the model M, and n is the number of leaves of the tree.
These correspond the set of subscripts of the variables in the ring output by qRing, and appear in the same order.
|
|
The object leafColorings is a method function.
The source of this document is in PhylogeneticTrees.m2:1144:0.