Research Article

A Genetic Predictive Model Approach for Smart Traffic Prediction and Congestion Avoidance for Urban Transportation

Algorithm 2

Prediction and avoidance.
(1) Detect trajectory
 Step1: Start,
 Step2:
 Step3: For I in DataFrameindex do
 Step 4: if then
  
 Step5: while do
  
  
 Step6: if then
  
  
 Step 7:while do
  
  
  The major task of (1) is to identify the vehicle from group of other vehicles using working units, namely, trajectories.
(2) Traffic prediction and control
  Initialize , for all ,
  Step 1: For each traffic prediction (time t) do
  Step 2: Calculate such that
  Step 3: Generate results for predictors for all
  Step 4: Final Prediction selection
  Step 5: Correct Traffic pattern is estimated
  Step 6: Update the mean sample for all
  Step 7:
  Step 8: if then
  Step 9: is further categorized
  Step 10: end if
  Step 11: end for