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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
Solving Euclidean Minimum Spanning Tree, source code from GitHub, https://github.com/hqythu/EMST.
References
Prim, R.C.: Shortest connection networks and some generalizations. Bell Syst. Tech. J. 36(6), 1389–1401 (1957)
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)
Boruvka, O.: O jistém problému minimálním (1926)
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)
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)
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)
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)
Ramaswamy, S.I., Patki, R.: Distributed minimum spanning trees (2015)
Lingas, A.: A linear-time construction of the relative neighborhood graph from the delaunay triangulation. Comput. Geom. 4(4), 199–208 (1994)
Shamos, M.I., Hoey, D.: Closest-point problems. In: 16th Annual Symposium on Foundations of Computer Science, pp. 151–162. IEEE (1975)
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)
Bentley, J.L.: Multidimensional binary search trees used for associative searching. Commun. ACM 18(9), 509–517 (1975)
Rivest, R.L.: On the optimality of elia’s algorithm for performing best-match searches. In: IFIP Congress, pp. 678–681 (1974)
Cleary, J.G.: Analysis of an algorithm for finding nearest neighbors in euclidean space. ACM Trans. Math. Softw. (TOMS) 5(2), 183–192 (1979)
Zhou, K., Hou, Q., Wang, R., Guo, B.: Real-time kd-tree construction on graphics hardware. ACM Trans. Graph. (TOG) 27(5), 126 (2008)
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
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)
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)
Nvidia, C.: Programming guide (2010)
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)
Rajasekaran, S.: On the euclidean minimum spanning tree problem. Comput. Lett. 1(1), 11–14 (2004)
Galler, B.A., Fisher, M.J.: An improved equivalence algorithm. Commun. ACM 7(5), 301–303 (1964)
Reinelt, G.: Tsplib–a traveling salesman problem library. ORSA J. Comput. 3(4), 376–384 (1991)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
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)