Research Article

An Efficient Channel Access Scheme for Vehicular Ad Hoc Networks

Algorithm 1

Calculation of EDF.
Input: Vdc = Vehicle current distance, dp = Previous
Distance, Rr = RSU Range
Output: Calculation of EDF
initialization;
begin
while Vehicle not crossingRSU   do
read  current  distance  of  Vehicle
if then
;
else
go  back  to  the  beginning  of  then  section;
end
end