Finding the diameter of a tree with distance queries

📅 2025-09-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper studies the optimal query complexity for determining the diameter and fully reconstructing an unknown tree, accessible only via distance queries. It addresses three core problems: (1) establishing a lower bound on adaptive queries required to identify a diameter endpoint pair (up to constant additive error); (2) determining the asymptotically minimum number of queries needed for exact tree reconstruction; and (3) deriving the exact query complexity in the non-adaptive setting. Leveraging combinatorial query modeling and graph-theoretic analysis, the work provides the first tight characterization of the query complexity for diameter localization—distinguishing between adaptive and non-adaptive regimes. It establishes Θ(n) and Θ(n²) asymptotically optimal query bounds for adaptive and non-adaptive settings, respectively, and determines the precise non-adaptive query complexity. These results establish fundamental complexity benchmarks for learning implicit graphs via distance queries.

Technology Category

Application Category

📝 Abstract
We study the number of distance queries needed to identify certain properties of a hidden tree $T$ on $n$ vertices. A distance query consists of two vertices $x,y$, and the answer is the distance of $x$ and $y$ in $T$. We determine the number of queries an optimal adaptive algorithm needs to find two vertices of maximal distance up to an additive constant, and the number of queries needed to identify the hidden tree asymptotically. We also study the non-adaptive versions of these problems, determining the number of queries needed exactly.
Problem

Research questions and friction points this paper is trying to address.

Determining optimal distance queries for tree diameter computation
Identifying hidden tree structure through adaptive query strategies
Analyzing non-adaptive query requirements for tree property discovery
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uses distance queries to find tree diameter
Determines optimal adaptive algorithm query count
Studies non-adaptive query requirements exactly
🔎 Similar Papers
No similar papers found.
Dániel Gerbner
Dániel Gerbner
Rényi Institute
CombinatoricsSearch Theory
A
András Imolay
ELTE EÖTVÖS LORÁND UNIVERSITY
K
Kartal Nagy
ELTE EÖTVÖS LORÁND UNIVERSITY
Balázs Patkós
Balázs Patkós
Rényi Institute
extremal combinatoricsprobabilistic combinatorics
K
Kristóf Zólomy
ELTE EÖTVÖS LORÁND UNIVERSITY