The continuous monitoring of donut-region
CNN queries is exactly same as the continuous monitoring of
NN queries
with the only difference that the distance of any object
that lies outside the range is considered infinity and
the starting radius of CircularTrip is set as
. Consider
the example of Fig.
, where a 1-CNN query
is issued with distance bounded by
and
.
The algorithm starts by calling the CircularTrip with radius set as
and then increases it by
everytime unless
NNs are found. Algorithm finds
which is reported as answer. Algorithm visits only the cells that are shown shaded
in Fig.
. Note that, this is the minimal set of cells that is required to be visited in order
to guarantee the correctness.
The continuous monitoring of
CNN is similar to the monitoring of simple
NN queries. Note that simple
NN queries
can be considered a special case of donut-region
CNN queries with
and
.
Muhammad Aamir Cheema 2007-10-11