This is the C++ source code of the main technique, called Grid, described in detail in the following papers:

Main memory evaluation of monitoring queries over moving objects.
Dmitri V. Kalashnikov, S. Prabhakar, and S. Hambrusch.
In Distributed and Parallel Databases, An International Journal (DAPD), 15(2):117-135, March 2004

Efficient evaluation of continuous range queries on moving objects.
Dmitri V. Kalashnikov, Sunil Prabhakar, Susanne Hambrusch, and Walid Aref.
In Proc. of Int'l Conf. on Database and Expert Systems Applications (DEXA), Sep 2-6, 2002.

