English

Sampling an Edge in Sublinear Time Exactly and Optimally

Data Structures and Algorithms 2022-11-15 v2

Abstract

Sampling edges from a graph in sublinear time is a fundamental problem and a powerful subroutine for designing sublinear-time algorithms. Suppose we have access to the vertices of the graph and know a constant-factor approximation to the number of edges. An algorithm for pointwise ε\varepsilon-approximate edge sampling with complexity O(n/εm)O(n/\sqrt{\varepsilon m}) has been given by Eden and Rosenbaum [SOSA 2018]. This has been later improved by T\v{e}tek and Thorup [STOC 2022] to O(nlog(ε1)/m)O(n \log(\varepsilon^{-1})/\sqrt{m}). At the same time, Ω(n/m)\Omega(n/\sqrt{m}) time is necessary. We close the problem, by giving an algorithm with complexity O(n/m)O(n/\sqrt{m}) for the task of sampling an edge exactly uniformly.

Keywords

Cite

@article{arxiv.2211.04981,
  title  = {Sampling an Edge in Sublinear Time Exactly and Optimally},
  author = {Talya Eden and Shyam Narayanan and Jakub Tětek},
  journal= {arXiv preprint arXiv:2211.04981},
  year   = {2022}
}
R2 v1 2026-06-28T05:31:33.549Z