corrected centrality metric

author: nhhughes