Prüfer sequence
Definition
Let be an integer and let be a tree with vertex set . The Prüfer sequence of is the sequence that this process gives. Let . For , let be the leaf of with the smallest label. Let be the unique neighbour of in , and let .
Remarks
The map is a bijection from the labelled trees on to . This proves Cayley's formula. A vertex appears times in the sequence. Thus the leaves are the labels that do not appear. Example: the star with centre on has the sequence .
Explanations
L1 human
Remove the smallest leaf again and again, and each time write down the vertex it was attached to. Stop when two vertices are left. The list of numbers fixes the tree.
What this node needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 10 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Graph definition
- Walk definition
- Reachability definition
- Trail definition
- Connected graph definition
- Circuit definition
- Cycle definition
- Acyclic graph definition
- Tree definition
- Prüfer sequence definition
Sources
- Web https://en.wikipedia.org/wiki/Prüfer_sequence, Algorithm to convert a tree into a Prüfer sequence
What links here
No node links to this node yet.