Define an ordered rooted tree, Mathematics

Assignment Help:

Define an ordered rooted tree. Cite any two applications of the tree structure, also illustrate using an example each the purpose of the usage.  

Ans: A  tree is a graph like that it is connected, it has no loop or circuit of any length and number of edges in it is one less as compared to the number of vertices.

1498_Define an ordered rooted tree 1.png

If the downward slop of an arc is taken as the direction of the arc after that the above graph can be considered as a directed graph. In degree of node + is zero and of all other nodes is one. There are nodes such as 3, 4, 5, 2 and 5 without degree zero and all other nodes comprise out degree > 0. A node with in degree zero in a tree is known as root of the tree. Each tree has one and just only one root and that is why a directed tree is as well known as a rooted tree. The position of each labeled node is fixed, any change in the position of node will modify the meaning of the expression denoted by the tree. Such kind of tree is called ordered tree.

A tree structure is utilized in evaluation of an arithmetic expression (parsing technique) The other common application is search tree. The tree presented is an instance of expression tree. An instance of binary search tree is shown below.

1685_Define an ordered rooted tree 2.png


Related Discussions:- Define an ordered rooted tree

The limit, The Limit : In the earlier section we looked at some problems ...

The Limit : In the earlier section we looked at some problems & in both problems we had a function (slope in the tangent problem case & average rate of change in the rate of chan

Properties of dot product - vector, Properties of Dot Product u → • (v...

Properties of Dot Product u → • (v → + w → ) = u → • v → + u → • w →          (cv → ) • w → = v → •(cw → ) = c (v → •w → ) v → • w → = w → • v →

Find the area of the shaded region of square, In the adjoining figure, ABCD...

In the adjoining figure, ABCD is a square of side 6cm.  Find the area of the shaded region. Ans:    From P draw PQ ⊥ AB AQ = QB = 3cm (Ans: 34.428 sq cm) Join PB

Show that aq= 1/2 perimeter of triangle abc, A circle touches the side BC o...

A circle touches the side BC of a triangle ABC at P and touches AB and AC when produced at Q and R. Show that AQ= 1/2 (perimeter of triangle ABC) Ans:    Since the length o

Show trigonometric functions on a graph, Q. Show Trigonometric Functions on...

Q. Show Trigonometric Functions on a Graph? Ans. By discussing the trig functions with respect to an angle in a right-angle triangle, we have only considered angles betwee

Calculate one-sided limits, Calculate the value of the following limits. ...

Calculate the value of the following limits. Solution From the graph of this function illustrated below, We can illustrate that both of the one-sided limits suffer

Dynamical system and differential equations, 1. Discuss lyapunov function t...

1. Discuss lyapunov function theory and how it can be used to prove global assmptotic stability of solutions.(Give an example form natural and engineering sciences.) --- Draw le

Multiplication of two like terms with opposite signs, The product of -7ab a...

The product of -7ab and +3ab is (-7 x 3) a 2  b 2  = -21a 2  b 2 . In other words, a term with minus sign when multiplied with a term having a positive sign, gives a product having

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd