Identifying effective multiple spreaders by coloring complex networks
最近看了这篇发表在EPL上的有关影响力最大的论文 论文下载地址 论文代码根据文章中对于算法的介绍进行了复现,希望大家批评指正 import networkx as nx import matplotlib.pyplot as plt def welsh_powell(graph): # 将图中结点按度的递减顺序进行排列 degree_graph = dict(nx.degree(graph)) trans_degree = list(zip(degree_graph.values(), degree_gr...