Skip to main content

Module growth

Module growth 

Source
Available on crate feature generators only.
Expand description

Growing simplicial complexes (XGI 1.1 generators/growth.py).

The pseudofractal and Apollonian complexes are deterministic. XGI adds the missing faces of each step by iterating a Python set, so its simplex ids, and from n_iter = 2 on its node labels, follow CPython’s set order. These functions visit faces in the complex’s own id order instead: the counts and the structure are XGI’s, the labels from n_iter = 2 on are not. The Python bindings port XGI’s code to get XGI’s labels.

Functions§

apollonian_complex
The Apollonian simplicial complex of order (Nurisso et al. 2024). XGI 1.1 apollonian_complex(order, n_iter).
network_geometry_flavor
Network geometry with flavor (Bianconi and Rahmede 2016). XGI 1.1 network_geometry_flavor(order, s, beta, n_iter, energy_distribution, seed).
pseudofractal_simplicial_complex
The pseudofractal simplicial complex of order (Nurisso et al. 2024). XGI 1.1 pseudofractal_simplicial_complex(order, n_iter).