On 09.03.2016 22:17, Philipp-Maximilian Jacob wrote:
> When I however run all_shortest_paths(g,source,target) this path is
> not part of the results set. Why is that?

The function finds all _shortest_ paths, not all paths. Are you sure the
known path belong to the shortest set?

> Finally, is it possible to also obtain an edge descriptor as a result?
> Currently I think the documentation states that the result is an
> iterator over the sequence of vertices from source to target.

You can get the edge between any two vertices u and v by calling the
Graph.edge(u, v) function.

Best,
Tiago

-- 
Tiago de Paula Peixoto <[email protected]>
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to