Available on crate feature
generators only.Expand description
Classic hypergraph generators (XGI xgi/generators/classic.py port).
Enums§
- Generator
Error - Error raised by a generator given invalid parameters.
Functions§
- complement
- The complement of
h: same nodes, every possible edge (size 1..=maxsize) EXCEPT those present inh. XGIcomplement(H). - complete_
hypergraph - A complete hypergraph on
nnodes. Exactly one oforder/max_ordermust beSome. XGIcomplete_hypergraph. - empty_
hypergraph - The empty hypergraph (0 nodes, 0 edges). XGI
empty_hypergraph(). - trivial_
hypergraph - A hypergraph with
nnodes (“0”..“n-1”) and no edges. XGItrivial_hypergraph(n).