hatvis.centrality.s_harmonic_closeness# hatvis.centrality.s_harmonic_closeness(H, s=1, edges=True)[source]# Harmonic \(s\)-closeness: \(HCC_s(e)=\frac{1}{|E_s|-1}\sum_{f\in E_s, f\ne e} 1/d_s(e,f)\), with \(E_s=\{e:|e|\ge s\}\) (unreachable pairs contribute 0).