in reply to Re^11: constructing a tree from csv file
in thread constructing a tree from csv file

choroba , Another tricky issue with the program is, that suppose consider this :-
child parent likelihood M7 Q P M7 M28 E M28 M6 E M6 Q Pl
So in this case the output is coming to be M7:M7<-M28<-M6<-Q = E.E.Pl, whereas the correct output should be M7:M7<-Q which is the shortest path from M7 to Q.

Replies are listed 'Best First'.
Re^13: constructing a tree from csv file
by choroba (Cardinal) on Nov 21, 2013 at 07:17 UTC
    In a tree, each node has just one parent. See Graph for handling general graphs.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ