aryagraph.algorithms.structure.local_efficiency#
- aryagraph.algorithms.structure.local_efficiency(g: Any) float[source]#
Mean over nodes of the global efficiency of the subgraph induced by their neighbors.
Undirected graphs only. A node’s own self-loop does not put it into its neighborhood (networkx includes it; the Latora–Marchiori definition does not). Returns 0.0 for the null graph.