| Literature DB >> 26356296 |
Aric Hagberg1, Nathan Lemons2.
Abstract
The development of kernel-based inhomogeneous random graphs has provided models that are flexible enough to capture many observed characteristics of real networks, and that are also mathematically tractable. We specify a class of inhomogeneous random graph models, called random kernel graphs, that produces sparse graphs with tunable graph properties, and we develop an efficient generation algorithm to sample random instances from this model. As real-world networks are usually large, it is essential that the run-time of generation algorithms scales better than quadratically in the number of vertices n. We show that for many practical kernels our algorithm runs in time at most 𝒪(n(logn)2). As a practical example we show how to generate samples of power-law degree distribution graphs with tunable assortativity.Entities:
Mesh:
Year: 2015 PMID: 26356296 PMCID: PMC4565681 DOI: 10.1371/journal.pone.0135177
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1The running times for generating Erdős-Rényi G(n, p) random graphs κ ≡ 10 using the method in Algorithm 1.
The blue circles show the average wall-clock run-time for graphs at a given n. The dashed reference line t = 10−5 nlogn is provided to show that the average run-time performance is slightly better than the worst case estimate O(nlogn).
Fig 2The average assortativity coefficient of graphs G′(n, κ′) generated from the kernel in Eq (8) for varying n.
For each data point, shown by the solid circles, an ensemble of 10 graphs were generated and the average assortativity coefficient was computed for the ensemble. (a) Positive assortativity, c = 0.001, a = 30,119. (b) Negative assortativity, c = 0.001, a = −909. The horizontal line is the asymptotic calculation of the assortativity coefficient. The values converge to approximately the asymptotic value by n = 106.