deltaQ有问题。 可参考的公式推导: https://web.stanford.edu/class/cs246/slides/11-graphs1.pdf https://www.cnblogs.com/fengfenggirl/p/louvain.html https://github.com/taynaud/python-louvain/blob/def91793772c3e77ab4167d175903a5365c24b4b/community/community_louvain.py#L470 相似的项目:https://github.com/zzz24512653/CommunityDetection