- #1
zak100
- 462
- 11
Homework Statement
I can't understand the concept of internal path length. I can't understand what this value mean in the tree? For instance if a IPL of a tree is 30 then what does it mean for the tree. Tree does not have 30 nodes so what the path length means?
Li is the number of nodes in Level i
Homework Equations
Summation (i-1) * Li
The Attempt at a Solution
IPL = 30: for the attached figure(one node at level 0, two at level 1, four at level 2, four at level 3and 2 at level 4:
1 * 0+2* 1 + 4 * 2+ 4 * 3 + 2 * 4= 30.
Some body please tell me how can we see this value in the tree through nodes??
Zulfi