tnetwork.DCD.externals.transversal_network_leidenalg

tnetwork.DCD.externals.transversal_network_leidenalg(dyn_graph: tnetwork.dyn_graph.dyn_graph_sn.DynGraphSN, interslice_weight=1, elapsed_time=False)[source]

Multiplex community detection reimplemented in leidenalg

Algorithm described in [1] (see method mucha_original for more information) This function use the implementation in the leidenalg library instead of the original matlab implementation. It requires the installation of the leidenalg library (including igraph). It is usually slower than the original implementation (but does not require matlab)

[1]Mucha, P. J., Richardson, T., Macon, K., Porter, M. A., & Onnela, J. P. (2010). Community structure in time-dependent, multiscale, and multiplex networks. science, 328(5980), 876-878.

Parameters:
  • dyn_graph – dynamic network
  • interslice_weight
  • elapsed_time
Returns: