pymnet.cc_barrat

pymnet.cc_barrat(net, node, undefReturn=0.0)

Barrat’s local clustering coefficient of a node in weighted monoplex network.

The clustering coefficient for node i is given by formula:

\[c_{Ba,i} = \frac{1}{s_{i}(k_{i}-1)}\sum_{j,h}\frac{(W_{ij}+W_{ih})}{2} A_{ij}A_{ih}A_{jh}\]

References

  1. Barrat, M. Barthelemy, R. Pastor-Satorras, and A. Vespignani, Proc. Natl. Acad. Sci. (USA) 101, 3747 (2004)