Research Article

On Preventing Location Attacks for Urban Vehicular Networks

Algorithm 1

Our proposed tensor-based prediction model.
Input: Data D
for , do
-
end for
draw from
repeat
  draw form
   frequency from c to location i
   frequency from c to location j
     if   then
   swap with
end if
(14)  
(15)  
(16)  for to   do
(17)   
(18)   
(19)   
(20)   
(21)   
(22)   
(23)  end for
(24) until convergence Output: