Compute the bipartite clustering of G.
Robins and Alexander [R146] defined bipartite clustering coefficient as four times the number of four cycles divided by the number of three paths in a bipartite graph:
Parameters : | G : graph
|
---|---|
Returns : | clustering : float
|
See also
latapy_clustering, square_clustering
References
[R146] | (1, 2) Robins, G. and M. Alexander (2004). Small worlds among interlocking directors: Network structure and distance in bipartite graphs. Computational & Mathematical Organization Theory 10(1), 69–94. |
Examples
>>> from networkx.algorithms import bipartite
>>> G = nx.davis_southern_women_graph()
>>> print(round(bipartite.robins_alexander_clustering(G), 3))
0.468