Research Article

ODMBP: Behavior Forwarding for Multiple Property Destinations in Mobile Social Networks

Algorithm 1

ODMBP.
) ;
() foreach encountered do
() update UMBP for and ;
() if is a message sender then
() if 0 then // Stage 1: User Initialization
()   foreach do
()    if and then
()     send message to ;
()     ;
()       break;
()   else
()  delete message in i;
()else if > > then // Stage 2: Gradient Ascent
() send message to ;
() delete message in ;
()else if >   then // Stage 3: Group Spread
() send message to ;