Flexible Aggregate Nearest Neighbor Queries in Road Networks

Bin Yao, Zhongpu Chen, Xiaofeng Gao, Shuo Shang, Shuai Ma, Minyi Guo

Research output: Chapter in Book/Report/Conference proceedingConference contribution

38 Scopus citations


Aggregate nearest neighbor (ANN) query has been studied in both the Euclidean space and road networks. The flexible aggregate nearest neighbor (FANN) problem further generalizes ANN by introducing an extra flexibility. Given a set of data points P, a set of query points Q, and a user-defined flexibility parameter φ that ranges in (0, 1], an FA N N query returns the best candidate from P, which minimizes the aggregate (usually max or sum) distance to any φ |Q| objects in Q. In this paper, we focus on the problem in road networks (denoted as FANNR), and present a series of universal (i.e., suitable for both max and sum) algorithms to answer FANNR queries in road networks, including a Dijkstra-based algorithm enumerating P, a queue-based approach that processes data points from-near-To-far, and a framework that combines Incremental Euclidean Restriction (IER) and kNN. We also propose a specific exact solution to max-FANNR and a specific approximate solution to sum-FANNR which can return a near-optimal result with a guaranteed constant-factor approximation. These specific algorithms are easy to implement and can achieve excellent performance in some scenarios. Besides, we further extend the FANNR to k-FANNR, and successfully adapt most of the proposed algorithms to answer k-FANNR queries. We conduct a comprehensive experimental evaluation for the proposed algorithms on real road networks to demonstrate their superior efficiency and high quality.
Original languageEnglish (US)
Title of host publication2018 IEEE 34th International Conference on Data Engineering (ICDE)
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Number of pages12
ISBN (Print)9781538655207
StatePublished - Oct 25 2018


Dive into the research topics of 'Flexible Aggregate Nearest Neighbor Queries in Road Networks'. Together they form a unique fingerprint.

Cite this