Available on crate feature
generators only.Expand description
Lattice hypergraph generators (XGI generators/lattice.py).
Functions§
- ring_
lattice - A d-uniform ring-lattice hypergraph on
nnodes: each node is inkedges, consecutive edges overlap byd - l. XGIring_lattice(n, d, k, l, with_positions). - ring_
lattice_ edges - The edges of
ring_lattice(n, d, k, l, ..)in id order: node i, then the d-1 nodes (start + l + j) % n for j in 0..d-1, for start in i+1 ..= i + k/2. XGI’s_ring_lattice_edges.