A simple and flexible algorithm to generate real-world networks
Abstract
This study introduces an algorithm that generates undirected graphs with three main characteristics of real-world networks: scale-freeness, short distances between nodes (small-world phenomenon), and large clustering coefficients. The main idea is to perform random walks across the network and, at each iteration, add special edges with a decreasing probability to link more distant nodes, following a specific probability distribution. A key advantage of our algorithm is its simplicity and flexibility in creating networks with different characteristics without using global information about network topology. We show how the parameters can be adjusted to generate networks with specific average distances and clustering coefficients, maintaining a long-tailed degree distribution. The implementation of our algorithm is publicly available on a GitHub repository.
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.