28 Feb
2019
28 Feb
'19
11:46 p.m.
Am 26.02.19 um 02:12 schrieb sergzz:
I can't find a similar function in graph-tool, but I am sure this could be implemented. The only thing I found was the all_shortest_paths function, but that only returns the shortest path(s), in most cases only 1. Could you point me in the right direction how to efficiently generate and store K number of shortest paths for a specified node?
It's just called all_paths(): https://graph-tool.skewed.de/static/doc/topology.html#graph_tool.topology.al... -- Tiago de Paula Peixoto <tiago@skewed.de>