ReneS
Posts: 225
|
| Posted: 04/02/2007, 10:39 AM |
|
Hi All,
I am trying to calculate the percentage of parents at the end of the tree..
What I mean is:
child has 2 parents, these parents (A and B) have parents C and D and E and F. What I'm trying to calculate is the percentage that the child has from parent C,D,E,F (in this case 25%) I don't know how "deep" the tree is in advance, it can be 2 but also 8. Also it is possible that only 1 parent is known at the end of branch A or B and that branch A is 4 deep and B 8 deep.
Any pointers etc. will be very welcome!
Thanks,
Rene
|
 |
 |
|