GraphNullModelOptions
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class GraphNullModelOptions(n_random_graphs: int = 100, swaps_per_edge: int = 100, random_seed: int = 0, sampler: Literal['config', 'rewire'] = 'config')[source]
Bases:
objectReproducible degree-preserving null-model controls.
Default sampler is the configuration model. Pass
sampler='rewire'for Maslov–Sneppen mixing (swaps_per_edgefollows NetworkX / Milo and defaults to 100).