igraph-help
[Top][All Lists]
Advanced

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

[igraph] New syntax for betweenness?


From: Yong Zou
Subject: [igraph] New syntax for betweenness?
Date: Thu, 26 Nov 2009 14:02:16 +0100

Hi Tamas,

It seems that the betweenness also has a new syntax now (igraph 0.6).

in C version.
igraph_closeness(&graph, &result_clsn, igraph_vss_all(), IGRAPH_ALL);
--> not working
igraph_betweenness(&graph, &result, igraph_vss_all(),
IGRAPH_UNDIRECTED, 0, 0); --> not working anymore

Python version
Previously, both below were working.
In [1]: g=Graph.Barabasi(10000, 2)
In [2]: bs=g.betweenness()
In [3]: bs2=g.betweenness(nobigint=False)

Either one is working.

Can you please help me the new syntax?

Thanks,
Yong




reply via email to

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