Skip to main content

hypergraph_rs/generators/
mod.rs

1//! Hypergraph generators (XGI `xgi/generators/*.py` port).
2//!
3//! Every randomized generator takes an explicit `seed: Option<u64>` and builds
4//! a `rand_pcg::Pcg64Mcg` from it. Determinism is per-call (III.7 parity); the
5//! conformance gate asserts structural properties, not numpy-sequence parity.
6
7pub mod classic;
8pub mod growth;
9pub mod lattice;
10pub mod random;
11pub mod rng;
12pub mod simple;
13pub mod simplicial;
14pub mod uniform;
15
16pub use classic::{
17    complement, complete_hypergraph, empty_hypergraph, trivial_hypergraph, GeneratorError,
18};
19pub use growth::{apollonian_complex, network_geometry_flavor, pseudofractal_simplicial_complex};
20pub use lattice::{ring_lattice, ring_lattice_edges};
21pub use random::{
22    chung_lu_hypergraph, fast_random_hypergraph, random_hypergraph, random_nested_hypergraph,
23    simplicial_chung_lu_hypergraph, watts_strogatz_hypergraph, NestedEpsilon,
24};
25pub use simple::{star_clique, sunflower};
26pub use simplicial::random_simplicial_complex;
27pub use uniform::{uniform_configuration_model, uniform_erdos_renyi_model};