Research Article

A Novel Routing Protocol for Realistic Traffic Network Scenarios in VANET

Algorithm 2

  Compute initial speed limits, computational parameters and velocity , POS = position of each node
1.    P 0 //for iteration
2.    While P ≠ END
3.      Do //for each particle
4.        Compute £ and
5.        If (
6.          Evaluate
7.          Compute new velocity £
8.          Update POS
9.          P = P +1
10.        End if
11.      End do
12.    End