Available on crate feature
generators only.Expand description
Random (non-uniform) hypergraph generators (XGI generators/random.py).
Enums§
- Nested
Epsilon - The rewiring probabilities of
random_nested_hypergraph: one for every edge size belowd, or one per size,PerSize[t - 2]for sizet.
Functions§
- chung_
lu_ hypergraph - Chung–Lu hypergraph from node-degree and edge-size sequences.
XGI
chung_lu_hypergraph(k1, k2). - fast_
random_ hypergraph - Fast random hypergraph via geometric skip-sampling. XGI
fast_random_hypergraph. - random_
hypergraph - Random hypergraph via Bernoulli over every combination. XGI
random_hypergraph. - random_
nested_ hypergraph - Random nested hypergraph (Kim et al. 2023). XGI 1.1
random_nested_hypergraph(n, m, d, epsilon, seed). - simplicial_
chung_ lu_ hypergraph - Simplicial Chung-Lu hypergraph (Kim et al. 2023). XGI 1.1
simplicial_chung_lu_hypergraph(k1, k2, p, seed). - watts_
strogatz_ hypergraph - Watts–Strogatz hypergraph: a ring lattice with each edge rewired with prob
p, as XGI 1.1 rewrotewatts_strogatz_hypergraph(n, d, k, l, p).