Closeness not included in module
Hi there, when I try to calculate the closeness metric it says it's not in the module. I have tried to import it and in fact I cannot find it, simply put. I can correctly calculate all the other centralities. Was it added very recently maybe, and I don't have the latest version? Thanks in advance -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 10/22/2013 03:43 AM, poydflink wrote:
Hi there, when I try to calculate the closeness metric it says it's not in the module. I have tried to import it and in fact I cannot find it, simply put. I can correctly calculate all the other centralities. Was it added very recently maybe, and I don't have the latest version?
Everything seems fine: from graph_tool.all import * g = collection.data["power"] c = closeness(g) When having problems, please always provide a short example... Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
poydflink -
Tiago de Paula Peixoto