nan egde betweenness values
Hi, I am computing a centrality.betweenness for a graph with weight equal to an edge property map of type double. Some of the resulting edge betweenness values are nan. The graph in question is connected so am unsure why a nan value is occurring. I would be delighted to hear any suggestions. Regards, Padraig -- 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 06/29/2012 09:04 PM, Padraig wrote:
Hi, I am computing a centrality.betweenness for a graph with weight equal to an edge property map of type double. Some of the resulting edge betweenness values are nan. The graph in question is connected so am unsure why a nan value is occurring. I would be delighted to hear any suggestions.
Without a concrete example, it is hard to say what is going on. Maybe you have some weights with value zero? Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Padraig -
Tiago de Paula Peixoto