tskit
tskit copied to clipboard
Add distance_between function and tests
Description
This function calculates the total distance between two nodes in the tree. This is expressed as the sum of the "branch lengths" from both nodes to their most recent common ancestor.
Fixes #2627
- [X] Added tests that cover the distance_between function.