hatvis.centrality.hypercore_numbers#

hatvis.centrality.hypercore_numbers(H, m=2)[source]#

Core numbers of the \((k,m)\)-hyper-core decomposition (Mancastroppa et al. 2023).

The \((k,m)\)-hyper-core is the maximal sub-hypergraph in which every vertex belongs to at least \(k\) hyperedges that have at least \(m\) vertices inside the core (hyperedges shrink as vertices are removed). Returns, for each vertex, the largest \(k\) for which it is in the core.