hatvis.centrality.s_betweenness#
- hatvis.centrality.s_betweenness(H, s=1, edges=True, normalized=True)[source]#
The \(s\)-betweenness centrality (Aksoy et al. 2020).
\(BC_s(e)=\sum_{f\ne e\ne g}\sigma^s_{fg}(e)/\sigma^s_{fg}\), the share of shortest \(s\)-walks between other hyperedges that pass through \(e\); it is the betweenness of \(e\) in the \(s\)-line graph.
edges=Falseranks the vertices (via the dual). Elements with \(|e|<s\) get 0.