Returns for tree intree the Nx1 vector
LO with summed topological path distance
(see “PL_tree”)
of all child branches to the root.
We call the function level order and it is useful to classify
rooted trees into isomorphic classes,
i.e to sort the node labels
(introduction section “sorted and equivalent tree”).
Example:
>> LO_tree (sample2_tree)'
[62 62 61 31 28 24 13 7 6 28 21 17 6 6 4]
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License