Research Article

Routing Protocol in VANETs Equipped with Directional Antennas: Topology-Based Neighbor Discovery and Routing Analysis

Algorithm 2

Path selection.
Input:, ,
Output:  
for  every path   do
Identify Sector_S in   as
Identify
if    and    then
end if
end for
if    is null  then
The source node holds its data packets and continue the neighbor
discovery process until it finds qualified paths.
end if
Sort    in descending order according to