igraph-help
[Top][All Lists]
Advanced

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

[igraph] How to get all diameter path


From: Delphine Faugaret
Subject: [igraph] How to get all diameter path
Date: Fri, 30 Mar 2012 09:10:01 +0100 (BST)

Hello,

To get the diameter of my graph I do:
get.diameter (graph, directed = FALSE, unconnected = TRUE, weights = NULL)
In the help line, it's written: "get.diameter returns a path with the actual diameter. If there are many shortest paths of the length of the diameter, then it returns the first one found."
For it would be relevan to have all the diameter paths, if they exist. What should I do?

Thanks,

Delph

reply via email to

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