Research Article

Phoenix: A Collaborative Location-Based Notification System for Mobile Networks

Algorithm 1

Message propagation procedure.
Require: receive the carried message identifiers from
 (1)for all     do
 (2)if   leave the target area of   then
 (3)  
 (4)else if   carries   then
 (5)  
 (6)else
 (7)  if     then
 (8)   Generating and transferring a new copy of
       to and making a carrier
 (9)   
 (10)   else
 (11)    
 (12)   end if
 (13)  end if
 (14) end for