English

Optimal distance query reconstruction for graphs without long induced cycles

Data Structures and Algorithms 2024-10-17 v4 Discrete Mathematics Combinatorics

Abstract

Given access to the vertex set VV of a connected graph G=(V,E)G=(V,E) and an oracle that given two vertices u,vVu,v\in V, returns the shortest path distance between uu and vv, how many queries are needed to reconstruct EE? Firstly, we show that randomised algorithms need to use at least 1200ΔnlogΔn\frac1{200} \Delta n\log_\Delta n queries in expectation in order to reconstruct nn-vertex trees of maximum degree Δ\Delta. The best previous lower bound (for graphs of bounded maximum degree) was an information-theoretic lower bound of Ω(nlogn/loglogn)\Omega(n\log n/\log \log n). Our randomised lower bound is also the first to break through the information-theoretic barrier for related query models including distance queries for phylogenetic trees, membership queries for learning partitions and path queries in directed trees. Secondly, we provide a simple deterministic algorithm to reconstruct trees using ΔnlogΔn+(Δ+2)n\Delta n\log_\Delta n+(\Delta+2)n distance queries. This proves that our lower bound is optimal up to a multiplicative constant. We extend our algorithm to reconstruct graphs without induced cycles of length at least kk using OΔ,k(nlogn)O_{\Delta,k}(n\log n) queries. Our lower bound is therefore tight for a wide range of tree-like graphs, such as chordal graphs, permutation graphs and AT-free graphs. The previously best randomised algorithm for chordal graphs used OΔ(nlog2n)O_{\Delta}(n\log^2 n) queries in expectation, so we improve by a (logn)(\log n)-factor for this graph class.

Keywords

Cite

@article{arxiv.2306.05979,
  title  = {Optimal distance query reconstruction for graphs without long induced cycles},
  author = {Paul Bastide and Carla Groenland},
  journal= {arXiv preprint arXiv:2306.05979},
  year   = {2024}
}
R2 v1 2026-06-28T11:01:09.517Z