Score: 0

A Method for Generating Connected Erdos-Renyi Random Graphs

Published: April 8, 2025 | arXiv ID: 2504.05907v1

By: Boris Chinyaev

Potential Business Impact:

Makes random computer networks connect correctly.

Business Areas:
A/B Testing Data and Analytics

We propose a novel and exact algorithm for generating connected Erdos-Renyi random graphs $G(n, p)$. Our approach exploits a link between the distribution of exploration process trajectories and an inhomogeneous random walk. In contrast to existing methods, our approach guarantees the correct distribution under the connectivity condition and achieves $O(n^2)$ runtime in the sparse case $p = c/n$. Furthermore, we show that our method can be extended to uniformly generate connected graphs $G(n, m)$ via an acceptance-rejection procedure.

Page Count
13 pages

Category
Computer Science:
Data Structures and Algorithms