English

On Sampling Edges Almost Uniformly

Computational Complexity 2017-06-30 v1 Discrete Mathematics Combinatorics Probability

Abstract

We consider the problem of sampling an edge almost uniformly from an unknown graph, G=(V,E)G = (V, E). Access to the graph is provided via queries of the following types: (1) uniform vertex queries, (2) degree queries, and (3) neighbor queries. We describe an algorithm that returns a random edge eEe \in E using O~(n/εm)\tilde{O}(n / \sqrt{\varepsilon m}) queries in expectation, where n=Vn = |V| is the number of vertices, and m=Em = |E| is the number of edges, such that each edge ee is sampled with probability (1±ε)/m(1 \pm \varepsilon)/m. We prove that our algorithm is optimal in the sense that any algorithm that samples an edge from an almost-uniform distribution must perform Ω(n/m)\Omega(n / \sqrt{m}) queries.

Keywords

Cite

@article{arxiv.1706.09748,
  title  = {On Sampling Edges Almost Uniformly},
  author = {Talya Eden and Will Rosenbaum},
  journal= {arXiv preprint arXiv:1706.09748},
  year   = {2017}
}
R2 v1 2026-06-22T20:33:23.730Z