Research Article

An Efficient Traffic Congestion Monitoring System on Internet of Vehicles

Algorithm 2

Pseudocode of initiation algorithm of fuzzy-based traffic congestion evaluation.
Initiation Algorithm of Fuzzy-based Traffic Congestion Evaluation
(1) 
(2) 
(3) For each rok do
(4)  If rok.congestion_coefficient_value > 1 then
(5)   
(6)  End if
(7)  Else
(8)   
(9)   
(10)   If rok.congestion_coefficient_value then
(11)    
(12)   End if
(13)   Else exit
(14)  End else
(15) End for