Table 2 Function comparison of various hypergraph libraries.
Modules | Features | Functions | EasyHypergraph | HNX | XGI | HGX | DHG |
|---|---|---|---|---|---|---|---|
Hypergraph manipulation | Hypergraph property | Incidence matrix | ✓ | ✓ | ✓ | ✓ | ✓ |
Adjacency matrix | ✓ | ✓ | ✓ | ✓ | ✓ | ||
Neighbor | ✓ | ✓ | ✓ | ✓ | ✓ | ||
Density | ✓ | – | ✓ | – | – | ||
Diameter | ✓ | ✓ | – | – | – | ||
Hypergraph projection | Line graph expansion | ✓ | ✓ | – | ✓ | – | |
Clique expansion | ✓ | ✓ | – | ✓ | ✓ | ||
Star expansion | ✓ | – | – | – | ✓ | ||
Hypergraph analysis | Node ranking | Hyperdegree | ✓ | ✓ | ✓ | – | ✓ |
Vector centrality | ✓ | – | ✓ | ✓ | – | ||
Hypercoreness | ✓ | – | – | – | – | ||
Cycle ratio | ✓ | – | – | – | – | ||
Hyperedge ranking | S-closeness centrality | ✓ | ✓ | – | – | – | |
S-betweenness centrality | ✓ | ✓ | – | – | – | ||
Connectivity | Connected components | ✓ | ✓ | ✓ | ✓ | – | |
Distance | ✓ | ✓ | ✓ | – | – | ||
Cluster coefficient | ✓ | ✓ | ✓ | – | – | ||
Null model | K-uniform model | ✓ | ✓ | ✓ | ✓ | – | |
Chung–Lu model | ✓ | ✓ | ✓ | – | – | ||
Hypergraph learning | HNNs | HGNN | ✓ | – | – | – | ✓ |
HGNN+ | ✓ | – | – | – | ✓ | ||
HNHN | ✓ | – | – | – | ✓ | ||
HyperGCN | ✓ | – | – | – | ✓ | ||
UniGNN | ✓ | – | – | – | ✓ | ||
DHNE | ✓ | – | – | – | – | ||
AllDeepSet | ✓ | – | – | – | – | ||
AllSetTransformer | ✓ | – | – | – | – |