taynaud / python-louvain

Louvain Community Detection
BSD 3-Clause "New" or "Revised" License
964 stars 200 forks source link

Add resolution parameter in __modularity calculation #59

Closed zhouhanc closed 4 years ago

zhouhanc commented 4 years ago

resolves #47

This commit: includes resolution parameter in __modularity calculation, so the algorithm works correctly for all resolutions.