Algorithm 1 Incremental LOF Update (Dataset S, Point ) |
ifthen
= Compute
;
Update(S, );
= Compute
;
for all
do
Compute
;
for all
do
if
then
;
;
end if
end for
end for
;
for all
do
Compute
;
for all
do
Get/Compute
using Equation (15);
end for
Update
using Equation (16);
;
end for
for all
do
Get
;
for all
do
Get
;
end for
Update
using Equation (17);
end for
else
Deletion(S, );
Insertion(S, );
end if
|