Research Article
Efficient and Reliable Cluster-Based Data Transmission for Vehicular Ad Hoc Networks
Algorithm 1
: LLT-based neighbor sampling.
Input: ; | Output: ; | (1) | while do | (2) | for each vehicle do | (3) | if receives a message from then | (4) | calculates ; | (5) | end if | (6) | if then | (7) | if then | (8) | updates | (9) | else | (10) | adds a new to | (11) | end if | (12) | end if | (13) | end for | (14) | end while |
|