Research Article
Efficient and Reliable Cluster-Based Data Transmission for Vehicular Ad Hoc Networks
Input: Set of | Output: Set of | (1) | for each vehicle where do | (2) | if receives or from then | (3) | | (4) | unicasts to | (5) | starts | (6) | while do | (7) | if receives then | (8) | | (9) | end if | (10) | end while | (11) | if does not receive then | (12) | | (13) | end if | (14) | end if | (15) | end for | (16) | for each vehicle where do | (17) | if receives from then | (18) | if then | (19) | adds into | (20) | unicasts to | (21) | end if | (22) | end if | (23) | end for |
|