Research Article

An Efficient Channel Access Scheme for Vehicular Ad Hoc Networks

Algorithm 2

Calculation of new contention window.
Input: VEDF = Vehicle EDF
VLEDF = Vehicle Least EDF
VMEDF = Vehicle Medium EDF
PCW = Previous CW.
Output: Calculation of New Contention Window
initialization;
begin
if then
end
if then
else
end
end