Tree Path Minimum Query Oracle via Boruvka Trees

05/05/2021
by   Tianqi Yang, et al.
0

Tree path minimum query problem is a fundamental problem while processing trees, and is used widely in minimum spanning tree verification and randomized minimum spanning tree algorithms. In this paper, we study the possibility of building an oracle in advance, which is able to answer the queries efficiently. We present an algorithm based on Boruvka trees. Our algorithm is the first to achieve a near-optimal bound on query time, while matching the currently optimal trade-off between construction time and the number of comparisons required at query. Particularly, in order to answer each query within 2k comparisons, our algorithm requires O(n logλ_k(n)) time and space to construct the oracle, and the oracle can answer queries in O(k + logλ_k(n)) time. Here λ_k(n) is the inverse of the Ackermann function along the k-th column. This algorithm not only is simpler than the previous ones, but also gives a completely different method of solving this problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/30/2022

Near Optimal Algorithm for Fault Tolerant Distance Oracle and Single Source Replacement Path problem

In a graph G with a source s, we design a distance oracle that can answe...
research
03/04/2021

An Almost Optimal Edit Distance Oracle

We consider the problem of preprocessing two strings S and T, of lengths...
research
06/30/2022

Learning-Augmented Query Policies for Minimum Spanning Tree with Uncertainty

We study how to utilize (possibly erroneous) predictions in a model for ...
research
02/19/2023

Classification via two-way comparisons

Given a weighted, ordered query set Q and a partition of Q into classes,...
research
06/27/2020

Reconstructing Biological and Digital Phylogenetic Trees in Parallel

In this paper, we study the parallel query complexity of reconstructing ...
research
10/02/2019

Path and Ancestor Queries on Trees with Multidimensional Weight Vectors

We consider an ordinal tree T on n nodes, with each node assigned a d-...
research
04/06/2017

Landmark Guided Probabilistic Roadmap Queries

A landmark based heuristic is investigated for reducing query phase run-...

Please sign up or login with your details

Forgot password? Click here to reset