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

Linear equations, A police academy is training 14 new recruits. Some are wo...

A police academy is training 14 new recruits. Some are working dogs and others are police officers. There are 38 legs in all. How many of each type of recruits are there?

Logarithems , y=x4/4lnx-x4/16 then dy/dx=? Solution) dy/dx=-x^3/4(2/lnx-...

y=x4/4lnx-x4/16 then dy/dx=? Solution) dy/dx=-x^3/4(2/lnx-1)^2.    ^ means power

Determine the equation of the line, Example :  Determine the equation of th...

Example :  Determine the equation of the line which passes through the point (8, 2) and is, parallel to the line given by 10 y+ 3x = -2 Solution In both of parts we are goi

Analysis and optimization, 1. In an in finite horizon capital/consumption m...

1. In an in finite horizon capital/consumption model, if kt and ct are the capital stock and consumption at time t, we have f(kt) = ct+kt+1 for t ≥ 0 where f is a given production

digraph of r, Let R be the relation on S = {1, 3, 6, 9, 27} defined by aRb...

Let R be the relation on S = {1, 3, 6, 9, 27} defined by aRb iff a|b. (a) Write down the matrix of R. (b) Draw the digraph of R. (c) Explain whether R is reflexive, irrere

Daily Math, Six times as many people voted in the 2012 election as in the 2...

Six times as many people voted in the 2012 election as in the 2008 election.If 162 people voted in 2008,how many people voted in both elections?

Integrated marketing, #question.Explain its nature and how it influences th...

#question.Explain its nature and how it influences the integrated marketing communications mix and distinguish between tactical and strategic use of integrated marketing communicat

Solve the linear equation, Solve the linear equation: The equation rel...

Solve the linear equation: The equation relating the pressure that is denoted by P, to the force, F & the area, A, over which the force is applied is P =F/A.  Solve this equat

PDE, Consider the wave equation utt - uxx = 0 with u(x, 0) = f(x) = 1 if-1 ...

Consider the wave equation utt - uxx = 0 with u(x, 0) = f(x) = 1 if-1 ut(x, 0) = ?(x) =1 if-1 Sketch snapshots of the solution u(x, t) at t = 0, 1, 2 with justification (Hint: Sket

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