-
Notifications
You must be signed in to change notification settings - Fork 23
PB Ladderize
Connor T. Skennerton edited this page Feb 24, 2017
·
3 revisions
Will reorder the branches of the tree based on the number of child nodes for every given subtree.
Optional. Choose the way to sort the subtrees
- ascending = subtrees with a smaller number of child nodes will be ordered first
- descending = subtrees with a larger number of child nodes will be ordered first
((A,(B,(C,(D,E)))),(F,(G,H)));
$: pb test.tree -ld
((F,(G,H)),(A,(B,(C,(D,E)))));
$: pb test.tree -ld descending
(((((D,E),C),B),A),((G,H),F));