[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] shortest_path for directed graphs
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] shortest_path for directed graphs |
Date: |
Fri, 28 Dec 2012 18:22:55 +0100 |
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 <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help