A Sequential Algorithm for Generating Random Graphs

Abstract

We present a nearly-linear time algorithm for counting and randomly generating simple graphs with a given degree sequence in a certain range. For degree sequence (di)i=1n with maximum degree d=O(m1/4-τ), our algorithm generates almost uniform random graphs with that degree sequence in time O(m\,d) where m=12Σidi is the number of edges in the graph and τ is any positive constant. The fastest known algorithm for uniform generation of these graphs McKay Wormald (1990) has a running time of O(m2d2). Our method also gives an independent proof of McKay's estimate McKay (1985) for the number of such graphs. We also use sequential importance sampling to derive fully Polynomial-time Randomized Approximation Schemes (FPRAS) for counting and uniformly generating random graphs for the same range of d=O(m1/4-τ). Moreover, we show that for d = O(n1/2-τ), our algorithm can generate an asymptotically uniform d-regular graph. Our results improve the previous bound of d = O(n1/3-τ) due to Kim and Vu (2004) for regular graphs.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…