Research Article

Location Privacy Leakage through Sensory Data

Algorithm 2

Finding road segment (FRS) for stage .
Require: End point ,
Ensure: Similarity distances for all possible road segments
and corresponding end points
(1)for all    do
(2)if   of is smaller than   then
(3)
(4)else
(5)
(6)end if
(7)return and
(8)end for