Abstract
Efficient searching of the k-nearest neighbors (k-NN) is a widely discussed problem. Most of the known 2D methods is based on division of a space to some quads or rectangular clusters. It is convenient for simple orthogonal querying of the space. However, a radius of neighbourhood is circular, thus the non complying quads have to be eliminated. This paper describes a novel approach of searching k-NN using hexagonal clustering of the 2D unordered point clouds. The hexagonal grid fully fills the 2D space as well. The shape of a hexagon is closer to the circular one and hexagonal coordinate systems are efficiently used to simply address the surrounding hexagons intersected by neighbourhood of a point. The paper contains performance tests of the proposed algorithm.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Tsaparas, P.: Nearest neighbor search in multidimensional spaces, Technical Report (1999)
Berg, M.D., Cheong, O., Kreveld, M.V., Overmars, M.: Computational Geometry: Algorithms and Applications, 3rd ed. Santa Clara, CA, USA: Springer TELOS (2008)
Kim, Y.J., Patel, J.: Performance comparison of the \(r^*\)-tree and the quadtree for knn and distance join queries. IEEE Trans. Knowl. Data Eng. 22(7), 1014–1027 (2010)
Yin, M., Li, S.: Fast bvh construction and refit for ray tracing of dynamic scenes. Multimed. Tools Appl. 72(2), 1823–1839 (2014)
Havran, V., Kopal, T., Bittner, J., Žára, J.: Fast robust bsp tree traversal algorithm for ray tracing. J. Graph. Tools 2(4), 15–23 (1998)
Sample, N., Haines, M., Arnold, M., Purcell, T., Purcell, T.: Optimizing search strategies in k-d trees (2001)
Kybic, J., Vnučko, I.: Approximate all nearest neighbor search for high dimensional entropy estimation for image registration. Signal Process. 92(5), 1302–1316 (2012)
Lawder, J.: The application of space-filling curves to the storage and retrieval of multi-dimensional data (2000)
Gajdos, P., Jezowicz, T., Uher, V., Dohnalek, P.: A parallel fruchtermanreingold algorithm optimized for fast visualization of large graphs and swarms of data. Swarm Evolutionary Comput. (2015)
Skopal, T., Krátký, M., Pokorný, J., Snášel, V.: A new range query algorithm for universal b-trees. Inf. Syst. 31(6), 489–511 (2006)
Connor, M., Kumar, P.: Fast construction of k-nearest neighbor graphs for point clouds. IEEE Trans. Vis. Comput. Graph. 16(4), 599–608 (2010)
Uher, V., Gajdos, P., Jezowicz, T.: Solving nearest neighbors problem on gpu to speed up the fruchterman-reingold graph layout algorithm. In: 2015 IEEE 2nd International Conference on Cybernetics (CYBCONF), pp. 305–310, June 2015
Patel, A.J.: Red blob games—hexagonal grids. http://www.redblobgames.com/grids/hexagons/. Accessed Sep 2015
Patel, A.J.: Amit’s thoughts on grids. http://www-cs-students.stanford.edu/amitp/game-programming/grids/. Accessed Sep 2015
Grünbaum, B., Shephard, G.: Tilings and Patterns. ser. Dover Books on Mathematics Series. Dover Publications, New York (2013)
Rahmati, Z., King, V., Whitesides, S.: Kinetic data structures for all nearest neighbors and closest pair in the plane. In: Proceedings of the Twenty-ninth Annual Symposium on Computational Geometry, ser. SoCG ’13, pp. 137–144. ACM, New York, NY, USA (2013)
Wang, D., Xu, L., Peng, J., Robila, S.: Subdividing hexagon-clustered wireless sensor networks for power-efficiency. In: Proceedings of the 2009 WRI International Conference on Communications and Mobile Computing, ser. CMC ’09, vol. 02, pp. 454–458. IEEE Computer Society, Washington, DC, USA (2009)
Salzmann, J., Behnke, R., Timmermann, D.: Hex-mascle x2013; hexagon based clustering with self healing abilities. In: Wireless Communications and Networking Conference (WCNC), 2011 IEEE, pp. 528–533, March 2011
Carr, D.B., Littlefield, R.J., Nichloson, W.L.: Scatterplot matrix techniques for large n. In: Proceedings of the Seventeenth Symposium on the Interface of Computer Sciences and Statistics on Computer Science and Statistics, pp. 297–306. Elsevier North-Holland Inc, New York, NY, USA (1986)
Chen, H.-L., Chang, Y.-I.: Neighbor-finding based on space-filling curves. Inf. Syst. 30(3), 205–226 (2005)
Acknowledgments
This work was supported by the IT4Innovations Centre of Excellence project (CZ.1.05/1.1.00/02.0070), funded by the European Regional Development Fund and the national budget of the Czech Republic via the Research and Development for Innovations Operational Programme and by Project SP2015/146 “Parallel processing of Big data 2” of the Student Grand System, VŠB—Technical University of Ostrava.
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Uher, V., Gajdoš, P., Ježowicz, T., Snášel, V. (2016). Application of Hexagonal Coordinate Systems for Searching the K-NN in 2D Space. In: Snášel, V., Abraham, A., Krömer, P., Pant, M., Muda, A. (eds) Innovations in Bio-Inspired Computing and Applications. Advances in Intelligent Systems and Computing, vol 424. Springer, Cham. https://doi.org/10.1007/978-3-319-28031-8_18
Download citation
DOI: https://doi.org/10.1007/978-3-319-28031-8_18
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-28030-1
Online ISBN: 978-3-319-28031-8
eBook Packages: EngineeringEngineering (R0)