6
5
# Aric Hagberg <hagberg@lanl.gov>
7
6
# Dan Schult <dschult@colgate.edu>
8
7
# Pieter Swart <swart@lanl.gov>
11
11
__author__ = "\n".join(['Aric Hagberg (hagberg@lanl.gov)',
12
12
'Pieter Swart (swart@lanl.gov)',
13
13
'Sasha Gutfraind (ag362@cornell.edu)'])
15
14
__all__ = ['eigenvector_centrality',
16
15
'eigenvector_centrality_numpy']
20
17
def eigenvector_centrality(G,max_iter=100,tol=1.0e-6,nstart=None):
21
18
"""Compute the eigenvector centrality for the graph G.