Expand description
Advanced random graph models and network generation
This module implements a suite of state-of-the-art random graph models:
- Erdős–Rényi G(n,p): edges exist independently with probability p
- Erdős–Rényi G(n,m): exactly m edges chosen uniformly at random
- Barabási–Albert: preferential attachment produces scale-free networks
- Watts–Strogatz: ring-lattice rewiring produces small-world topology
- Random d-regular: uniform random d-regular graph via configuration model
- Hyperbolic random graph (HRG): geometric model in hyperbolic disk
- Stochastic Kronecker graph: iterative tensor-product graph model
- Chung–Lu: random graph with prescribed expected degree sequence
Functions§
- barabasi_
albert - Generate a Barabási–Albert (BA) scale-free graph via preferential attachment.
- chung_
lu - Generate a Chung–Lu random graph with prescribed expected degree sequence.
- erdos_
renyi_ g_ nm - Generate an Erdős–Rényi G(n, m) random graph with exactly
medges. - erdos_
renyi_ g_ np - Generate an Erdős–Rényi G(n, p) random graph.
- hyperbolic_
random_ graph - Generate a hyperbolic random graph (HRG) in the Poincaré disk model.
- kronecker_
graph - Generate a stochastic Kronecker graph.
- random_
regular - Generate a uniformly random d-regular graph on
nnodes. - watts_
strogatz - Generate a Watts–Strogatz small-world graph.