ISPRS International Journal of Geo-Information (Feb 2022)

Cluster Nested Loop <i>k</i>-Farthest Neighbor Join Algorithm for Spatial Networks

  • Hyung-Ju Cho

DOI
https://doi.org/10.3390/ijgi11020123
Journal volume & issue
Vol. 11, no. 2
p. 123

Abstract

Read online

This paper considers k-farthest neighbor (kFN) join queries in spatial networks where the distance between two points is the length of the shortest path connecting them. Given a positive integer k, a set of query points Q, and a set of data points P, the kFN join query retrieves the k data points farthest from each query point in Q. There are many real-life applications using kFN join queries, including artificial intelligence, computational geometry, information retrieval, and pattern recognition. However, the solutions based on the Euclidean distance or nearest neighbor search are not suitable for our purpose due to the difference in the problem definition. Therefore, this paper proposes a cluster nested loop join (CNLJ) algorithm, which clusters query points (data points) into query clusters (data clusters) and reduces the number of kFN queries required to perform the kFN join. An empirical study was performed using real-life roadmaps to confirm the superiority and scalability of the CNLJ algorithm compared to the conventional solutions in various conditions.

Keywords