Efficient and exact sampling of simple graphs with given arbitrary degree sequence
arXiv:1002.2975 · doi:10.1371/journal.pone.0010012
Abstract
Uniform sampling from graphical realizations of a given degree sequence is a fundamental component in simulation-based measurements of network observables, with applications ranging from epidemics, through social networks to Internet modeling. Existing graph sampling methods are either link-swap based (Markov-Chain Monte Carlo algorithms) or stub-matching based (the Configuration Model). Both types are ill-controlled, with typically unknown mixing times for link-swap methods and uncontrolled rejections for the Configuration Model. Here we propose an efficient, polynomial time algorithm that generates statistically independent graph samples with a given, arbitrary, degree sequence. The algorithm provides a weight associated with each sample, allowing the observable to be measured either uniformly over the graph ensemble, or, alternatively, with a desired distribution. Unlike other algorithms, this method always produces a sample, without back-tracking or rejections. Using a central limit theorem-based reasoning, we argue, that for large N, and for degree sequences admitting many realizations, the sample weights are expected to have a lognormal distribution. As examples, we apply our algorithm to generate networks with degree sequences drawn from power-law distributions and from binomial distributions.
8 pages, 3 figures
References in corpus (2)
Cited by in corpus (10)
- The structure and dynamics of multilayer networks
- Emergence of network features from multiplexity
- Unbiased sampling of network ensembles
- Multiple phase transitions of the susceptible-infected-susceptible epidemic model on complex networks
- Degree correlations in directed scale-free networks
- Fast and accurate determination of modularity and its effect size
- Correlations between weights and overlap in ensembles of weighted multiplex networks
- Surrogate-assisted analysis of weighted functional brain networks
- Deciding football sequences
- 2.5K-Graphs: from Sampling to Generation