Skip to main content

Module generators

Module generators 

Source
Available on crate feature generators only.
Expand description

Hypergraph generators (XGI xgi/generators/*.py port).

Every randomized generator takes an explicit seed: Option<u64> and builds a rand_pcg::Pcg64Mcg from it. Determinism is per-call (III.7 parity); the conformance gate asserts structural properties, not numpy-sequence parity.

Re-exports§

pub use classic::complement;
pub use classic::complete_hypergraph;
pub use classic::empty_hypergraph;
pub use classic::trivial_hypergraph;
pub use classic::GeneratorError;
pub use growth::apollonian_complex;
pub use growth::network_geometry_flavor;
pub use growth::pseudofractal_simplicial_complex;
pub use lattice::ring_lattice;
pub use lattice::ring_lattice_edges;
pub use random::chung_lu_hypergraph;
pub use random::fast_random_hypergraph;
pub use random::random_hypergraph;
pub use random::random_nested_hypergraph;
pub use random::simplicial_chung_lu_hypergraph;
pub use random::watts_strogatz_hypergraph;
pub use random::NestedEpsilon;
pub use simple::star_clique;
pub use simple::sunflower;
pub use simplicial::random_simplicial_complex;
pub use uniform::uniform_configuration_model;
pub use uniform::uniform_erdos_renyi_model;

Modules§

classic
Classic hypergraph generators (XGI xgi/generators/classic.py port).
growth
Growing simplicial complexes (XGI 1.1 generators/growth.py).
lattice
Lattice hypergraph generators (XGI generators/lattice.py).
random
Random (non-uniform) hypergraph generators (XGI generators/random.py).
rng
Seeded RNG + sampling + combinatorics helpers for the generators.
simple
Simple structural hypergraph generators (XGI xgi/generators/simple.py port).
simplicial
Simplicial-complex generators (XGI generators/simplicial_complexes.py).
uniform
Uniform random hypergraph generators (XGI generators/uniform.py).