igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] igraph_get_shortest_paths() question


From: Tamás Nepusz
Subject: Re: [igraph] igraph_get_shortest_paths() question
Date: Mon, 14 Mar 2011 15:44:59 +0100

> What is the use case for specifying a target vertex multiple times?
Nothing ;) igraph_vs_t does happen to allow the same vertex ID to appear more 
than once, but igraph_get_shortest_paths() will still find only one shortest 
path for it. If you need all the shortest paths between two given vertices, try 
igraph_get_all_shortest_paths().

Cheers,
-- 
T.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]