This documents the development version of NetworkX. Documentation for the current release can be found here.
Returns the average local efficiency of the graph.
The efficiency of a pair of nodes in a graph is the multiplicative inverse of the shortest path distance between the nodes. The local efficiency of a node in the graph is the average global efficiency of the subgraph induced by the neighbors of the node. The average local efficiency is the average of the local efficiencies of each node .
An undirected graph for which to compute the average local efficiency.
The average local efficiency of the graph.
Edge weights are ignored when computing the shortest path distances.