next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
PhylogeneticTrees :: internalEdges

internalEdges -- Lists the internal edges of a tree

Synopsis

Description

An internal edge of a tree is an edge that is not incident to a leaf. This function lists such edges. Each entry of the list is a Set of the leaves on one side of the edge.

i1 : G = graph {{0,4},{1,4},{4,5},{5,2},{5,3}};
i2 : T = leafTree G;
i3 : internalEdges T

o3 = {set {0, 1}}

o3 : List

See also

Ways to use internalEdges :