8 Aug
2016
8 Aug
'16
10:23 a.m.
On 06.08.2016 14:00, padraigc wrote:
Have you any suggestions? I’m considering using the breath first search functionality but I don’t think there is an option to terminate the search on parts the search tree with distance greater than r.
Take a look at the shortest_distance() function: https://graph-tool.skewed.de/static/doc/topology.html#graph_tool.topology.sh... It accepts a "max_dist" parameter that does what you want. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>