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

Array -categories of multiplication, Array - when items are arranged in a ...

Array - when items are arranged in a regular rectangular pattern of rows and columns, counting how many there are. (e.g., if there are 3 rows of 5 girls each, how many girls are t

What is angle pairs, What is Angle Pairs? Two angles are adjacent angle...

What is Angle Pairs? Two angles are adjacent angles if they have the same vertex and share one side. Vertical angles are a pair of nonadjacent angles formed by two intersecting

find the original number, A two-digit number is seven times the sum of its...

A two-digit number is seven times the sum of its digits.  The number formed by reversing the digits is 18 less than the  original number. Find the original number.

Sets & relation.., the graph of relation y=f(x) respect to x=2 straight lin...

the graph of relation y=f(x) respect to x=2 straight line is symmetrical then which is correct; (option) a) f(x+2)=f(x_2),b)f(2+x)=f(2_x),c)f(x)=f(_x),d)f(x)=_f(_x)

Geometry, how much congruent sides does a trapezoid have

how much congruent sides does a trapezoid have

Math, A small square is located inside a bigger square. The length of the s...

A small square is located inside a bigger square. The length of the small square is 3 in. The length of the large square is 7m. What is the area of the big square if you take out t

What is a function, What is a Function, Anyway? Domain? Range? Next tim...

What is a Function, Anyway? Domain? Range? Next time you're at a fast-food restaurant, take a look at the price list. It may look something like this: • Hamburger.............

Derivative with polar coordinates - parametric equations, Derivative with P...

Derivative with Polar Coordinates dy/dx = (dr/dθ (sin θ) + r cos θ) / (dr/dθ (cosθ) - r sinθ) Note: Rather than trying to keep in mind this formula it would possibly be easi

Characteristics of exponential smoothing, Characteristics of Exponential Sm...

Characteristics of Exponential Smoothing 1. More weight is described to the most recent data. 2. All past data are incorporated not like in moving averages. 3. Les

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