Yes, if G.is_directed() returns True, then G.shortest_paths() will take edge 
directions into account. Use the mode=... keyword argument to override that. 
See the docstring of G.shortest_paths() for more details. This applies also to 
the other shortest path functions, not only G.shortest_paths()

T. 

On 28 Dec 2012, at 14:38, Alexandre Vallette <[email protected]> wrote:

> Hi,
> I would like to know if the function G.shortest_paths() takes into account 
> the fact that G is directed?
> Thanks,
> 
> Alexandre
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to