Reconstructing a Bounded-Degree Directed Tree Using Path Queries
Abstract
We present a randomized algorithm for reconstructing directed rooted trees of $n$ nodes and node degree at most $d$, by asking at most $O(dn\log^2 n)$ path queries. Each path query takes as input an origin node and a target node, and answers whether there is a directed path from the origin to the target. Regarding lower bounds, we show that any randomized algorithm requires at least $\Omega(n\log n)$ queries, while any deterministic algorithm requires at least $\Omega(dn)$ queries. Additionally, we present a $O(dn\log^3 n)$ randomized algorithm for noisy queries, and a $O(dn\log^2 n)$ randomized algorithm for additive queries on weighted trees.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2016
- DOI:
- 10.48550/arXiv.1606.05183
- arXiv:
- arXiv:1606.05183
- Bibcode:
- 2016arXiv160605183W
- Keywords:
-
- Computer Science - Data Structures and Algorithms