Skip to main content
Log in

An algorithm for geometric minimum spanning trees requiring nearly linear expected time

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

We describe an algorithm for finding a minimum spanning tree of the weighted complete graph induced by a set ofn points in Euclideand-space. The algorithm requires nearly linear expected time for points that are independently uniformly distributed in the unitd-cube. The first step of the algorithm is the spiral search procedure described by Bentleyet al. [BWY82] for finding a supergraph of the MST that hasO(n) edges. (The constant factor in the bound depends ond.) The next step is that of sorting the edges of the supergraph by weight using a radix distribution, or “bucket,” sort. These steps require linear expected time. Finally, Kruskal's algorithm is used with the sorted edges, requiringO(nα(cn, n)) time in the worst case, withc>6. Since the function α(cn, n) grows very slowly, this step requires linear time for all practical purposes. This result improves the previous bestO(n log log*n), and employs a much simpler algorithm. Also, this result demonstrates the robustness of bucket sorting, which requiresO(n) expected time in this case despite the probability dependency between the edge weights.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. J. L. Bentley, B. Weide, and A. C. Yao. Optimal expected-time algorithms for closest-point problems.ACM Transactions on Mathematical Software,6:563–579, 1982.

    Article  MathSciNet  Google Scholar 

  2. L. P. Devroye. Moment inequalities for random variables in computational geometry.Computing,30:111–119, 1983.

    Article  MATH  MathSciNet  Google Scholar 

  3. H. G. Eggleston.Convexity. Cambridge University Press, Cambridge, 1958.

    MATH  Google Scholar 

  4. M. Fredman and R. E. Tarjan. Fibonacci heaps and their uses in improved network optimization problems.Proc. 25th IEEE FOCS, pp. 338–346, 1984.

  5. H. N. Gabow,Z. Galil, and T. H. Spencer. Efficient implementation of graph algorithms using contraction.Proc. 25th IEEE FOCS, pp. 155–164, 1984.

  6. K. J. Supowit. The relative neighborhood graph, with an application to minimum spanning trees.Journal of the Association for Computing Machinery,30:428–447, 1983.

    MATH  MathSciNet  Google Scholar 

  7. R. E. Tarjan.Data Structures and Network Algorithms. SIAM, Philadelphia, PA, 1983.

    Google Scholar 

  8. A. C. Yao. On constructing minimum spanning trees ink-dimensional spaces and related problems.SIAM Journal on Computing,11:721–736, 1982.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by C. K. Wong.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Clarkson, K.L. An algorithm for geometric minimum spanning trees requiring nearly linear expected time. Algorithmica 4, 461–469 (1989). https://doi.org/10.1007/BF01553902

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01553902

Key words