Research Article

Privacy Preservation for Friend-Recommendation Applications

Algorithm 2

Location matching.
is the number of queue which saves the vertexes.
is the number of vertexes in the subdistrict.
Input:
: ’s information;
: ’s information;
Output: true or false
;
: fordo
fordo
fordo
ifthen
;
;
end
end
end
end
ifthen
return ;
end
else
return
end