pymnet.cc_onnela¶
- pymnet.cc_onnela(net, node, undefReturn=0.0)¶
Onnela’s local clustering coefficient of a node in weighted monoplex network.
The clustering coefficient for node i is given by formula:
\[c_{O,i} = \frac{1}{w_{\max}k_{i}(k_{i}-1)} \sum_{j,h} (W_{ij}W_{ih}W_{jh})^{1/3}\]References
J.-P. Onnela, J. Saramaki, J. Kertesz, and K. Kaski, Phys. Rev. E 71, 065103 (2005)