Research Article

Context-Aware Multicast Protocol for Emergency Message Dissemination in Vehicular Networks

Algorithm 1

Generating the network graph.
input: —the set of nodes (vehicles)
    ; ; —the distance between and
    —the maximum transmission range
output: —the set of edges
(1)   
(2)   for each pair of nodes ( ; ) in do
(3)   if then
(4)   if then