Wireless Communications and Mobile Computing / 2019 / Article / Alg 4

Research Article

A Multiconstrained QoS-Compliant Routing Scheme for Highway-Based Vehicular Networks

Algorithm 4

MPR Selection Algorithm.
1: ;
2: , : Cluster heads;
3: : ;
4: : ;
5: Foreach vehicle   Do
6: Upon receiving at   message from   Do
7: If () Then
8: send to ;
9: end if
10: endDo
11: end For
12: Upon receiving   from   Do
13: select with has best QoS value
14: send to ;
15: endDo
16: Upon receiving at   from   Do
17: .role MPR;
18: endDo