Rooted Trees - 19cse1030
Rooted Trees - 19cse1030
{ PRESENTATION BY : -
Group 8
DIRECTED TREES
• If G is a directed graph, then G is called a directed tree if the undirected
graph is associated with G is a tree.
ROOTED TREES
• Rooted Trees are a special type of directed trees.
We draw rooted trees with directions going from the upper level to
the lower level, so that the arrows aren't needed.
TERMINOLOGIES
CHILD & PARENT
ROOT
SIBLINGS
SUBTREE
w, y, z
ORDERED ROOTED TREE
In the tree T as shown below in the figure, the edges or branches leaving each
internal vertex are ordered from left to right. Hence, such a tree T is called an
ordered rooted tree.
Consequently, each vertex in T, other than the root has a label the
form a1.a2.a3…an if and only if that vertex has level number n.
this is known as the universal address system
+ t / * uv + w - x yz.
EXAMPLE : In the expression : t + (u * v) / (w + x – y z).