TreeTools icon indicating copy to clipboard operation
TreeTools copied to clipboard

"Preorder" classification

Open ms609 opened this issue 3 years ago • 0 comments

With #92, DropTip() now returns edges numbered in preorder, but not conforming to the additional requirements of Preorder(). Is it true to consider this "cladewise"?

Probably we need a function that tests whether a tree is in strict TreeTools-Preorder, or whether it's just in preorder; some functions may only require the latter, saving time in unnecessary renumbering. We should audit the code so we're only requesting what we require. Might this necessitate a flag, as with postorder, to indicate whether treetools conventions are followed?

ms609 avatar Feb 04 '22 11:02 ms609