You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using networkx's shortest_path_length is extremely slow for this data; the "classic" algorithm should be much faster (but the current implementation is incorrect).
I believe that the problem with the python implementation of the classic distance_map algorithm is the sorting of the partitions. The JS docs say that they should be sorted in order of length, but I think they should actually be ordered topologically. partitions_sorted should return the root-containing partition last.
The text was updated successfully, but these errors were encountered:
Just a thought - this might be at least in part because the reference implementation constrains the maximum length of a path, where I'm not currently doing that in the ArborNX implementation.
Using networkx's shortest_path_length is extremely slow for this data; the "classic" algorithm should be much faster (but the current implementation is incorrect).
I believe that the problem with the python implementation of the classic distance_map algorithm is the sorting of the partitions. The JS docs say that they should be sorted in order of length, but I think they should actually be ordered topologically.
partitions_sorted
should return the root-containing partition last.The text was updated successfully, but these errors were encountered: