hatvis.centrality.s_closeness#

hatvis.centrality.s_closeness(H, s=1, edges=True)[source]#

The \(s\)-closeness centrality: reciprocal mean \(s\)-distance to the reachable elements.

Computed as networkx closeness on the \(s\)-line graph (Wasserman–Faust scaling for disconnected graphs).