hatvis.centrality#
Centrality measures for vertices and hyperedges.
degree-type: (weighted) degree, hyperedge size and strength;
\(s\)-walk based (Aksoy et al. 2020): \(s\)-betweenness, \(s\)-closeness, harmonic \(s\)-closeness, \(s\)-eigenvector and their averages over \(s\) (Nagy et al. 2022);
spectral: clique-expansion eigenvector (CEC), Z- and H-eigenvector centralities of uniform hypergraphs (Benson 2019), nonlinear node–edge eigenvector centralities (Tudisco and Higham 2021), hypergraph PageRank;
hyper-coreness (Mancastroppa et al. 2023).
Degree, s-centralities, clique/Z/H-eigenvector and nonlinear node-edge centralities, PageRank, hyper-cores.
Functions#
|
Vertex degree, divided by the number of hyperedges (or the total weight) when |
|
Strength of a hyperedge: \(w_e\sum_{i} b_{ie}\) (size for an unweighted hypergraph). |
|
The \(s\)-betweenness centrality (Aksoy et al. 2020). |
|
The \(s\)-closeness centrality: reciprocal mean \(s\)-distance to the reachable elements. |
|
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). |
|
The \(s\)-eigenvector centrality: principal eigenvector of the \(s\)-line graph. |
|
Average of an \(s\)-centrality over \(s=1,\dots,s_{\max}\). |
|
Table of \(s\)-betweenness and harmonic \(s\)-closeness for several \(s\) values. |
|
Clique-expansion eigenvector centrality (CEC; Benson 2019): Perron vector of \(\mathbf{A}\). |
|
Z-eigenvector centrality (ZEC) of a uniform hypergraph (Benson 2019). |
|
H-eigenvector centrality (HEC) of a uniform hypergraph (Benson 2019). |
|
Node and edge nonlinear eigenvector centralities (Tudisco and Higham 2021). |
|
PageRank of the hypergraph random walk. |
|
Core numbers of the \((k,m)\)-hyper-core decomposition (Mancastroppa et al. 2023). |
|
Hyper-coreness \(R(i)=\sum_{m}C_m(i)/k_{\max}(m)\) (Mancastroppa et al. 2023). |