Upon receiving the object updates, YPK-CNN uses the previous result of query to update the new result.
Let
be the maximum distance of the object
from
that is one of the previous nearest neighbors
and has now moved farthest from
, YPK-CNN updates the results as follows. Algorithm visits all the cells
within square SR with side length
.
Fig.
shows that object
issues an update to location
so
is set to
dist(
,q). YPK-CNN visits all objects (
to
) in the shaded cells of the figure
and identifies
as the new NN. When a query point changes its location, it is deleted and then
handled as new query (i.e., its answer is computed from scratch).
Muhammad Aamir Cheema 2007-10-11