Research Article

Efficient and Reliable Dissemination in Mobile Ad Hoc Networks by Location Extrapolation

Algorithm 1

The determination of and at .
determine()
(1)  , /* initialization*/
(2) 
(3)  Let M =
(4)  
(5)   
(6)   if ( , then
(7)    if ( , then
(8)      {M}
(9)    and M
(10)  else if ( , then
(11)     
(12)  enddo /* end of the inner loop*/
(13)  if ( ), then
(14)  Loc = predict Location(M)
(15)   {M,Loc }
(16) enddo /* end of the external loop*/