vtraag / leidenalg

Implementation of the Leiden algorithm for various quality functions to be used with igraph in Python.
GNU General Public License v3.0
575 stars 77 forks source link

Layer weights parameter for the find_partition_multiplex function #129

Closed bfarahdel closed 1 year ago

bfarahdel commented 1 year ago

A layer weights parameter has been added to the find_partition_multiplex function. By default, a layer weight of 1 will be assigned to each layer if the layer weights are not specified by the user as done in the original implementation. In this new implementation, the user can assign weights for each layer for multiplex community detection, which can be beneficial in cases when the layer weights would not equal 1 (e.g. negative links).

128

vtraag commented 1 year ago

Thanks, this can indeed be useful to some people. Merging it.