[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [igraph] Fwd: How to get length of the shortest path between two ver

**From**: |
Gábor Csárdi |

**Subject**: |
Re: [igraph] Fwd: How to get length of the shortest path between two vertices |

**Date**: |
Sat, 2 Jul 2011 14:39:43 -0400 |

Binbin,
shortest.paths() actually returns only the path lengths.
Gabor
On Sat, Jul 2, 2011 at 2:34 PM, <address@hidden> wrote:
>* ---------- Forwarded message ----------*
>* From: address@hidden*
>* Date:*
>* Subject: How to get length of the shortest path between two verti*
>* X-DEFANGED-Date: [593] ces*
>
>
>
>
>* Hi all,*
>
>* I am using igraph to compute the shortest path, abd I want the length of the*
>* path could be returned, but I found only the vertices of a path is returned*
>* from the function shortest.paths. Can I make it to return the length of the*
>* shortest path? Many thanks.*
>
>* Binbin*
>
>* _______________________________________________*
>* igraph-help mailing list*
>* address@hidden*
>* https://lists.nongnu.org/mailman/listinfo/igraph-help*
>
>
--
Gabor Csardi <address@hidden> MTA KFKI RMKI