Community Detection, Label Propagation, Python, Networkx, Graph.
shindex (g, n): sh = calculate_hindex(g,n) #SH-Index is calculated based on H-Index N = g.degree(n) for i in g.neighbors(n): sh = sh*calculate_hindex(g,i) sh = sh//N sh = round(sh, 2) #print("SH Index of "+ str(n)+ " : " + str(sh)) return sh sh_index = {} for i in G.nodes(): sh_index[i] =