Different from a snapshot NN query, continuous NN queries are issued once and run continuously to generate results in real-time along with the updates of the underlying datasets. Therefore, it is crucial to develop in-memory techniques to continuously process NN queries due to frequent location updates of data points and query points. In many applications [XMA05,YPK05,MHP05], it is also crucial to support the processing of a number of continuous NN queries simultaneously; consequently, scalability is a key issue.
To address the scalability, we focus on two issues: (1) minimization of computation costs; and (2) minimization of the memory requirements. We study continuous NN queries against the data points that move around in an arbitrary way. Similar to the previous work [XMA05,YPK05,MHP05], we assume that the dataset is indexed by an in-memory grid index. Based on CircularTrip presented in Chapter , we present an efficient algorithm to continuously monitor NN queries.Compared with the most advanced algorithm CPM [MHP05], our CircularTrip-based continuous NN algorithm has the following advantages.
Our experimental study demonstrates that CircularTrip-based continuous NN algorithm is to times faster than CPM, while its memory usage is only to of CPM.