Planar Rooted Trees and Forests #
This file gives explicit names and basic APIs for planar rooted trees and
ordered forests. The underlying tree types are the existing PTree and
PLTree; the forest types are lists, so sibling order is retained.
Main definitions #
PlanarTreeandPlanarForestLPlanarTreeandLPlanarForest- conversion maps to the non-planar quotients
Non-empty planar rooted trees.
Equations
Instances For
Ordered forests of non-empty planar rooted trees.
Instances For
Non-empty labelled planar rooted trees.
Equations
Instances For
Ordered forests of labelled planar rooted trees.
Equations
Instances For
Build a planar tree from its ordered list of children.
Equations
Instances For
The one-vertex planar rooted tree.
Instances For
A two-vertex planar rooted tree.
Instances For
A three-vertex planar chain.
Instances For
A root with two bullet children.
Instances For
The number of vertices of a planar rooted tree.
Equations
Instances For
Butcher's tree factorial.
Equations
Instances For
Attach an ordered forest as the first children of the root.
Equations
Instances For
Forget the planar embedding by quotienting sibling order.
Equations
Instances For
The empty ordered planar forest.
Equations
Instances For
The ordered forest with one tree.
Equations
Instances For
Concatenate ordered forests.
Instances For
The sum of the orders of all trees in an ordered forest.
Equations
Instances For
Product of tree factorials over an ordered forest.
Equations
Instances For
Graft an ordered forest onto one new root.
Equations
Instances For
Forget order by mapping each planar tree to its non-planar quotient.
Equations
Instances For
Build a labelled planar tree from a root label and ordered children.
Equations
Instances For
Forget labels from a labelled planar tree.
Equations
Instances For
Label every vertex of a planar tree by the same label.
Equations
Instances For
The label at the root.
Equations
Instances For
Change every label in a labelled planar tree.
Equations
Instances For
The number of vertices.
Equations
Instances For
Butcher's tree factorial, ignoring labels.
Equations
Instances For
Attach an ordered labelled forest as the first children of the root.
Equations
Instances For
Forget planar order by quotienting recursively by sibling permutations.
Equations
Instances For
The empty ordered labelled planar forest.
Equations
Instances For
The ordered labelled forest with one tree.
Equations
Instances For
Concatenate ordered labelled forests.
Instances For
Forget all labels.
Equations
Instances For
Label every vertex of every tree by the same label.
Equations
Instances For
Change every label in an ordered forest.
Equations
Instances For
The sum of the orders of all trees in an ordered labelled forest.
Equations
Instances For
Product of tree factorials over an ordered labelled forest.
Equations
Instances For
Graft an ordered labelled forest onto one new labelled root.
Equations
Instances For
Forget planar order by quotienting all trees recursively.