Skip to content

Finding which of two nodes is closer to a focal node in a tree #2654

Answered by jeromekelleher
hyanwong asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, using the MRCA is the simplest approach I think. You would need to decide whether overall branch length or path length (number of hops) is your metric.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hyanwong
Comment options

hyanwong Dec 4, 2022
Maintainer Author

Answer selected by hyanwong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants