pymnet.gcc_aw¶
- pymnet.gcc_aw(net, w1=0.5, w2=0.5, w3=None, returnCVector=False)¶
The global 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 global 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.
avg_lcc_aw
The local alternating walks clustering coefficient averaged over all node-layer pairs.
sncc_aw
The super-node version of the alternating walks clustering coefficient.
References
“Clustering Coefficients in Multiplex Networks”, E. Cozzo et al. , arXiv:1307.6780 [physics.soc-ph]