Rightmost and leftmost extent of a node in a tree sequence #1196
hyanwong
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to get the span of every node in a tree sequence. As long as I don't mind only looking for nodes which are parents, I reckon the following should do it. It's a bit cryptic, but very fast, as the edges are in the right order already. Possibly a useful recipe?
Beta Was this translation helpful? Give feedback.
All reactions