Algorithms for constrained k-nearest neighbor queries over moving object trajectories

  • Authors:
  • Yunjun Gao;Baihua Zheng;Gencai Chen;Qing Li

  • Affiliations:
  • School of Information Systems, Singapore Management University, Singapore, Singapore 178902 and College of Computer Science, Zhejiang University, Hangzhou, People's Republic of China 310027;School of Information Systems, Singapore Management University, Singapore, Singapore 178902;College of Computer Science, Zhejiang University, Hangzhou, People's Republic of China 310027;Department of Computer Science, City University of Hong Kong, Kowloon, Hong Kong

  • Venue:
  • Geoinformatica
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

An important query for spatio-temporal databases is to find nearest trajectories of moving objects. Existing work on this topic focuses on the closest trajectories in the whole data space. In this paper, we introduce and solve constrained k-nearest neighbor (CkNN) queries and historical continuous CkNN (HCCkNN) queries on R-tree-like structures storing historical information about moving object trajectories. Given a trajectory set D, a query object (point or trajectory) q, a temporal extent T, and a constrained region CR, (i) a CkNN query over trajectories retrieves from D within T, the k (驴 1) trajectories that lie closest to q and intersect (or are enclosed by) CR; and (ii) an HCCkNN query on trajectories retrieves the constrained k nearest neighbors (CkNNs) of q at any time instance of T. We propose a suite of algorithms for processing CkNN queries and HCCkNN queries respectively, with different properties and advantages. In particular, we thoroughly investigate two types of CkNN queries, i.e., CkNNP and CkNNT, which are defined with respect to stationary query points and moving query trajectories, respectively; and two types of HCCkNN queries, namely, HCCkNNP and HCCkNNT, which are continuous counterparts of CkNNP and CkNNT, respectively. Our methods utilize an existing data-partitioning index for trajectory data (i.e., TB-tree) to achieve low I/O and CPU cost. Extensive experiments with both real and synthetic datasets demonstrate the performance of the proposed algorithms in terms of efficiency and scalability.