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

Find the area enclosed between two concentric circles, Find the area enclos...

Find the area enclosed between two concentric circles of radii 3.5cm, 7cm. A third  concentric circle is drawn outside the 7cm circle so that the area enclosed between it and the 7

Tangent lines, Recall also which value of the derivative at a specific valu...

Recall also which value of the derivative at a specific value of t provides the slope of the tangent line to the graph of the function at that time, t. Thus, if for some time t the

Elps in maths, 25 cookies have to be divided equally among 4 children.hw ca...

25 cookies have to be divided equally among 4 children.hw can we use elps to answer this question?

Algebra, how to solve algebra

how to solve algebra

Precalculus, Find the standard form of the equation of the parabola with a ...

Find the standard form of the equation of the parabola with a vertex at the origin and a focus at (0, -7).

Linear differential equations, A linear differential equation is of differe...

A linear differential equation is of differential equation which can be written in the subsequent form. a n (t) y (n) (t) + a n-1 (t) y (n-1) (t)+..............+ a 1 (t) y'(

What difference among the areas of the two sections of a, If the areas of t...

If the areas of two sections of a garden are 6a + 2 and 5a, what is the difference among the areas of the two sections within terms of a? Because the question asks for the diff

Siquence aned series, if 4,a and 16 are in the geometric sequence. Find the...

if 4,a and 16 are in the geometric sequence. Find the value

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