Skip to main content

Spiral Search Method to GPU Parallel Euclidean Minimum Spanning Tree Problem

  • Conference paper
  • First Online:
Learning and Intelligent Optimization (LION 12 2018)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11353))

Included in the following conference series:

  • 1548 Accesses

Abstract

We present both sequential and data parallel approaches to build hierarchical minimum spanning forest (MSF) or trees (MST) in Euclidean space (EMSF/EMST) for applications whose input N points are uniformly or boundedly distributed in the Euclidean space. The sequential approach takes O(N) time complexity through combining Bor\(\mathring{\mathrm {u}}\)vka’s algorithm with an improved component-based neighborhood search algorithm, namely sliced spiral search, which is a newly proposed improvement of Bentley’s spiral search for finding a component graph’s closest outgoing point on 2D plane. We also propose a k-d search technique to extend this kind of search into 3D space. The data parallel approach includes a newly proposed two direction breadth-first search (BFS) implementation on graphics processing unit (GPU), which is aimed for selecting a spanning tree’s shortest outgoing edge. The GPU parallel approaches assign N threads with one thread associated to one input point, one thread occupies O(1) local memory and the whole algorithm occupies O(N) global memory. Experiments are conducted on point set of both uniformly distributed data sets and TSPLIB database. We evaluate computation time of the proposed approaches on more than 40 benchmarks with size N growing up to \(10^5\) points.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://stanford.edu/~rezab/classes/cme323/S15/projects/parallel_union_find_presentation.pdf.

  2. 2.

    Solving Euclidean Minimum Spanning Tree, source code from GitHub, https://github.com/hqythu/EMST.

References

  1. Prim, R.C.: Shortest connection networks and some generalizations. Bell Syst. Tech. J. 36(6), 1389–1401 (1957)

    Article  Google Scholar 

  2. Kruskal, J.B.: On the shortest spanning subtree of a graph and the traveling salesman problem. Proc. Am. Math. Soc. 7(1), 48–50 (1956)

    Article  MathSciNet  Google Scholar 

  3. Boruvka, O.: O jistém problému minimálním (1926)

    Google Scholar 

  4. Bader, D.A., Cong, G.: Fast shared-memory algorithms for computing the minimum spanning forest of sparse graphs. In: Proceedings of 18th International Parallel and Distributed Processing Symposium, p. 39. IEEE (2004)

    Google Scholar 

  5. Harish, P., Vineet, V., Narayanan, P.: Large graph algorithms for massively multithreaded architectures. Technical report, International Institute of Information Technology Hyderabad, IIIT/TR/2009/74 (2009)

    Google Scholar 

  6. Vineet, V., Harish, P., Patidar, S., Narayanan, P.: Fast minimum spanning tree for large graphs on the GPU. In: Proceedings of the Conference on High Performance Graphics, pp. 167–171. ACM, New York (2009)

    Google Scholar 

  7. Wang, W., Huang, Y., Guo, S.: Design and implementation of GPU-based prim’s algorithm. Int. J. Mod. Educ. Comput. Sci. 3(4), 55 (2011)

    Article  Google Scholar 

  8. Ramaswamy, S.I., Patki, R.: Distributed minimum spanning trees (2015)

    Google Scholar 

  9. Lingas, A.: A linear-time construction of the relative neighborhood graph from the delaunay triangulation. Comput. Geom. 4(4), 199–208 (1994)

    Article  MathSciNet  Google Scholar 

  10. Shamos, M.I., Hoey, D.: Closest-point problems. In: 16th Annual Symposium on Foundations of Computer Science, pp. 151–162. IEEE (1975)

    Google Scholar 

  11. March, W.B., Ram, P., Gray, A.G.: Fast euclidean minimum spanning tree: algorithm, analysis, and applications. In: Proceedings of the 16th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 603–612(2010)

    Google Scholar 

  12. Bentley, J.L.: Multidimensional binary search trees used for associative searching. Commun. ACM 18(9), 509–517 (1975)

    Article  Google Scholar 

  13. Rivest, R.L.: On the optimality of elia’s algorithm for performing best-match searches. In: IFIP Congress, pp. 678–681 (1974)

    Google Scholar 

  14. Cleary, J.G.: Analysis of an algorithm for finding nearest neighbors in euclidean space. ACM Trans. Math. Softw. (TOMS) 5(2), 183–192 (1979)

    Article  MathSciNet  Google Scholar 

  15. Zhou, K., Hou, Q., Wang, R., Guo, B.: Real-time kd-tree construction on graphics hardware. ACM Trans. Graph. (TOG) 27(5), 126 (2008)

    Article  Google Scholar 

  16. Qiu, D., May, S., Nüchter, A.: GPU-accelerated nearest neighbor search for 3D registration. In: Fritz, M., Schiele, B., Piater, J.H. (eds.) ICVS 2009. LNCS, vol. 5815, pp. 194–203. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-04667-4_20

    Chapter  Google Scholar 

  17. Hu, L., Nooshabadi, S.: Massive parallelization of approximate nearest neighbor search on kd-tree for high-dimensional image descriptor matching. J. Vis. Commun. Image Represent. 44, 106–115 (2017)

    Article  Google Scholar 

  18. Bentley, J.L., Weide, B.W., Yao, A.C.: Optimal expected-time algorithms for closest point problems. ACM Trans. Math. Softw. (TOMS) 6(4), 563–580 (1980)

    Article  MathSciNet  Google Scholar 

  19. Nvidia, C.: Programming guide (2010)

    Google Scholar 

  20. Robins, G., Salowe, J.S.: On the maximum degree of minimum spanning trees. In: Proceedings of the Tenth Annual Symposium on Computational Geometry, pp. 250–258. ACM, New York (1994)

    Google Scholar 

  21. Rajasekaran, S.: On the euclidean minimum spanning tree problem. Comput. Lett. 1(1), 11–14 (2004)

    Article  Google Scholar 

  22. Galler, B.A., Fisher, M.J.: An improved equivalence algorithm. Commun. ACM 7(5), 301–303 (1964)

    Article  Google Scholar 

  23. Reinelt, G.: Tsplib–a traveling salesman problem library. ORSA J. Comput. 3(4), 376–384 (1991)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wen-Bao Qiao .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Qiao, WB., Créput, JC. (2019). Spiral Search Method to GPU Parallel Euclidean Minimum Spanning Tree Problem. In: Battiti, R., Brunato, M., Kotsireas, I., Pardalos, P. (eds) Learning and Intelligent Optimization. LION 12 2018. Lecture Notes in Computer Science(), vol 11353. Springer, Cham. https://doi.org/10.1007/978-3-030-05348-2_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-05348-2_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-05347-5

  • Online ISBN: 978-3-030-05348-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics