Flexible Aggregate Nearest Neighbor Queries and its Keyword-Aware Variant on Road Networks

Zhongpu Chen, Bin Yao, Zhi-Jie Wang, Xiaofeng Gao, Shuo Shang, Shuai Ma, Minyi Guo

Research output: Contribution to journalArticlepeer-review

14 Scopus citations


Aggregate nearest neighbor (Ann) query in both the euclidean space and road networks has been extensively studied, and the flexible aggregate nearest neighbor (Fann) problem further generalizes Ann by introducing an extra flexibility parameter \phi φ that ranges in (0, 1] (0,1]. In this article, we focus on Fann on road networks, denoted as Fann-\mathcal {R} R, and its keyword-aware variant, denoted as KFann-\mathcal {R} R. To solve these problems, we propose a series of universal (i.e., suitable for both max and sum) algorithms, including a Dijkstra-based algorithm that enumerates P P instead of \phi |Q|φ|Q|-combinations of Q Q, a queue-based approach that processes data points from-near-to-far, and a framework that combines incremental euclidean restriction (IER) and k kNN. We also propose a specific exact solution to max-Fann-\mathcal {R} R and a constant-factor ratio approximate solution to sum-Fann-\mathcal {R} R. These specific algorithms are easy to implement and can achieve excellent performance in some scenarios. Besides, we further extend this problem to top-k k and multiple Fann-\mathcal {R} R (resp., KFann-\mathcal {R} R) queries. We conduct a comprehensive experimental evaluation for the proposed algorithms on real datasets to demonstrate their superior efficiency and high quality.
Original languageEnglish (US)
Pages (from-to)3701-3715
Number of pages15
Issue number12
StatePublished - Nov 5 2021


Dive into the research topics of 'Flexible Aggregate Nearest Neighbor Queries and its Keyword-Aware Variant on Road Networks'. Together they form a unique fingerprint.

Cite this