English

A Simple Algorithm for Graph Reconstruction

Data Structures and Algorithms 2021-12-14 v1

Abstract

How efficiently can we find an unknown graph using distance queries between its vertices? We assume that the unknown graph is connected, unweighted, and has bounded degree. The goal is to find every edge in the graph. This problem admits a reconstruction algorithm based on multi-phase Voronoi-cell decomposition and using O~(n3/2)\tilde O(n^{3/2}) distance queries. In our work, we analyze a simple reconstruction algorithm. We show that, on random Δ\Delta-regular graphs, our algorithm uses O~(n)\tilde O(n) distance queries. As by-products, we can reconstruct those graphs using O(log2n)O(\log^2 n) queries to an all-distances oracle or O~(n)\tilde O(n) queries to a betweenness oracle, and we bound the metric dimension of those graphs by log2n\log^2 n. Our reconstruction algorithm has a very simple structure, and is highly parallelizable. On general graphs of bounded degree, our reconstruction algorithm has subquadratic query complexity.

Keywords

Cite

@article{arxiv.2112.04549,
  title  = {A Simple Algorithm for Graph Reconstruction},
  author = {Claire Mathieu and Hang Zhou},
  journal= {arXiv preprint arXiv:2112.04549},
  year   = {2021}
}