Research Article
EpSoc: Social-Based Epidemic-Based Routing Protocol in Opportunistic Mobile Social Network
Algorithm 1
Pseudocode of the forwarding strategy in EpSoc.
(1) | For all | (2) | if encounter | (3) | Calculate , | (4) | | (5) | For all | (6) | if | (7) | if | (8) | | (9) | forward message to | (10) | | (11) | End if | (12) | End if | (13) | End for | (14) | End if | (15) | End for |
|