pymnet.avg_lcc_aw

pymnet.avg_lcc_aw(net, w1=0.5, w2=0.5, w3=None, returnCVector=False, anet=None)

Average value of the local version of the alternating walker clustering coefficient for multiplex networks.

Parameters:
netMultiplexNetwork with aspects=1

The input network.

w1,w2,w3weights of the contributions of different layers.

If w3 is set to None then w1 and w2 correspond to the “costs” of staying at a layer and changing the layer, i.e. w1 = \(\beta\) and w2 = \(\gamma\)

returnCVectorbool

If True, returns a vector containing the three different local clustering coefficients \(c_1,c_2,c_3\). Otherwise, return just a single value.

Returns:
ccfloat, or tuple

The value(s) of the clustering coefficient.

See also

lcc_aw

The alternating walks clustering coefficient of a single node-layer pair.

sncc_aw

The super-node version of the alternating walks clustering coefficient.

gcc_aw

The global version of the alternating walks clustering coeffient.

References

“Clustering Coefficients in Multiplex Networks”, E. Cozzo et al. , arXiv:1307.6780 [physics.soc-ph]