An Inverse-Ackermann Type Lower Bound For Online Minimum Spanning Tree Verification*

  • Authors:
  • Seth Pettie†

  • Affiliations:
  • Max Planck Institut für Informatik, Stuhlsatzenhausweg 85, 66123, Saarbrücken, Germany

  • Venue:
  • Combinatorica
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given a spanning tree T of some graph G, the problem of minimum spanning tree verification is to decide whether T = MST(G). A celebrated result of Komlós shows that this problem can be solved with a linear number of comparisons. Somewhat unexpectedly, MST verification turns out to be useful in actually computing minimum spanning trees from scratch. It is this application that has led some to wonder whether a more flexible version of MST verification could be used to derive a faster deterministic minimum spanning tree algorithm. In this paper we consider the online MST verification problem in which we are given a sequence of queries of the form “Is e in the MST of T ∪{e}?”, where the tree T is fixed. We prove that there are no linear-time solutions to the online MST verification problem, and in particular, that answering m queries requires Ω(mα(m,n)) time, where α(m,n) is the inverse-Ackermann function and n is the size of the tree. On the other hand, we show that if the weights of T are permuted randomly there is a simple data structure that preprocesses the tree in expected linear time and answers queries in constant time.