pymnet.elementary_cycles¶
- pymnet.elementary_cycles(net, node=None, layer=None, anet=None)¶
Returns the elementary 3-cycle counts in a multiplex network.
- Parameters:
- netMultiplexNetwork with aspects=1
The input network.
- nodeany object
The focal node. Given as node index in the network.
- layerany object
The focal layer. Given as layer index in the network.
- Returns:
- cyclestuple
Returns the elementary cycles around the node-layer pair in the following order: aaa,aacac,acaac,acaca,acacac,afa,afcac,acfac,acfca,acfcac
References
“Clustering Coefficients in Multiplex Networks”, E. Cozzo et al. , arXiv:1307.6780 [physics.soc-ph]