3.1 TREES
3.1 TREES
1
Trees
if there is a vertex vo in A with the property that there exists a unique path in T from vo to every other vertex in A, but no path from vo to vo.
3.1 TREES
2
Trees
3.1 TREES
3
Trees
Let (T, vo) be a rooted tree. Then
3.1 TREES
4
Trees
3.1 TREES
5
Trees
3.1 TREES
6
Trees
Let (T, vo) be a rooted tree on a set A. Then
3.1 TREES
7
Trees
T = {(v2, v3), (v2, v1), (v4, v5), (v4, v6), (v5, v8), (v6, v7), (v4, v2), (v7, v9), (v7, v10)}.
Show that T is a rooted tree and identify the root
3.1 TREES
8
Trees
3.1 TREES
9
Trees
3.1 TREES
10
Trees
If (T, vo) is a rooted tree and v ∈ T, then T(v) is also a rooted tree with root v. T(v) is the subtree of T beginning at v.
3.1 TREES
11
Trees
3.1 TREES
12
Trees
3.1 TREES
13
Trees
3.1 TREES
14
Trees
3.1 TREES
15
Trees
3.1 TREES
16