I was chatting with @a-ignatieva at PopGroup56 and she said she had a couple of use-cases for a method that randomly broke polytomies in an entire tree sequence, but didn't do so tree-by-tree. I had some code to do this (initial example in #809), but @jeromekelleher had reasons for wanting to make the random-polytomy-breaking routine independent from tree-to-tree (see #815 (comment))
Perhaps Ana could comment in this issue about why she wanted a function that worked over the entire TS rather than the tree? I would have found it useful too (see #815 (comment)), so it may be worth implementing if there is a wider a call for it. I suspect that my implementation was overwritten when the PR (#815) was updated to perform only a single-tree resolution, but I guess the logic in #809 (comment) is roughly what I used.
I was chatting with @a-ignatieva at PopGroup56 and she said she had a couple of use-cases for a method that randomly broke polytomies in an entire tree sequence, but didn't do so tree-by-tree. I had some code to do this (initial example in #809), but @jeromekelleher had reasons for wanting to make the random-polytomy-breaking routine independent from tree-to-tree (see #815 (comment))
Perhaps Ana could comment in this issue about why she wanted a function that worked over the entire TS rather than the tree? I would have found it useful too (see #815 (comment)), so it may be worth implementing if there is a wider a call for it. I suspect that my implementation was overwritten when the PR (#815) was updated to perform only a single-tree resolution, but I guess the logic in #809 (comment) is roughly what I used.