Abstract
We consider the problem of sampling an edge almost uniformly from an unknown graph, 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 a new simple algorithm that returns a random edge e ∈ E using O(n/√ϵm) queries in expectation, such that each edge e is sampled with probability (1 ± ϵ)/m. Here, n = |V| is the number of vertices, and m = |E| is the number of edges. Our algorithm is optimal in the sense that any algorithm that samples an edge from an almost-uniform distribution must perform Ω(n/√m) queries.
| Original language | English |
|---|---|
| Title of host publication | 1st Symposium on Simplicity in Algorithms, SOSA 2018 - Co-located with the 29th ACM-SIAM Symposium on Discrete Algorithms, SODA 2018 |
| Editors | Raimund Seidel |
| Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
| ISBN (Electronic) | 9783959770644 |
| DOIs | |
| State | Published - 1 Jan 2018 |
| Externally published | Yes |
| Event | 1st Symposium on Simplicity in Algorithms, SOSA 2018 - New Orleans, United States Duration: 7 Jan 2018 → 10 Jan 2018 |
Publication series
| Name | OpenAccess Series in Informatics |
|---|---|
| Volume | 61 |
| ISSN (Print) | 2190-6807 |
Conference
| Conference | 1st Symposium on Simplicity in Algorithms, SOSA 2018 |
|---|---|
| Country/Territory | United States |
| City | New Orleans |
| Period | 7/01/18 → 10/01/18 |
Bibliographical note
Publisher Copyright:© Talya Eden and William B. Rosenbaum.
Keywords
- Graph algorithms
- Query complexity
- Sampling edges
- Sublinear algorithms